Jump to content
Sign in to follow this  
boji

Hotkey a function

Recommended Posts

Jos

When this is your whole script, it will finish (end) after the HotKeySet statement because the program ends there.

You probably want a Loop ?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
monoceres

HotKeySet("{ALTDOWN}r{ALTUP}", "rprog")

Func rprog()
run (@ProgramFilesDir & "\Unison Tools\Open Custsrch.exe")
EndFunc
This is also not a valid HotKeySet, try HotKeySet("!r","rprog") :)

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
boji

This is also not a valid HotKeySet, try HotKeySet("!r","rprog") :)

Yes thank you both!

while n

hotkeysets

wend

does the trick.

<3

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×