How do I find out the applescript commands available for a particular app? I'm trying to find out if I can get iTunes to do something complex, but don't know what can be scripted.

Is there a way to find out what applescript commands an app will respond to?
Yes, there is a simple way.


Open the Script Editor app (formerly called AppleScript Editor)
Go to File -> Open Dictionary
Select the app you want to find out more about.




When you open it, you can browse through the available AppleScript commands for that application and find what you want.