Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: How to launch-and-hide via AppleScript in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to launch-and-hide via AppleScript in 10.5
Authored by: Anonymous on Feb 10, '09 12:58:17AM
I'm using the same thing by using a loop in an array of app.
The delay 2 is to be sure the app has been loaded sucessfully. If i don't use delay 2, Mail or NNW won't be hide.

set theArray to {"NetNewsWire", "Terminal", "Mail", "TextMate", "Address Book", "iCal"}
repeat with ell in theArray
tell application ell to activate
delay 2
tell application "Finder"
set visible of process ell to false
end tell
end repeat

[ Reply to This | # ]