Autohotkey Script for Pause/Resume with Live Monitoring
Posted: September 17th, 2010, 12:03 am
Hello,
I thought I'd share a little script I wrote for Autohotkey (as sabnzbd doesn't seem to support hotkeys yet!)
What the script does:
I have changed the name of this little script and compiled and executable version for those who don't have Autohotkey.
If you cannot get the keyboard LEDs to light up for you but the scroll lock and SHIFT+scroll lock shortcuts still work for you, please post in this thread and I'll add a little more code so you can change keyboard assignment.
I suggest placing the .exe in a folder of its own (in "/Program Files/" sounds ideal ;D) as it will generate some files. It is possible to decompile the script using Exe2Ahk though it will appear without comments.
NEW executable.
Autosabkey.exe
OLD Autohotkey script.
Autosabkey.ahk
I thought I'd share a little script I wrote for Autohotkey (as sabnzbd doesn't seem to support hotkeys yet!)
What the script does:
- Assigns Scroll Lock as the hotkey to Pause and Resume Sabnzbd silently. No Browser popup.
- Monitors the status of Sabnzbd. When downloads are resumed, the Scroll Lock LED will turn on.
UPDATE:docbrown00 wrote: I have updated this with a few more lines.
It functions as before but i have also added "Shift+Scroll Lock" Hotkey which will toggle the download speed limit according to the values you set.Enter your HOST:PORT, APIKEY and replace YOURLOWSPEEDLIMIT and YOURHIGHSPEEDLIMIT with your choices (e.g. replacing "YOURHIGHSPEEDLIMIT" with "4096" will limit the rate to 4MB/s).
The Num Lock LED will blink if you are in Lowspeed mode and Num Lock and Scroll Lock LEDs will blink if in Highspeed mode.
I find this useful if I decided to watch a video on youtube and require a little more bandwidth for ease of use.
I am looking into how to allow for multiple toggle states so I could have lowspeed, mediumspeed and uncapped.
I have changed the name of this little script and compiled and executable version for those who don't have Autohotkey.
If you cannot get the keyboard LEDs to light up for you but the scroll lock and SHIFT+scroll lock shortcuts still work for you, please post in this thread and I'll add a little more code so you can change keyboard assignment.
I suggest placing the .exe in a folder of its own (in "/Program Files/" sounds ideal ;D) as it will generate some files. It is possible to decompile the script using Exe2Ahk though it will appear without comments.
NEW executable.
Autosabkey.exe
OLD Autohotkey script.
Autosabkey.ahk