#1
|
||||
|
||||
How to distinguish/use multiple scripts
Hi!
I've just written a second script to be shown in a context menu. When I wrote the first one, I felt uneasy because I saw no way to specify the script I wanted to run when adding the context menu button: Only "EventScripter Trigger" showed up. But since I had only one script there, I just went ahead with that and it worked. Now that I added a second script, I did the same. Maybe the button in the script dialog maps the current script to the "EventScripter Trigger" selection? Alas, no. The second button also launches the first script. How do I do this properly? |
#2
|
||||
|
||||
Also: is it even possible to edit a menu item like this?
It feels like a necessary step to pick a specific script is missing both in creating and editing a context menu item for a script |
#3
|
|||
|
|||
|
#4
|
||||
|
||||
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
@mgpai: Thanks for the link!
__________________
JD-Dev & Server-Admin |
#6
|
||||
|
||||
Quote:
My silly ass was assigning to the name variable, in the hopes that I could later refer to it ^^ Oh! I had no idea there was an issue/request ticket for that, five years old, no less! Thanks to both of you! Checking if name was set to the name I gave the button works great, and maybe we'll see a GUI option that handles the assignment in the next 5 or so years ^^ |
#7
|
||||
|
||||
It's always a question of available time and work required to get this feature working and number of ppl actual using such a feature
__________________
JD-Dev & Server-Admin |
#8
|
||||
|
||||
Quote:
I greatly appreciate the whole JDownloader project and all the work everybody on it is doing! |
#9
|
||||
|
||||
No no, don't worry, no harms done
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|