Running selected text in SciTE
When working on longer AutoHotkey scripts, I love being able to just highlight some text and run only it. This is possible from making some tweaks to your User.Properties file and using this file by JoeDF.
Here is the text you’ll add to your User.Properties file:
#***********Run selection in AutoHotkey******************* command.name.45.$(file.patterns.ahk)=Run selection command.mode.45.$(file.patterns.ahk=subsystem:2,savebefore:no # Path to AutoHotkey.exe Path to SelectRun.ahk command.45.$(file.patterns.ahk)="B:\Progs\AutoHotkey_L\AutoHotkey.exe" "B:\SelectRun.ahk" command.input.45.$(file.patterns.ahk)=$(CurrentSelection) command.shortcut.45.$(file.patterns.ahk)=Ctrl+r
In the below video I walk through how to make updates to the User.Properties file as well as demonstrate Running selected text in SciTE.