Salvatore Sorice Posted Thursday at 02:14 PM Share Posted Thursday at 02:14 PM I'm no Auto Hotkey expert by any means and the scripts I've found (or compiled by trial and error) are real timesavers. I think it would be great to have a dedicated section of the Forum where users can post/share Auto Hotkey scripts - it seems like there are several knowledgeable Auto Hotkey folks on the Forum. I've got several and will post them. Example: Here's one that will Toggle the current Screenset between Locked and Unlocked - great timesaver! Script syntax: #SingleInstance Force #Requires AutoHotkey v1 ; Desgnate Hotkey Toggle Screenset Lock between On and Off (CTRL+ALT+L) ^!l:: ;Run as Administrator ;NO ERROR checking included #z:: IfWinActive ahk_class Sonar { Sleep 300 Send !V Sleep 300 send s Sleep 300 send s send {Enter} Sleep 300 send l Sleep 300 Send r Return } While Sonar is in focus pressing CTRL+ALT+L (or whatever combination you prefer) will toggle the screenset between locked and unlocked. You can put the script into your Windows startup folder so that it loads upon start and is always available. Here is it in action: Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now