Make dictionary open when pages opens?

Discussion in 'Mac Basics and Help' started by deanops, Sep 8, 2007.

  1. deanops macrumors regular

    Joined:
    Jan 16, 2007
    Location:
    Melbourne, Australia
    #1
    can anyone help me make a script (im not confident nor knowlegable at this stuff), so that when pages, word, powerpoint, numbers, excel and keynote open the dictionary.app opens too???

    thanks for any help
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    The easiest way would be to make an AppleScript for each of those apps and use it to launch both the original app and Dictionary.app. There is not simple way to detect an app launching (it's possible via System Notifications in a Cocoa or Carbon app but that's a bit beyond what you asked for).

    For example for Excel:
    Code:
    tell application "Microsoft Excel"
    	activate
    end tell
    tell application "Dictionary"
    	activate
    end tell
    
     
  3. deanops thread starter macrumors regular

    Joined:
    Jan 16, 2007
    Location:
    Melbourne, Australia
    #3
    your a gun...!!!

    now, how do i change the icon on the script to be that of pages?

    lol... thanks for that... just makes life a click simpler =P
     
  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    Same way as any other file. Assuming you have saved the script as an application:

    Find Pages in the Finder.
    Do a Command-I on it.
    Click on the icon in the info window in the top left: it should get highlighted
    Copy it (Command-C)
    Now find your new script app and do a Command-I on it.
    Click on the icon on the top left and hit Command-V. The copied icon should now be pasted onto your new script app...
     

Share This Page