Guest rathore Posted April 14, 2004 Share Posted April 14, 2004 (edited) tested!... this is definitely a better approach this script will install a hotkey ctrl+1 in textpad that'll run any script that's currently loaded, be it .ahk / .aut / .au3 or even .bat or .cmd.based on info here here's the .au3 code: RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","Properties","REG_BINARY",'000000005680000046000000') RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","MenuText","REG_SZ",'Run Script') RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","Command","REG_SZ",@ComSpec) RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","Parameters","REG_SZ",' /c start $DosFile') RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","Folder","REG_SZ",'$FileDir') RegWrite("HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\0","RE","REG_SZ",'') Edited April 14, 2004 by rathore Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now