I'm new to AppleScript and Automator, I've reached to stop and play next and previous track in Spotify, here's what I use inside the AppleScript:
tell application "Spotify" to playpause
tell application "Spotify" to next track tell application "Spotify" to previous track
for next and previous track^.
My question is, how can I know what else I can do with Spotify (or any other app) and automator, what any other word can I write instead "playpause", "next track" and "previous track". Thanks.