Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Let actions load external script as data #402

Closed
1 task done
zubairy opened this issue Oct 14, 2024 · 3 comments
Closed
1 task done

[Feature] Let actions load external script as data #402

zubairy opened this issue Oct 14, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@zubairy
Copy link

zubairy commented Oct 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • OS: Windows 11 23H2
  • Zotero Version: 7.0.7 (64-bit)
  • Plugin Version: 2.0.3

Describe the feature request

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

In #176, we can export Actions code to synchronize configurations between different computers. However, this still requires manual operation. Is it possible to achieve automatic synchronization, for example: 1) I store the written JavaScript code as an item attachment in Zotero; 2) Create an Action and read the content of this attachment as data to execute.

Why do you need this feature?

A clear and concise description of why you need this feature.

In this way, I only need to update the JS code stored in Zotero, and use Zotero's synchronization function to seamlessly execute Actions in different terminals (Of course, the differences in compatibility with multiple terminal configurations must be taken into account in the JS code script). This is especially useful when I just start to create and debug a code, because at this time I often need to frequently modify and test code.

Describe the solution you'd like

The solution you'd like

A clear and concise description of what you want to happen.

As stated above, let Actions read external synced script as data, similar to the operation Trigger Other Actions, but Exec External Script.

Alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

In short, what I want is to achieve automatic synchronization of multi-terminal configurations of the Actions. Haven't alternative solutions yet.

Anything else?

No response

@zubairy zubairy added the enhancement New feature or request label Oct 14, 2024
@windingwind
Copy link
Owner

You can read and execute external JS files in action.

@windingwind windingwind closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2024
@zubairy
Copy link
Author

zubairy commented Oct 14, 2024

It would be appreciated if you could leave a snippet, or some instructions, showing how to do it.

@zubairy
Copy link
Author

zubairy commented Oct 14, 2024

Searched and know how, cheers.

You can read and execute external JS files in action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants