boji Posted April 9, 2008 Share 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted April 9, 2008 Developers Share 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. Link to comment Share on other sites More sharing options...
monoceres Posted April 9, 2008 Share 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! Link to comment Share on other sites More sharing options...
boji Posted April 9, 2008 Author Share 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 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