Jump to content
Sign in to follow this  
Ultratech

Block A Key

Recommended Posts

Ultratech

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
someone

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
Ultratech

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  

×

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.