Getting artwork from current track in Applescript
问题 I'm trying to make a script to pull the artwork of the currently playing track and write it to a file. I've checked out a few guides but none of them seem to work, any tips? tell application "iTunes" write artwork 1 to "path:to:desktop" of type("JPEG") end tell To be honest I've no idea what I'm doing. Anyone feeling helpful? Thanks 回答1: You can write raw data of artwork 1 of current track to a file: -- get the raw bytes of the artwork into a var tell application "iTunes" to tell artwork 1 of