Running two apps from one icon/alias?

Discussion in 'macOS' started by Minimonkay, Aug 4, 2010.

  1. Minimonkay macrumors newbie

    Joined:
    Aug 4, 2010
    #1
    Hey, recently got myself a macbook pro and learning the OS still, I'm used to XP.

    I've found a program I want to run whenever iTunes starts, however I don't want either to run at startup.
    I know aliases are probably going to be the way to do it but have searched a lot and found nothing.
    On windows I know how to create an shortcut that when activated, it starts up two programs at once, I assumed there was something similar for OS X?

    Is there any way to create or alter an icon so it starts 2 programs at once? Ideally I'd have it in the dock and looking like iTunes, but it starts both iTunes and the other app.


    Been using this site a lot to help me out in the past few months, found it very useful thank you :)
     
  2. ergdegdeg Moderator emeritus

    ergdegdeg

    Joined:
    Oct 13, 2007
    #2
    You can create a very simple AppleScript which would look something like this:
    Code:
    tell application "iTunes" to activate
    tell application "Second App" to activate
    You can do this with the AppleScript Editor in your applications folder. Then save it as an application and give it an icon.
     
  3. Minimonkay thread starter macrumors newbie

    Joined:
    Aug 4, 2010
    #3
    Fantastic! Thank you so much, works perfectly!
     

Share This Page