Jump to content
Sign in to follow this  
D4rk^S0ul

SetHotKey help

Recommended Posts

D4rk^S0ul

Can any1 tell me if theres a way to get a hot key to run the func without it stopping the existing hotkey? e.g if u press f1 it still opens help and your function?

Edited by D4rk^S0ul

Share this post


Link to post
Share on other sites
Jos

HotKeySet("{F1}", "RunHelp")
;
While 1
    Sleep(100)
WEnd
;
Func RunHelp()
    HotKeySet("{F1}")
    Send("{F1}")
; what ever else
    HotKeySet("{F1}", "RunHelp")
EndFunc  ;==>RunHelp


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

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  

×