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
