Trapping Command-q

Mark Smith mark at maseurope.net
Thu May 18 00:24:58 EDT 2006


You could trap the shutdownRequest message in the script of the  
mainstack:

on shutdownRequest

end shutdownRequest

where you could either ask if the user really wants to shutdown, put  
some condional stuff, or just leave the handler empty so they can  
never quit...

Best,

Mark


On 18 May 2006, at 02:24, Jason Tangen wrote:

> Can someone tell me how to prevent a user from using Command-q to  
> quit Revolution?  I'm sure that I used to be able to do it, but not  
> anymore.  Did something change?
>
> Cheers,
> Jason
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list