[PD] disable ctrl+q / command+q or display a dialog box?

Hans-Christoph Steiner hans at at.or.at
Mon Apr 20 18:20:24 CEST 2009

In Pd-extended 0.41.4, you now get a confirmation prompt.  You can get  
it here, its beta, but close to release:


Or you can embed this object in your patch, or copy and paste the code  
inside.  It sends two lines of Tcl to the GUI to disable the menu_quit  
command, which quits Pd.  Then you'll have to kill or "force quit" Pd  
to make it quit.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noquit.pd
Type: application/octet-stream
Size: 300 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090420/3e4b4430/attachment.obj>
-------------- next part --------------


On Apr 20, 2009, at 8:46 AM, padovani wrote:

> Hi..
> is it possible to configure my PD installation to don't quit  
> immediately when I (stupid as I am) press ctrl+q or command+q(mac)? :)
> tx.
> -- 
> http://www.padovani.googlepages.com
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


Looking at things from a more basic level, you can come up with a more  
direct solution... It may sound small in theory, but it in practice,  
it can change entire economies.     - Amy Smith

More information about the Pd-list mailing list