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. Open up AppleScript Editor, and go to File -> Open Dictionary, and 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.