Sign in to follow this  
Followers 0
Ultratech

Block A Key

3 posts in this topic

Just a question, there a way to block esc key so that it doesn't close my gui/terminate script? I use another program that also terminates with the esc key, but my gui also closes.

Share this post


Link to post
Share on other sites



Yep easily done... check out the opt functions...

Opt("GUICloseOnESC", 1)         ;1=ESC  closes, 0=ESC won't close

PS. Is your name Ultratech from Killer Instinct? If so very cool


While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd

Share this post


Link to post
Share on other sites

It worked thanks :whistle: and I came up with the name myself, but I forgot it was from killer instinct

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