#1
|
||||
|
||||
What is wrong here ?
Hey.
I was trying this tutorial: https://support.jdownloader.org/Know...to-jdownloader But nothing happens after adding my "new" test button: **External links are only visible to Support Staff** **External links are only visible to Support Staff** What is wrong here in this code ? Or... is there something wrong here ? |
#2
|
|||
|
|||
Looks like you have added 'Event Scripter' button instead of 'EventTrigger' button.
|
#3
|
||||
|
||||
In the tutorial, as far as I can see, it is said to add a EventScript Trigger and name it "MyButton" - the name will be later used in the script.
So I did. And the "toolbar button pressed" event was chosen. I understand logically how this should work. But I dont understand why it does not work here : ) Maybe someone brighten me the truth... |
#4
|
|||
|
|||
Since I cannot understand the language used in screenshot, I can only go by the appearance of the the menu editor.
Check the 3rd screenshot in the knowledge base. It has got 3 additional check boxes, which are not present in your screenshot. They are available only for the 'EventTrigger' button and not 'Event Scripter' button. For that reason I am assuming the button shown in the screenshot setting is "Event Scripter", which is used to enable/disable the eventscripter extension and not the "EventTrigger" button, which is used to trigger a script. If you export your toolbar settings and copy and paste the contents here, I can check if the settings are correct. |
Thread Tools | |
Display Modes | |
|
|