Jump to content
Sign in to follow this  

Hotkey pass through

Recommended Posts


I'm using the following as a "pass through" for hotkeys I have set for my app if my app is not active. However, it tends to be a little sluggish sometimes and was wondering if there was a better way of doing it.

Func View1()    

    If $WinActivityResult = 1 Then
        ;Main Function
        $ViewKey = WinGetTitle("")
        ControlSend($ViewKey, "", "", $Functions_Array[1][0])
        HotKeySet($Functions_Array[1][0], "View1")


Share this post

Link to post
Share on other sites
Emiel Wieldraaijer

I think this could be the solution

You will need (beta and higher) to use that function


another way is for example (70 = F1) to use _IsPressed in your loop

If _IsPressed("70") And WinActive("Program Title") Then Function()

But it could be detected as a keylogger

Best regards,Emiel Wieldraaijer

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.