/Applications/iTunes.app
Standard Suite
Common terms for most applications
Classes
Commands
- print -- Print the specified object(s)
- close -- Close an object
- count -- Return the number of elements of a particular class within an object
- delete -- Delete an element from an object
- duplicate -- Duplicate one or more object(s)
- exists -- Verify if an object exists
- make -- Make a new element
- move -- Move playlist(s) to a new location
- open -- open the specified object(s)
- run -- run iTunes
- quit -- quit iTunes
- set
iTunes Suite
The event suite specific to iTunes
Classes
- application -- The application program
- artwork -- a piece of art within a track
- audioCDPlaylist -- a playlist representing an audio CD
- audioCDTrack -- a track on an audio CD
- browserWindow -- the main iTunes window
- devicePlaylist -- a playlist representing the contents of a portable device
- deviceTrack -- a track residing on a portable music player
- encoder -- converts a track to a specific file format
- EQPreset -- equalizer preset configuration
- EQWindow -- the iTunes equalizer window
- fileTrack -- a track representing an audio file (MP3, AIFF, etc.)
- folderPlaylist -- a folder that contains other playlists
- item -- an item
- libraryPlaylist -- the master music library playlist
- playlist -- a list of songs/streams
- playlistWindow -- a sub-window showing a single playlist
- radioTunerPlaylist -- the radio tuner playlist
- sharedTrack -- a track residing in a shared library
- source -- a music source (music library, CD, device, etc.)
- track -- playable audio source
- URLTrack -- a track representing a network stream
- userPlaylist -- custom playlists created by the user
- visual -- a visual plug-in
- window -- any window
Commands
- add -- add one or more files to a playlist
- backTrack -- reposition to beginning of current track or go to previous track if already at start of current track
- convert -- convert one or more files or tracks
- fastForward -- skip forward in a playing track
- nextTrack -- advance to the next track in the current playlist
- pause -- pause playback
- play -- play the current track or the specified track or file.
- playpause -- toggle the playing/paused state of the current track
- previousTrack -- return to the previous track in the current playlist
- refresh -- update file track information from the current information in the track’s file
- resume -- disable fast forward/rewind and resume playback, if playing.
- reveal -- reveal and select a track or playlist
- rewind -- skip backwards in a playing track
- search -- search a playlist for tracks matching the search string. Identical to entering search text in the Search field in iTunes.
- stop -- stop playback
- update -- update the specified iPod
- eject -- eject the specified iPod
- subscribe -- subscribe to a podcast feed
- updateAllPodcasts -- update all subscribed podcast feeds
- updatePodcast -- update podcast feed
- download -- download podcast episode
Internet suite
Standard terms for Internet scripting
Commands
- openLocation -- Opens a Music Store or audio stream URL