Sign in to follow this  
Followers 0
YXAndyYX

hotkey priority

3 posts in this topic

Hey guys,

I'm writing a program that uses hotkeys, the program alone works fine but I need to run it with another program that also captures hotkeys.

The problem is that the second program captures the hotkeys first and the AutoIt functions won't run.

Is there any way to give AutoIt a higher priority so that it will capture the hotkeys first?

Thanks in advance

Andy

Share this post


Link to post
Share on other sites



Nevermind, _IfPressed solved the problem ...

Share this post


Link to post
Share on other sites

I think so:

HotKeySet("a", "func1")

Func func1()

WinActivate ( "Prog_with_prority")

;...........................

;..........................

EndFunc

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  
Followers 0