Paste the following into the first pane of your trigger, and select the Run as Applescript action in the second pane.
tell application "System Events" to set theApp to the name of ¬ the first application process whose frontmost is true tell application theApp to quit On Mar 21, 9:40 am, Patrick Robertson <[email protected]> wrote: > 1. I'm not sure about this, I've just googled it and couldn't find anything > interesting > > 2. Proxies like 'current application' are a bit broken in the latest version > of QS. > I'm testing some changes and a build by neurolepsy that's fixed most of the > problems, and can confirm that this works for me. :) > Hopefully we'll be getting this release out into the wild fairly soon.... > Neurolepsy has compiled a working version, but if you're good with hanging > on for a little longer then we'll get the 'official' new QS build out with > these fixes :) > > On 21 March 2011 23:38, David Kiger <[email protected]> wrote: > > > > > Sorry if this has been covered, but I've been searching around both > > here and on the web in general and I can't seem to find an answer. > > > On my old machine, I followed the notes at > >http://blog.thewheatfield.org/2009/09/28/die-command-q-die/to > > overload cmd-q and replaced it with shift-cmd-q. Now I can get the > > overloading working in the same way, but when I try to replace it, I > > get two problems. > > > 1) shift-cmd-q is already "Quit All Applications and Log Out" on Snow > > Leopard, and it tries to do that rather than accept it as the key > > binding. Is there a way to hook in before that triggers? > > 2) Regardless of what hotkey I use, it doesn't actually quit the > > current application. > > > I can deal with having to switch hotkeys (though I'd prefer not to), > > but having no hotkey to quit an application may be even worse than > > accidentally closing one via cmd-q. > > > Any help would be greatly appreciated. > > > Thanks, > > Dave
