#641
|
||||
|
||||
![]() Quote:
never mind i figured it out, i was looking for the literal word button which was nowhere to be found, to me it is just a a press option menu. i already had that option in the right click submenu to "more options" right-click context which i had to make visible when selecting the link(s), the problem was that i had not renamed the "action" to match the "name" from the script. sometimes i think too literal. thanks Last edited by RPNet-user; 14.03.2019 at 16:29. |
#642
|
||||
|
||||
![]()
Menu Editor -> +(Add) -> Eventscripter Trigger
__________________
JD-Dev & Server-Admin |
#643
|
||||
|
||||
![]()
@mgpai
would you please provide variables for the following: Name Size Hoster Added Date Finished Date Save to |
#644
|
|||
|
|||
![]() Quote:
So, I'd like to create a script that periodically checks if the option is ticked, and ticks it if it's not. ![]() |
#645
|
||||
|
||||
![]()
@bobolecoco: what os are you using? this should not untick itself, ever.
__________________
JD-Dev & Server-Admin |
#646
|
|||
|
|||
![]()
All variables are listed in the script editor:
Code:
Script Editor > Menu > Show/Hide Help |
#647
|
||||
|
||||
![]()
I see them, thanks
|
#648
|
||||
|
||||
![]()
these are samples for the two "long" variables i added to output to a text, these numbers do no make sense:
getFinishedDate ->1552594451765 getDownloadTime ->7422 adding "string" variables is not a problem only with the "long" variables that require numerical values. Last edited by RPNet-user; 14.03.2019 at 23:19. |
#649
|
|||
|
|||
![]()
I'm on Raspbian (Debian for Raspberry Pi).
|
#650
|
||||
|
||||
![]()
@PRNet-User:
date in timestamp 1552594451765 -> 1552594451(without ms) -> 14.03.2019 - 21:14:11 download time in ms -> 7,4 secs
__________________
JD-Dev & Server-Admin |
#651
|
||||
|
||||
![]()
does this happen randomly or can you reproduce the issue by yourself?
__________________
JD-Dev & Server-Admin |
#652
|
|||
|
|||
![]()
It happens randomly (and I have the same issue on two different devices).
|
#653
|
||||
|
||||
![]()
@bobolecoco:
different os or same os/device-types?
__________________
JD-Dev & Server-Admin |
#654
|
||||
|
||||
![]() Quote:
I will also need to do this for the long var "myFilePath.getSize" |
#655
|
||||
|
||||
![]()
You can use the Javascript Date Object, for example
Quote:
__________________
JD-Dev & Server-Admin |
#656
|
||||
|
||||
![]() Quote:
I will contact mgpai about the converter. |
#657
|
|||
|
|||
![]()
A Raspberry Pi 2 with Raspbian GNU/Linux 7 (wheezy) ;
A Raspberry Pi 3 with Raspbian GNU/Linux 8 (jessie). |
#658
|
||||
|
||||
![]()
@bobolecoco: can you please stop JDownloader and delete the logs folder. Then wait for error to happen again and then zip the logs folder and send to support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#659
|
|||
|
|||
![]() Quote:
But anyway, to come back to my question, is there a way to change a JDownloader's setting using event scripter ? |
#660
|
||||
|
||||
![]()
@bobolecoco: mgpai should be able to help you with that. but we should find the reason for this behaviour and not try to workaround it
![]() @mgpai: api namespace is 'extensions', method is 'setEnabled', parameters are classname and boolean. you can use list method to list all installed extensions.
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|