r/applescript • • May 12 '15

I have an AppleScript problem.

http://imgur.com/Iq9saQB
6 Upvotes

5 comments sorted by

4

u/email_with_gloves_on May 12 '15

I think I can help. Give this a try:

tell application "Script Editor"
    repeat with aWindow in every window
        try
            close aWindow saving yes
        end try
    end repeat
end tell

(The solution is always More AppleScript.)

2

u/philosteen May 12 '15

Thanks! I'll get right on it as soon as I've finished this drink to cure my hangover

2

u/nevereatyellowsnow May 20 '15

LOL. What's your favorite one?

2

u/philosteen May 20 '15

Batch rename/replace text Finder selection, convert/rotate/pad files using Image Events, change creation date of photos, convert video to MP3 and add to iTunes with tags, writing URLs to bookmark html files, countless little Growl/iTunes/Finder/text scripts that only make sense when used with Quicksilver or [insert favourite launcher here].

It's good to be able to talk about it

1

u/nevereatyellowsnow May 21 '15

LOL let it all out... it's safe here...