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: paulskinner on Feb 10, '09 11:56:41AM
If I follow properly, this should be quicker and not require you to subsequently hide the apps you launch.

The key is Launching them rather than activating them. Activate calls launch and then makes the app frontmost. Launch alone does a nice quiet launch.

set appList to {"Terminal", "Mail", "Address Book", "iCal"}

repeat with thisApplication in the appList
	try
		ignoring application responses
			tell application thisApplication to launch
		end ignoring
	end try
end repeat
     

[ Reply to This | # ]