QuickTips: Creating App Launchers

Posted by Chris
on Thursday, March 27

Our first task is to launch the AppleScript Editor. This should be on your Mac already. In Script Editor, write this:

tell application "Safari" to activate

Pretty self explanatory. Hit the Run button in the toolbar and Safari will pop up. Note that if Safari is already running nothing will happen. Close down Safari and add some more lines:

tell application "Mail" to activate
tell application "Vienna" to activate

Hit Run and the three apps launch (if they aren't already open). See where I'm going with this?In the menu, go to File, Save As, and type a name for your launcher. Select Application as the file format and disable Startup Screen - important! To launch the apps referenced in the program just run the file you saved.Even though you have saved your script as an Application, you can still edit it as normal. Open Script Editor and open your app like you would open a file.

Extra Bonus Tip!Make a folder of several launchers then add them to the Dock as a stack. Set some nice icons on your launcher apps and enjoy.

App Launchers Stack Image

Comments

Leave a response