Thanks for reporting this, if you could create an issue over at https://github.com/quicksilver/Quicksilver/issues that would be helpful.
In the meantime, you could alter your script so that instead. Try: *tell* *application* "System Events" *set* theName *to* *first* *process* *whose* frontmost *is* true *tell* theName *click* *button* 3 *of* *sheet* 1 *of* *window* 1 *end* *tell* *end* *tell* On 28 May 2012 15:39, su <[email protected]> wrote: > I tried to recover cmd+D (Don't Save) from OS X versions previous to > Lion for dismissing the Save dialog in applications with Saved State > feature in 10.7.4 with the following script > > *tell* *application* "System Events" > > *tell* *process* "TextEdit" > > --click button "Don't Save" of "Saveā¦" dialog of frontmost window > > *click* *button* 3 *of* *sheet* 1 *of* *window* 1 > > *end* *tell* > > *end* *tell* > > Since my AppleScript knowledge is still rudimentary, I made a trigger with > the above script, shortcut cmd+D and scope TextEdit and a similar one for > Preview, but enabling only one of both at a time actually works. I think > it's not a normal behaviour. > (The best solution AFAIK would of course be to tell the frontmost process > and use just one script). > > -- You received this message because you are subscribed to the Google > Groups Quicksilver group. To post to this group, send email to > [email protected]. To unsubscribe from this group, > send email to [email protected]. For > more options, visit this group at > https://groups.google.com/d/forum/blacktree-quicksilver?hl=en -- You received this message because you are subscribed to the Google Groups Quicksilver group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/blacktree-quicksilver?hl=en
