#1
|
||||
|
||||
"Add all to downloads" hotkey tweak
"Add all to downloads" hotkey is currently Alt+A I want assign it to Enter. Any tweak for this?
|
#2
|
||||
|
||||
Edit the jdownloader\jd\languages\en.loc (or whatever language you use). I use notepad++ for these edits, because it recognizes both Linux and Windows line endings.
If it is not in xx.loc, copy the appropriate line out of keys.def (the default if it is not in the language file). Search for "Add all to downloads" (no quotes). You will notice gui.menu.action.linkgrabber.addall.accel = - Change it to gui.menu.action.linkgrabber.addall.accel = ENTER It worked when I tried it on 11660 (Nightly). I do not know how well it will work on 9579 (Stable). If you are currently using Stable, please do not change to Nightly for this. The Nightly UI hangs and we don't expect a fix until next week (too many developers with exams). Last edited by drbits; 10.06.2010 at 08:11. |
#3
|
||||
|
||||
I used Emeditor, added it to en.loc (I use English) restarted Jd but ENTER didn't work. I have nightly 11557. Also tried later on notepad++ but not working. By the way I mean pressing only ENTER to add all packages not alt+ENTER.
Last edited by tunayx; 10.06.2010 at 15:14. |
#4
|
||||
|
||||
Try updating. They have been working on this code. It used to work very differently. I used 11660.
It definitely worked for me just now. However, if anything is specifically selected, the UI rules override the accelerator keys and the Enter applies to what is selected. The insert key is probably a better choice anyway. I don't know if that will work or if the name is INS or INSERT. I would have to try it out. |
#5
|
||||
|
||||
I see, Enter works only when pack is selected. But Alt+A works even no selected packs. I wish Enter works in such way too.
Last edited by tunayx; 10.06.2010 at 21:09. |
#6
|
||||
|
||||
The OS design is for Enter or Space to push a button if the button is selected. If nothing (or a package or link) is selected Enter will work fine. The problem is that after performing an "Add URLs" or "Add Container", the button will be selected (I think you can press Escape).
|
#7
|
||||
|
||||
I understand what you say. Problem isn't related it I think. I tried esc and made several tries without touching any button. Although I changed that line, Alt+A still works while Enter doesn't. To ensure I'm editing correct lang file I changed some text and see the changes on Jd so I'm on correct lang file.
|
Thread Tools | |
Display Modes | |
|
|