- Jun 06, 2020 Broadcom CEO Hock Tan appears to have confirmed a delay of Apple's next generation iPhone 12 during an earnings call with analysts this week. Bloomberg reports that Tan discussed a.
- Dec 16, 2014 There are messaging apps, like Delay Text, Go SMS Pro or Text Later, that allow you to compose a message and set a date and time for its delivery.
Launch login items via AppleScript to avoid login delays | 31 comments | Create New Account
Click here to return to the 'Launch login items via AppleScript to avoid login delays' hint |
Feb 13, 2013 2. Delete any programs in Login Items you wish to delay. Start Delay Start manually, and add the applications you wish to start after the specified delay. As mentioned, there is great opportunity for a few additional features for a $0.99 app: 1. Auto install.
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
Hi. To avoid the apps opening windows, you might try telling the apps to launch rather than to activate. Can't confirm this completely because I don't have the apps in your script.
Launch login items via AppleScript to avoid login delays
This hint is good for another reason - on my Leopard Box, one of the login items is to mount a disk on the network. In tiger, you can just drag the disk into the login items, and it will mount every time you start the computer. Unfortunately, it Leopard, there appears to be a bug where the selected disk mount sometimes mounts, and sometimes doesn't. So, adding a little applescript to your login items, and then having the applescript try to mount this disk works every time. (I have mine try twice, just in case).
Launch login items via AppleScript to avoid login delays
I do this but there is also a problem, some of these applications tend to steal focus so every 3 seconds (based on your script) your focus will change.
Launch login items via AppleScript to avoid login delays
good idea but change 'activate' to 'launch' everywhere in the script. this will launch those apps in the background. otherwise some of them will try to steal focus as poster post break indicated.
Launch login items via AppleScript to avoid login delays
The reason activate MAY be better is: some applications do not like 'launch.' Final Cut Pro, for example, will freeze and crash with 'launch.'
Launch login items via AppleScript to avoid login delays
This is a great hint. Tried it right away, and I'll be damned if it doesn't work like a charm - can't believe I didn't think of this sooner! :) Anyway, I changed the script a bit, to be more customizable. Set all apps in 'theAppList' to the apps (in order) that you want to launch. 'theDelay' is the delay.
Additionally, this will hide the application (flashing its window briefly - if someone can fix this that'd be great), and not cause ANY loss in focus.
Launch login items via AppleScript to avoid login delays
just a tweak on your script, using a list of records: this lets you set visibility on a case-by-case basis
Launch login items via AppleScript to avoid login delays
NICE!
I was looking for a way to do this, but I didn't think of nested lists for some reason...
I was looking for a way to do this, but I didn't think of nested lists for some reason...
Launch login items via AppleScript to avoid login delays
Launch login items via AppleScript to avoid login delays
Curious why the delay is before setting visibility.
Launch login items via AppleScript to avoid login delays
it may not be necessary, but sometimes apps need to be in a certain state before they will handle scripting correctly.
Launch login items via AppleScript to avoid login delays
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.
For windowless apps you could just add a property haswindow:false.
Launch login items via AppleScript to avoid login delays
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.
Specifically for 'Things' - when launched, if I try to hide it immediately, it is not yet prepared (fully opened) to accept the 'hide' instruction.
Launch login items via AppleScript to avoid login delays
Launch login items via AppleScript to avoid login delays
Argh, this is such a good script, but I'm getting an error
Furthermore, it is quite annoying to have the space switch and the window flash temporarily. Any work around yet?
Finder got an error: Can’t make visiblity of process '/Applications/iTunes.app/Contents/Resources/iTunesHelper.app' into type reference.
Furthermore, it is quite annoying to have the space switch and the window flash temporarily. Any work around yet?
Launch login items via AppleScript to avoid login delays
read the comments - some of those issues are addressed.
Launch login items via AppleScript to avoid login delays
Here's what I use. I hope it fits your needs. It reads out aliases in a folder 'Startitems' in your home folder and starts one after another and really wait till the app before has finished launching. You can define the order of launch by ordering it alphabetically. It displays a progress bar and closes (if desired) application windows, so you get a clean desktop when finished. I originally wrote it in german and did a quick translation now, hopefully without any typos. BP Progress Bar can be found there: http://scriptbuilders.net/files/bpprogressbar1.0.html
Launch login items via AppleScript to avoid login delays
I got a hint that my script doesn't work if suffixes are enabled. If you got any error message saying that an application name doesn't match, disable the suffix in the application name by checking 'Hide suffix' in the get-info window or disable them all in the finder preferences.
Launch login items via AppleScript to avoid login delays
what about helper applications or other scripts? do we need to provide a path to them? for example iTunesHelper, GrowlHelperApp, textexpanderd (for TextExpander) etc. How would that look?
Launch login items via AppleScript to avoid login delays
Delay App Launches On Mac Free
Great scripts! I'm using the latest one from tedw and its working just great, except when i have it launch Quicksilver it will not hide it. Though it will work for Things. Whenever it launches I see the 'flying' QS. When I had it set as a normal launch item before, as long as I set the checkmark to 'hide' it hid it. But now, even if I set the visibility to false it still shows it. I figure it has something to do with Quicksilver not fully loaded yet to except the visibility script. I tried increasing the delay and the order of the apps but no go. Any suggestions? Thanks!
Launch login items via AppleScript to avoid login delays
Unfortunately, not every app is equally respectful of visibility requests. This might work a little better (replace the System Events tell block with this):
I had exactly the same idea two years ago or so, but I couldn't figure out how to get an AppleScript to delay. I tried the command sleep, which was a mistake. Ultimately, I had everything opened through a shell script (with open -a), but this is of course the neat solution we all like to see. Thanks!
Launch login items via AppleScript to avoid login delays
Wow. Superb hint. It really does speed up login. Seems like Apple should build this sort of thing right into the Login Items behavior.
Until they do, I'll be using this method.
Thanks!
-systemsboy
Until they do, I'll be using this method.
Thanks!
-systemsboy
Launch login items via AppleScript to avoid login delays
The script makes the code necessary to activate an application quite clear. But please explain to non-scripter how to activate items on startup which are not the Applications folder. For example:
Path = '/Applications/Utilities/0-SYSTEM UPKEEP & MONITOR/00-BASIC/SMARTReporter.app';
Path = '/Users/00/Library/Application Support/Awaken/AwakenHelper.app';
Path = '/Users/00/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app';
Path = '/Users/00/Library/Application Support/A Better Finder Suite/ABF HotKey.app';
Path = '/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app';
Path = '/Applications/Utilities/0-SYSTEM UPKEEP & MONITOR/00-BASIC/SMARTReporter.app';
Path = '/Users/00/Library/Application Support/Awaken/AwakenHelper.app';
Path = '/Users/00/Library/PreferencePanes/Default Folder X.prefPane/Contents/Resources/Default Folder X Helper.app';
Path = '/Users/00/Library/Application Support/A Better Finder Suite/ABF HotKey.app';
Path = '/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app';
Launch login items via AppleScript to avoid login delays
All you need to know to use this script on any application is the name that the system uses to call it. to get that, open Script Editor and use the line: tell application 'System Events' to get name of every process. This line will print out a list of all the names of every process running from your user account. You can look through it to find the name of whatever process you're interested in (the one you want is generally pretty obvious), and then copy that into the script.
Launch login items via AppleScript to avoid login delays
Thank you.
Launch login items via AppleScript to avoid login delays
What about bcamp1973's question above about... 'helper applications or other scripts? do we need to provide a path to them? for example iTunesHelper, GrowlHelperApp, textexpanderd (for TextExpander) etc.'
Also, isn't it possible to let the script read a textfile with the names of the applications and their 'vis'-status?
E.g.:
Things, false
Mail, true
… etc.
Unfortunately I'm no Applescript-guru :-(
Also, isn't it possible to let the script read a textfile with the names of the applications and their 'vis'-status?
E.g.:
Things, false
Mail, true
… etc.
Unfortunately I'm no Applescript-guru :-(
![Mac Mac](/uploads/1/2/6/4/126475560/525471631.png)
Launch login items via AppleScript to avoid login delays
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: Works fine here. Hope this helps someone else. If anyone finds the Application ID for EyeTV Helper please post it here.
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: Works fine here. Hope this helps someone else. If anyone finds the Application ID for EyeTV Helper please post it here.
Launch login items via AppleScript to avoid login delays
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!Edited on Dec 19, '09 02:56:04PM by David Allen
Launch login items via AppleScript to avoid login delays
Launch login items via AppleScript to avoid login delays
![Delay App Launches On Mac Delay App Launches On Mac](/uploads/1/2/6/4/126475560/315385788.jpg)
Delay App Launches On Mac Download
I tried this and it took about 3 minutes from the login until it was done using this hint, and 'only' 2.5 minutes by using the startup items in the accounts pref pane. So it didn't work out very well for me.