Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

deanops

macrumors regular
Original poster
Jan 16, 2007
178
0
Melbourne, Australia
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
 
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
 
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
 
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...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.