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: aGr[j5(6WU on Dec 02, '09 08:38:06AM
There seems to be at least two ways to launch helpers, etc. The first is to use the app's Application ID, which in the case of GrowlHelper looks like this: com.Growl.GrowlHelperApp
See here for further examples and info. I found GrowlHelperApp's Application ID by looking in my user's /Library/Preferences folder. Unfortunately, EyeTV Helper doesn't seem to have a .plist, so instead I had to use the "do shell script" command. So, this is the relevant part of my new LoginItem script:
tell application id "com.Growl.GrowlHelperApp" to launch
delay 10
do shell script "open /Applications/EyeTV.app/Contents/Resources/'EyeTV Helper.app'"
Works fine here. Hope this helps someone else. If anyone finds the Application ID for EyeTV Helper please post it here.

[ Reply to This | # ]
Launch login items via AppleScript to avoid login delays
Authored by: David Allen on Dec 19, '09 02:52:05PM
I just placed "EyeTV Helper" in the script and it opens it just fine. Since many of the things that open at startup/login on my kit are right side menu bar items, I have left off the visibility part of the script for those items. Since this was first published back in NOV I have used the most refined version on three Macs and it works great on all of them. It is really nice not needing to sit and wait to get control of my Mac back!
---
Dah•veed |David Allen|
Monterrey, NL, Mexico
Edited on Dec 19, '09 02:56:04PM by David Allen


[ Reply to This | # ]