Page 1 of 1

How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Tue Jan 10, 2012 8:43 pm
by vitinhhoangan
How to disable 'ESC' & 'ALT-F4' button when run MMB project ? when we pressing 'ESC' & 'ALT-F4' do nothing!thanks all!

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Tue Jan 10, 2012 11:34 pm
by Delboy
ESC is easy just Create a blank Script on Master Top Layer named CBK_EXIT

As for ALT F4 I think Sysmetrics Plugin can get that key press sequence

SysMetrics.zip
(162.81 KiB) Downloaded 2078 times


Cheers

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Wed Jan 11, 2012 2:28 am
by dgilmour
CBK_EXIT handles both ESC and Alt-F4.

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Wed Jan 11, 2012 3:27 am
by vitinhhoangan
Delboy wrote:ESC is easy just Create a blank Script on Master Top Layer named CBK_EXIT

As for ALT F4 I think Sysmetrics Plugin can get that key press sequence

SysMetrics.zip


Cheers


thanks the boy!

dgilmour wrote:CBK_EXIT handles both ESC and Alt-F4.

can u give me a sample CBK_EXIT handles both ESC and Alt-F4 ?..thanks much!!

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Wed Jan 11, 2012 5:29 am
by Delboy
Opps you are correct Sergey I didnt know it also did Alt-F4

here you go

no_esc_no_alt_f4.zip
(603 Bytes) Downloaded 397 times


Cheers

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Fri Jan 13, 2012 9:47 am
by vitinhhoangan
Delboy wrote:Opps you are correct Sergey I didnt know it also did Alt-F4

here you go

no_esc_no_alt_f4.zip


Cheers


thanks!!..problem solved!

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Tue May 05, 2015 3:54 am
by Nigg
Late reply..

Is there any way to disable the standard EXIT-Button in the titlebar? I want to use minimize and maximize, but I have to execute a special command on exit.

// Edit: omg, I'm an idiot:

Use this to catch the Close button on the title bar or the Escape key.
Note: The object or group MUST be in the Master Top layer.



Question answered.

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Fri May 10, 2019 9:51 pm
by Nigg
Hey guys,

I'm gonna breathe new life into this thread. I'd like to redirect the exit button in the title bar to a script, BUT redirect the ESC button to something else. Does anyone know a plugin or is there even a function that could do that?

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Sat May 11, 2019 2:37 pm
by dgilmour
You can achieve it using SmallPlugin.
escapeclosebtn.zip
(17.32 KiB) Downloaded 33 times

Re: How to disable 'ESC' & 'ALT-F4' button when run MMB ?

PostPosted: Mon May 13, 2019 2:30 am
by Nigg
Thanks dgilmour!

That works fine! Many thanks for the super quick answer (and solution).