Help Wizard

Step 1

NEXT STEP

Get track properties in AppleScript

Get track properties in AppleScript

I wrote a very small app using the OS X AppleScript API, and when I wrote it, this used to work (back in 1.0.2, maybe?  I can find out exactly when it quit working if that helps).  How come it doesn't work now?

 

tell application "Spotify" to get properties of current track

Here's the result I get now:

34:44: execution error: Spotify got an error: AppleEvent handler failed. (-10000)

I used to just get a list of the track's properties, and it was much nicer than using AppleScript to iterate over each property of the track and ask for them individually.  Can you help me get it working again?

 

Reply
0 Replies

Suggested posts