I have a script that creates application bundles from source files. In Lion it failed. Bad news, since I use it with every script I write. Good news. The fix is easy ...
tell application "AppleScript Editor" launch open sourceRef -- document name ends with .app iff file displays .app delay 1 -- ADD THIS TO GIVE ASE AND THE DOCUMENT TIME TO OPEN. if not (exists document sourceName) then if not dontQuit then quit error "The source file could not be opened because it is not editable." end if -- -- lots of other stuff -- end tell
If you write scripts that tell ASE, you might find this useful.
Meanwhile, a new Script Bundle Tool, version 4.3, will be available when I am sure it is working correctly. (So far, after the fix, above, it seems to be working very nicely.)
|