Search code examples
pluginsapplescriptitunes

AppleScript: Is it possible to get iTunes current-playing song timing info by AppleScript?


I know it's possible to write AppleScript to get tag metadata about current song, e.g., artist name, album, etc.

Would it be possible to get the playback position as well?


Solution

  • Try:

    tell application "iTunes" to get player position