Jump to content
Sign in to follow this  

hotkey priority

Recommended Posts


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


Share this post

Link to post
Share on other sites

I think so:

HotKeySet("a", "func1")

Func func1()

WinActivate ( "Prog_with_prority")




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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.