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: everkleer80 on Nov 18, '09 01:35:41PM

I'm not sure if this 'certain state' means there needs to be some delay after the window opens, but if not then why not just wait (maybe loop with a delay of .1 or something) until a window is visible for the app and then hide the app (then delay some more if you want)... before Skype had fixed the bug where the hide option in login items wouldn't hide the buddy list, I wrote a script for it that hid the window the way I described. This way the window is only visible for up to .1 seconds instead of up to theDelay seconds.

For windowless apps you could just add a property haswindow:false.



[ Reply to This | # ]
Launch login items via AppleScript to avoid login delays
Authored by: Andrew J Freyer on Nov 18, '09 02:13:53PM

No, he's right. That's why I put the delay there.

Specifically for "Things" - when launched, if I try to hide it immediately, it is not yet prepared (fully opened) to accept the "hide" instruction.



[ Reply to This | # ]