JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 30.03.2021, 15:02
elvis_ef's Avatar
elvis_ef elvis_ef is offline
JD Addict
 
Join Date: Oct 2019
Location: Polska
Posts: 155
Question 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 ?
Reply With Quote
  #2  
Old 30.03.2021, 15:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

Looks like you have added 'Event Scripter' button instead of 'EventTrigger' button.
Reply With Quote
  #3  
Old 30.03.2021, 15:36
elvis_ef's Avatar
elvis_ef elvis_ef is offline
JD Addict
 
Join Date: Oct 2019
Location: Polska
Posts: 155
Default

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...
Reply With Quote
  #4  
Old 30.03.2021, 15:53
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,528
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 05:16.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.