Skip to content

Instantly share code, notes, and snippets.

@dmdeller
Last active February 11, 2026 18:00
Show Gist options
  • Select an option

  • Save dmdeller/ef93eb77e7aa7100362deb0b46b3f843 to your computer and use it in GitHub Desktop.

Select an option

Save dmdeller/ef93eb77e7aa7100362deb0b46b3f843 to your computer and use it in GitHub Desktop.
Radiccio AppleScript dictionary (as of version 1.2.3)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary title="Radiccio Terminology">
<suite name="Standard Suite" code="????" description="Common classes and commands for all applications.">
<command name="quit" code="aevtquit" description="Quit the application.">
<cocoa class="NSQuitCommand"/>
</command>
<class name="application" code="capp" description="The application's top-level scripting object.">
<cocoa class="NSApplication"/>
<property name="name" code="pnam" type="text" access="r" description="The name of the application."/>
<property name="frontmost" code="pisf" type="boolean" access="r" description="Is this the active application?">
<cocoa key="isActive"/>
</property>
<property name="version" code="vers" type="text" access="r" description="The version number of the application."/>
<responds-to command="open">
<cocoa method="handleOpenScriptCommand:"/>
</responds-to>
<responds-to command="quit">
<cocoa method="handleQuitScriptCommand:"/>
</responds-to>
</class>
</suite>
<suite name="Music Suite" code="rdpc" description="The event suite specific to Music">
<command name="play" code="rdpcPlay" description="Play the current track">
<cocoa class="PlayScriptingAction"/>
</command>
<command name="pause" code="rdpcPaus" description="Pause playback">
<cocoa class="PauseScriptingAction"/>
</command>
<command name="playpause" code="rdpcPlPs" description="Toggle the playing/paused state of the current track, or stop if it is a live stream">
<cocoa class="PlayPauseScriptingAction"/>
</command>
<command name="next track" code="rdpcNext" description="Advance to the next track in the current playback queue">
<cocoa class="NextTrackScriptingAction"/>
</command>
<command name="previous track" code="rdpcPrev" description="Return to the previous track in the current playback queue">
<cocoa class="PreviousTrackScriptingAction"/>
</command>
<command name="stop" code="rdpcStop" description="Stop playback">
<cocoa class="StopScriptingAction"/>
</command>
<command name="restart track" code="rdpcRsrt" description="Reposition to beginning of current track">
<cocoa class="RestartTrackScriptingAction"/>
</command>
<class name="application" code="capp" description="The application program">
<cocoa class="ScriptableApplication"/>
<property name="player position" code="rdpo" type="real" access="r" description="the player’s position within the currently playing track in seconds.">
<cocoa key="playerPosition"/>
</property>
<property name="player state" code="rdps" type="rdPS" access="r" description="is the player stopped, paused, or playing?">
<cocoa key="playerState"/>
</property>
<property name="sound volume" code="rdvl" type="integer" access="rw" description="the sound output volume (0 = minimum, 100 = maximum; must be divisible by 5)">
<cocoa key="soundVolume"/>
</property>
<property name="queue position" code="rdqp" type="integer" access="r" description="the index of the current track in the playback queue (starting from 1)">
<cocoa key="queuePosition"/>
</property>
<property name="queue count" code="rdqc" type="integer" access="r" description="the total number of tracks currently in the playback queue">
<cocoa key="queueCount"/>
</property>
<property name="current track" code="rdct" type="track" access="r" description="the current targeted track">
<cocoa key="currentTrack"/>
</property>
</class>
<enumeration name="rdPS" code="rdPS">
<enumerator name="stopped" code="rdST"/>
<enumerator name="playing" code="rdPL"/>
<enumerator name="paused" code="rdPA"/>
</enumeration>
<class name="track" code="rdTK" description="an audio item that can be added to the playback queue" plural="tracks">
<cocoa class="ScriptableTrack"/>
<property name="id" code="rdie" type="text" access="r" description="the id of the item">
<cocoa key="trackID"/>
</property>
<property name="title" code="rdnn" type="text" access="r" description="the name of the item">
<cocoa key="title"/>
</property>
<property name="album" code="rdal" type="text" access="r" description="the album name of the track">
<cocoa key="album"/>
</property>
<property name="album artist" code="rdaa" type="text" access="r" description="the album artist of the track">
<cocoa key="albumArtist"/>
</property>
<property name="artist" code="rdat" type="text" access="r" description="the artist/source of the track">
<cocoa key="artist"/>
</property>
<property name="disc number" code="rddn" type="integer" access="r" description="the index of the disc containing this track on the source album">
<cocoa key="discNumber"/>
</property>
<property name="duration" code="rddu" type="real" access="r" description="the length of the track in seconds">
<cocoa key="duration"/>
</property>
<property name="track number" code="rdtn" type="integer" access="r" description="the index of the track on the source album">
<cocoa key="trackNumber"/>
</property>
<property name="year" code="rdyr" type="integer" access="r" description="the year the track was recorded/released">
<cocoa key="year"/>
</property>
<property name="artwork" code="rdar" type="artwork" access="r" description="the artwork for this item, if it has one. Otherwise it will be nil">
<cocoa key="artwork"/>
</property>
<property name="favorite" code="rdfv" type="boolean" access="rw" description="whether or not the track is a favorite. NOTE: Not all tracks can be a favorite. See also: favorite available">
<cocoa key="favorite"/>
</property>
<property name="favorite available" code="rdfa" type="boolean" access="r" description="whether or not the track can be a favorite">
<cocoa key="favoriteAvailable"/>
</property>
</class>
<class name="artwork" code="rdAR" description="a piece of art within a track or playlist" inherits="item" plural="artworks">
<cocoa class="ScriptableArtwork"/>
<property name="data" code="rdAD" type="any" access="r" description="data for this artwork, in the case where it has already been loaded">
<cocoa key="data"/>
</property>
<property name="url" code="rdAU" type="text" access="r" description="reserved for future use - currently never returns a value">
<cocoa key="url"/>
</property>
<property name="loaded" code="rdIL" type="boolean" access="r" description="whether or not the artwork has been loaded. If so, data will be populated.">
<cocoa key="loaded"/>
</property>
</class>
</suite>
</dictionary>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment