boji Posted April 9, 2008 Posted April 9, 2008 Would someone mind tellimg me why this wont work? Thanks. HotKeySet("{ALTDOWN}r{ALTUP}", "rprog") Func rprog() run (@ProgramFilesDir & "\Unison Tools\Open Custsrch.exe") EndFunc
Developers Jos Posted April 9, 2008 Developers Posted April 9, 2008 When this is your whole script, it will finish (end) after the HotKeySet statement because the program ends there. You probably want a Loop ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
monoceres Posted April 9, 2008 Posted April 9, 2008 HotKeySet("{ALTDOWN}r{ALTUP}", "rprog") Func rprog() run (@ProgramFilesDir & "\Unison Tools\Open Custsrch.exe") EndFuncThis is also not a valid HotKeySet, try HotKeySet("!r","rprog") Broken link? PM me and I'll send you the file!
boji Posted April 9, 2008 Author Posted April 9, 2008 This is also not a valid HotKeySet, try HotKeySet("!r","rprog") Yes thank you both!while nhotkeysetswend does the trick.<3
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