Jump to content

Recommended Posts

Posted

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
    Else
        HotKeySet($Functions_Array[1][0])
        $ViewKey = WinGetTitle("")
        ControlSend($ViewKey, "", "", $Functions_Array[1][0])
        HotKeySet($Functions_Array[1][0], "View1")

    EndIf
EndFunc

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...