Thread: Load Programs in Background?
01-05-2011, 09:23 AM #1Load Programs in Background?
My Mac is a little on the slow side. She's an older Macbook Pro and sometimes programs can take a while to load (Adobe Illustrator, for example, takes 35 seconds, Microsoft Word takes 45).
And that's why I'll often click the icon for a large program and will then go about doing something else -- like replying to an email or writing in my blog. But in the middle of that new activity (which is in the foreground), the large program's splash screen will pop up and take focus. So I click back to my activity and continue. Then when the large program's loading is complete, it renders and again takes over the system's focus -- ignoring entirely the fact that I was doing something else.
So my question is this: Is there a way to get programs to load so they're ready when I'm ready, but to have that happen in the background so they're not interfering with what I'm currently doing?
Thanks in advance,
01-05-2011, 10:57 AM #2
- Member Since
- Jul 17, 2009
- 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
From a really old ('03) post I found on the web..try quickly double or triple clicking on the app icon to see if it will do what you want..
I'll have to try this at home to see if it work on my iMac 10.6.5..
01-05-2011, 12:16 PM #3
I tried both double and triple clicking but the behavior is the same.
Something interesting that I haven't noticed before (probably because I wasn't paying close attention) is that the focus and menu bar don't change from the current activity even though the new program renders (in an unfocused state) its window on top of the focused program.
01-05-2011, 12:26 PM #4
If you're comfortable with using the Terminal, the following command will open an application behind all active ones. Execute the following command:Code:
open -g /Applications/<App name>Code:
open -g /Applications/TextEdit.app/
01-05-2011, 02:42 PM #5
That worked EXACTLY the way I wanted it to. That's genius.
Now my question is: how can I make an icon to do exactly that? I'd love to click the "Word-Background" button on the dock, and then switch to whatever and go about my business.
I thought to use Automator, but it seems to allow me to get Terminal to start, but doesn't automate the typing. And if I record the actions, the workflow literally hijacks my mouse and keyboard to duplicate my movements (which is obviously not what I want).
01-05-2011, 04:44 PM #6
AppleScript is your friend here. Open up the AppleScript Editor (/Applications/Utilities) and enter the following:Code:
do shell script "open -g /Applications/TextEdit.app/"
Once you have it working, go to File > Save > change the file format to "Application" and you're done.
EDIT: If the application has a space, wrap the path and name of the app in single quotation marks:Code:
do shell script "open -g '/Applications/System Preferences.app/'"
01-06-2011, 06:48 PM #7
This works exactly the way I want. Thank you very much for taking the time to help me here. It's really a wonderful, and elegant, solution.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By wesearl in forum OS X - Operating SystemReplies: 4Last Post: 11-08-2012, 09:52 AM
By macbasic in forum OS X - Operating SystemReplies: 0Last Post: 04-10-2012, 01:19 PM
By Abisa in forum Apple NotebooksReplies: 9Last Post: 12-22-2011, 03:12 PM
By Mute Riot in forum OS X - Operating SystemReplies: 0Last Post: 03-19-2009, 08:06 PM
By mynameis in forum Switcher HangoutReplies: 7Last Post: 04-22-2005, 06:38 PM