Scripting my application launch process

Every day for work, there’s several applications I always use. The other day, I put together a quick and dirty bash script for opening all of them at once.

I’m terribly inexperienced at this, so don’t poke fun, only offer good suggestions for improvement…

[sourcecode language=”bash”]
#!/bin/bash

# Open all of the requisite applications
echo ‘Opening Chrome’
`open /Volumes/Macintosh HD/Applications/Google Chrome.app/`
echo ‘Opening Skype’
`open /Volumes/Macintosh HD/Applications/Skype.app/`
echo ‘Opening Sparrow’
`open /Volumes/Macintosh HD/Applications/Sparrow.app/`
echo ‘Opening Linkus’
`open /Volumes/Macintosh HD/Applications/Linkinus.app/`
echo ‘Opening Adium’
`open /Volumes/Macintosh HD/Applications/Adium.app/`
[/sourcecode]

Join the Conversation

7 Comments

  1. I use an AppleScript in Alfred to do something similar. Looks like this:

    launch application “Skype”
    launch application “Firefox”
    launch application “Adium”
    launch application “LimeChat”
    launch application “iTerm”
    launch application “Coda”
    launch application “Safari”

      1. AppleScript is handy. I use it for a few other things like launching a URL with a string from the clipboard as one of the query string values.

        In Alfred you set a keyword, so I bring up the Alfred window, type auto, and hit Enter. The AppleScript functionality is built right into Alfred now so you don’t even need to create a file, it’s all in the preferences.

  2. I’d just add them to the “Startup items” for your user in the System config’s user account panel…

Leave a comment

Your email address will not be published. Required fields are marked *