Jump to content
Sign in to follow this  

Disable the enter key for only one app or window

Recommended Posts


I use something similar with my GUIs.

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

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

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  


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.