Sign in to follow this  
Followers 0
zasxes

Disable the enter key for only one app or window

4 posts in this topic

if so, how? Thanks.

Share this post


Link to post
Share on other sites



I use something similar with my GUIs.

If WinActive($hwndGUI_Main) Then
        HotKeySet("{ESC}", "MyExit")
    Else
        HotKeySet("{ESC}")
    EndIf

If Window X is active, then "ESC" will fire "MyExit" for the script.


Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

HotKeySet("{ENTER}","schmenter")
...
Func schmenter()
This is the best lingual-programmatical joke I've heard in a long time :)

Thanks for the laugh! ;)

/edit: tpyo typo

Edited by SadBunny

Roses are FF0000, violets are 0000FF... All my base are belong to you.

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