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

Click here to return to the 'Launch login items via AppleScript to avoid login delays' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Launch login items via AppleScript to avoid login delays
Authored by: tedw on Nov 19, '09 12:29:36AM
Unfortunately, not every app is equally respectful of visibility requests. This might work a little better (replace the System Events tell block with this):
tell application "Finder"
		open application (name of currentApp) with properties {visible:(vis of currentApp)}
	on error
		tell application "System Events"
				if background only of process (name of currentApp) is false then
					set visible of process (name of currentApp) to (vis of currentApp)
				end if
			end try
		end tell
	end try
end tell

[ Reply to This | # ]