JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 14.03.2020, 14:26
zreenmkr zreenmkr is offline
JD Addict
 
Join Date: Feb 2020
Posts: 169
Default

Quote:
should indicate the path of the executable, but what does '\\_bin' mean?
\ is to escape symbol
\\ is literally mean \ or use /
For example jd will see this path 'C:\Program Files\JDownloader 2.0\JDownloader2.exe' as 'C:Program FilesJDownloader 2.0JDownloader2.exe' because it was trying to escape P from Program and J from JDownloader and J from JDownloader2.exe.

So it has to be given 'C:\\Program Files\\JDownloader 2.0\\JDownloader2.exe'
Or 'C:/Program Files/JDownloader 2.0/JDownloader2.exe'


Quote:
IMPORTANT: Create sub-folder '_bin' in JD_HOME then download and copy 'notepadCmd.exe' to dir
JD_HOME is jd environment var for directory where jd is installed.
In this case copy 'jdHotkey.exe' into '_bin' folder you just created

Quote:
I click twice, the exe is executed but Jd does nothing
I thought you said before that you want to use it in EventScript.

It cannot be double clicking. Just call/put hotkeyCtrlDel(); anywhere in your script as desired and use any trigger you want then Ctrl+Del will be sent to JD


Quote:
I tried to narrow the keys with autohotkei and I came up with a similar thing
autoit is much better written, highly recommend that.

Quote:
how do I tell jd to run "JD-CtlrCancEnter.ahk" ?
or I have to recall in some way the executable / compiled "JD-CtlrCancEnter.exe"?
yes, you need to compile to executable then create a function as shown bellow and call/put hotkeyCtlrCancEnter(); in your script.

Code:
function hotkeyCtlrCancEnter()
    var exePath = JD_HOME + '\\_bin';
    var exeCmd = 'JD-CtlrCancEnter.exe'
    var hotkey = getPath(exePath + "\\" + exeCmd);
    callSync(hotkey);
}

Last edited by zreenmkr; 14.03.2020 at 14:38.
Reply With Quote
 

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:06.
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 - 2020, Jelsoft Enterprises Ltd.