Modifier and Type | Field | Description |
---|---|---|
static Set<Class<?>> |
APPLICATION_CLASSES |
All classes belonging to this application.
|
static TypeClass |
CLASS |
Modifier and Type | Method | Description |
---|---|---|
Track[] |
add(JaplScriptFile[] theFileSToAdd,
Reference theLocationOfTheAddedFileS) |
Add one or more files to a playlist.
|
void |
backTrack() |
Reposition to beginning of current track or go to previous track if already at start of current track.
|
void |
close(Reference theObjectToClose) |
Close an object.
|
Track[] |
convert(Reference[] theFileSTracksSToConvert) |
Convert one or more files or tracks.
|
int |
count(Reference theObjectWhoseElementsAreToBeCounted,
TypeClass theClassOfTheElementsToBeCountedKeywordEachIsOptionalInApplescript) |
Return the number of elements of a particular class within an object.
|
default int |
countAirplayDevices() |
|
int |
countAirplayDevices(String filter) |
|
default int |
countBrowserWindows() |
|
int |
countBrowserWindows(String filter) |
|
default int |
countEncoders() |
|
int |
countEncoders(String filter) |
|
default int |
countEqPresets() |
|
int |
countEqPresets(String filter) |
|
default int |
countEqWindows() |
|
int |
countEqWindows(String filter) |
|
default int |
countMiniplayerWindows() |
|
int |
countMiniplayerWindows(String filter) |
|
default int |
countPlaylists() |
|
int |
countPlaylists(String filter) |
|
default int |
countPlaylistWindows() |
|
int |
countPlaylistWindows(String filter) |
|
default int |
countSources() |
|
int |
countSources(String filter) |
|
default int |
countTracks() |
|
int |
countTracks(String filter) |
|
default int |
countVideoWindows() |
|
int |
countVideoWindows(String filter) |
|
default int |
countVisuals() |
|
int |
countVisuals(String filter) |
|
default int |
countWindows() |
|
int |
countWindows(String filter) |
|
void |
delete(Reference theElementToDelete) |
Delete an element from an object.
|
void |
download(Item theSharedTrackUrlTrackOrPlaylistToDownload) |
Download a cloud track or playlist.
|
Reference |
duplicate(Reference theObjectSToDuplicate,
Reference theNewLocationForTheObjectS) |
Duplicate one or more object(s).
|
boolean |
exists(Reference theObjectInQuestion) |
Verify if an object exists.
|
String |
export(Item theSourceOrPlaylistToExport,
Eexf theFormatToExportForAPlaylist,
JaplScriptFile theDestinationOfTheExport) |
Export a source or playlist.
|
void |
fastForward() |
Skip forward in a playing track.
|
AirplayDevice |
getAirplayDevice(int index) |
|
AirplayDevice |
getAirplayDevice(Id id) |
|
default AirplayDevice[] |
getAirplayDevices() |
|
AirplayDevice[] |
getAirplayDevices(String filter) |
|
BrowserWindow |
getBrowserWindow(int index) |
|
BrowserWindow |
getBrowserWindow(Id id) |
|
default BrowserWindow[] |
getBrowserWindows() |
|
BrowserWindow[] |
getBrowserWindows(String filter) |
|
AirplayDevice[] |
getCurrentAirplayDevices() |
The currently selected AirPlay device(s).
|
Encoder |
getCurrentEncoder() |
The currently selected encoder (MP3, AIFF, WAV, etc.).
|
EqPreset |
getCurrentEqPreset() |
The currently selected equalizer preset.
|
Playlist |
getCurrentPlaylist() |
The playlist containing the currently targeted track.
|
String |
getCurrentStreamTitle() |
The name of the current track in the playing stream (provided by streaming server).
|
String |
getCurrentStreamUrl() |
The URL of the playing stream or streaming web site (provided by streaming server).
|
Track |
getCurrentTrack() |
The current targeted track.
|
Visual |
getCurrentVisual() |
The currently selected visual plug-in.
|
Encoder |
getEncoder(int index) |
|
Encoder |
getEncoder(Id id) |
|
default Encoder[] |
getEncoders() |
|
Encoder[] |
getEncoders(String filter) |
|
EqPreset |
getEqPreset(int index) |
|
EqPreset |
getEqPreset(Id id) |
|
default EqPreset[] |
getEqPresets() |
|
EqPreset[] |
getEqPresets(String filter) |
|
EqWindow |
getEqWindow(int index) |
|
EqWindow |
getEqWindow(Id id) |
|
default EqWindow[] |
getEqWindows() |
|
EqWindow[] |
getEqWindows(String filter) |
|
static Application |
getInstance() |
Returns an instance for application Music.
|
MiniplayerWindow |
getMiniplayerWindow(int index) |
|
MiniplayerWindow |
getMiniplayerWindow(Id id) |
|
default MiniplayerWindow[] |
getMiniplayerWindows() |
|
MiniplayerWindow[] |
getMiniplayerWindows(String filter) |
|
String |
getName() |
The name of the application.
|
double |
getPlayerPosition() |
The player’s position within the currently playing track in seconds.
|
Epls |
getPlayerState() |
Is the player stopped, paused, or playing?
|
Playlist |
getPlaylist(int index) |
|
Playlist |
getPlaylist(Id id) |
|
default Playlist[] |
getPlaylists() |
|
Playlist[] |
getPlaylists(String filter) |
|
PlaylistWindow |
getPlaylistWindow(int index) |
|
PlaylistWindow |
getPlaylistWindow(Id id) |
|
default PlaylistWindow[] |
getPlaylistWindows() |
|
PlaylistWindow[] |
getPlaylistWindows(String filter) |
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
Reference |
getSelection() |
The selection visible to the user.
|
Eshm |
getShuffleMode() |
The playback shuffle mode.
|
Erpt |
getSongRepeat() |
The playback repeat mode.
|
int |
getSoundVolume() |
The sound output volume (0 = minimum, 100 = maximum).
|
Source |
getSource(int index) |
|
Source |
getSource(Id id) |
|
default Source[] |
getSources() |
|
Source[] |
getSources(String filter) |
|
Track |
getTrack(int index) |
|
Track |
getTrack(Id id) |
|
default Track[] |
getTracks() |
|
Track[] |
getTracks(String filter) |
|
String |
getVersion() |
The version of the application.
|
VideoWindow |
getVideoWindow(int index) |
|
VideoWindow |
getVideoWindow(Id id) |
|
default VideoWindow[] |
getVideoWindows() |
|
VideoWindow[] |
getVideoWindows(String filter) |
|
Visual |
getVisual(int index) |
|
Visual |
getVisual(Id id) |
|
default Visual[] |
getVisuals() |
|
Visual[] |
getVisuals(String filter) |
|
Window |
getWindow(int index) |
|
Window |
getWindow(Id id) |
|
default Window[] |
getWindows() |
|
Window[] |
getWindows(String filter) |
|
boolean |
isAirplayEnabled() |
Is AirPlay currently enabled?
|
boolean |
isConverting() |
Is a track currently being converted?
|
boolean |
isEqEnabled() |
Is the equalizer enabled?
|
boolean |
isFixedIndexing() |
True if all AppleScript track indices should be independent of the play order of the owning playlist.
|
boolean |
isFrontmost() |
Is this the active application?
|
boolean |
isFullScreen() |
Is the application using the entire screen?
|
boolean |
isMute() |
Has the sound output been muted?
|
boolean |
isShuffleEnabled() |
Are songs played in random order?
|
boolean |
isVisualsEnabled() |
Are visuals currently being displayed?
|
Reference |
make(TypeClass theClassOfTheNewElementKeywordNewIsOptionalInApplescript,
Reference theLocationAtWhichToInsertTheElement,
Map<String,Reference> theInitialValuesForThePropertiesOfTheElement) |
Make a new element.
|
<T extends Reference> |
make(Class<T> klass) |
Make a new element.
|
void |
move(Playlist thePlaylistSToMove,
Reference theNewLocationForThePlaylistS) |
Move playlist(s) to a new location.
|
void |
nextTrack() |
Advance to the next track in the current playlist.
|
void |
open(Reference listOfObjectsToOpen) |
Open the specified object(s).
|
void |
openLocation(String theUrlToOpen) |
Opens an iTunes Store or audio stream URL.
|
void |
pause() |
Pause playback.
|
void |
play(Reference itemToPlay,
boolean ifTruePlayThisTrackOnceAndThenStop) |
Play the current track or the specified track or file.
|
void |
playpause() |
Toggle the playing/paused state of the current track.
|
void |
previousTrack() |
Return to the previous track in the current playlist.
|
void |
print(Reference listOfObjectsToPrint,
boolean shouldTheApplicationShowThePrintDialog,
PrintSettings thePrintSettings,
Eknd theKindOfPrintoutDesired,
String nameOfThemeToUseForFormattingThePrintout) |
Print the specified object(s).
|
void |
quit() |
Quit the application.
|
void |
refresh(FileTrack theFileTrackToUpdate) |
Update file track information from the current information in the track’s file.
|
void |
resume() |
Disable fast forward/rewind and resume playback, if playing.
|
void |
reveal(Item theItemToReveal) |
Reveal and select a track or playlist.
|
void |
rewind() |
Skip backwards in a playing track.
|
void |
run() |
Run the application.
|
void |
save(Reference theObjectSToSave) |
Save the specified object(s).
|
Track[] |
search(Playlist thePlaylistToSearch,
String theSearchText,
Esra areaToSearchDefaultIsAll) |
Search a playlist for tracks matching the search string.
|
void |
select(Reference theObjectSToSelect) |
Select the specified object(s).
|
void |
setCurrentAirplayDevices(AirplayDevice[] currentAirplayDevices) |
The currently selected AirPlay device(s).
|
void |
setCurrentEncoder(Encoder currentEncoder) |
The currently selected encoder (MP3, AIFF, WAV, etc.).
|
void |
setCurrentEqPreset(EqPreset currentEqPreset) |
The currently selected equalizer preset.
|
void |
setCurrentVisual(Visual currentVisual) |
The currently selected visual plug-in.
|
void |
setEqEnabled(boolean eqEnabled) |
Is the equalizer enabled?
|
void |
setFixedIndexing(boolean fixedIndexing) |
True if all AppleScript track indices should be independent of the play order of the owning playlist.
|
void |
setFrontmost(boolean frontmost) |
Is this the active application?
|
void |
setFullScreen(boolean fullScreen) |
Is the application using the entire screen?
|
void |
setMute(boolean mute) |
Has the sound output been muted?
|
void |
setPlayerPosition(double playerPosition) |
The player’s position within the currently playing track in seconds.
|
void |
setShuffleEnabled(boolean shuffleEnabled) |
Are songs played in random order?
|
void |
setShuffleMode(Eshm shuffleMode) |
The playback shuffle mode.
|
void |
setSongRepeat(Erpt songRepeat) |
The playback repeat mode.
|
void |
setSoundVolume(int soundVolume) |
The sound output volume (0 = minimum, 100 = maximum).
|
void |
setVisualsEnabled(boolean visualsEnabled) |
Are visuals currently being displayed?
|
void |
stop() |
Stop playback.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("command") @Name("print") void print(Reference listOfObjectsToPrint, @Parameter("print dialog") boolean shouldTheApplicationShowThePrintDialog, @Parameter("with properties") PrintSettings thePrintSettings, @Parameter("kind") Eknd theKindOfPrintoutDesired, @Parameter("theme") String nameOfThemeToUseForFormattingThePrintout)
listOfObjectsToPrint
- list of objects to printshouldTheApplicationShowThePrintDialog
- Should the application show the print dialogthePrintSettings
- the print settingstheKindOfPrintoutDesired
- the kind of printout desirednameOfThemeToUseForFormattingThePrintout
- name of theme to use for formatting the printout@Kind("command") @Name("close") void close(Reference theObjectToClose)
theObjectToClose
- the object to close@Kind("command") @Name("count") int count(Reference theObjectWhoseElementsAreToBeCounted, @Parameter("each") TypeClass theClassOfTheElementsToBeCountedKeywordEachIsOptionalInApplescript)
theObjectWhoseElementsAreToBeCounted
- the object whose elements are to be countedtheClassOfTheElementsToBeCountedKeywordEachIsOptionalInApplescript
- the class of the elements to be counted. Keyword 'each' is optional in AppleScript@Kind("command") @Name("delete") void delete(Reference theElementToDelete)
theElementToDelete
- the element to delete@Kind("command") @Name("duplicate") Reference duplicate(Reference theObjectSToDuplicate, @Parameter("to") Reference theNewLocationForTheObjectS)
theObjectSToDuplicate
- the object(s) to duplicatetheNewLocationForTheObjectS
- the new location for the object(s)@Kind("command") @Name("exists") boolean exists(Reference theObjectInQuestion)
theObjectInQuestion
- the object in question@Kind("command") @Name("make") Reference make(@Parameter("new") TypeClass theClassOfTheNewElementKeywordNewIsOptionalInApplescript, @Parameter("at") Reference theLocationAtWhichToInsertTheElement, @Parameter("with properties") Map<String,Reference> theInitialValuesForThePropertiesOfTheElement)
theClassOfTheNewElementKeywordNewIsOptionalInApplescript
- the class of the new element. Keyword 'new' is optional in AppleScripttheLocationAtWhichToInsertTheElement
- the location at which to insert the elementtheInitialValuesForThePropertiesOfTheElement
- the initial values for the properties of the element@Kind("make") <T extends Reference> T make(Class<T> klass)
klass
- Java type of the object to create.@Kind("command") @Name("move") void move(Playlist thePlaylistSToMove, @Parameter("to") Reference theNewLocationForThePlaylistS)
thePlaylistSToMove
- the playlist(s) to movetheNewLocationForThePlaylistS
- the new location for the playlist(s)@Kind("command") @Name("open") void open(Reference listOfObjectsToOpen)
listOfObjectsToOpen
- list of objects to open@Kind("command") @Name("save") void save(Reference theObjectSToSave)
theObjectSToSave
- the object(s) to save@Kind("command") @Name("add") Track[] add(JaplScriptFile[] theFileSToAdd, @Parameter("to") Reference theLocationOfTheAddedFileS)
theFileSToAdd
- the file(s) to addtheLocationOfTheAddedFileS
- the location of the added file(s)@Kind("command") @Name("back track") void backTrack()
@Kind("command") @Name("convert") Track[] convert(Reference[] theFileSTracksSToConvert)
theFileSTracksSToConvert
- the file(s)/tracks(s) to convert@Kind("command") @Name("download") void download(Item theSharedTrackUrlTrackOrPlaylistToDownload)
theSharedTrackUrlTrackOrPlaylistToDownload
- the shared track, URL track or playlist to download@Kind("command") @Name("export") String export(Item theSourceOrPlaylistToExport, @Parameter("as") Eexf theFormatToExportForAPlaylist, @Parameter("to") JaplScriptFile theDestinationOfTheExport)
theSourceOrPlaylistToExport
- the source or playlist to exporttheFormatToExportForAPlaylist
- the format to export for a playlisttheDestinationOfTheExport
- the destination of the export@Kind("command") @Name("fast forward") void fastForward()
@Kind("command") @Name("next track") void nextTrack()
@Kind("command") @Name("play") void play(Reference itemToPlay, @Parameter("once") boolean ifTruePlayThisTrackOnceAndThenStop)
itemToPlay
- item to playifTruePlayThisTrackOnceAndThenStop
- If true, play this track once and then stop.@Kind("command") @Name("playpause") void playpause()
@Kind("command") @Name("previous track") void previousTrack()
@Kind("command") @Name("refresh") void refresh(FileTrack theFileTrackToUpdate)
theFileTrackToUpdate
- the file track to update@Kind("command") @Name("resume") void resume()
@Kind("command") @Name("reveal") void reveal(Item theItemToReveal)
theItemToReveal
- the item to reveal@Kind("command") @Name("search") Track[] search(Playlist thePlaylistToSearch, @Parameter("for") String theSearchText, @Parameter("only") Esra areaToSearchDefaultIsAll)
thePlaylistToSearch
- the playlist to searchtheSearchText
- the search textareaToSearchDefaultIsAll
- area to search (default is all)@Kind("command") @Name("select") void select(Reference theObjectSToSelect)
theObjectSToSelect
- the object(s) to select@Kind("command") @Name("open location") void openLocation(String theUrlToOpen)
theUrlToOpen
- the URL to open@Kind("element") @Type("AirPlay device") default AirplayDevice[] getAirplayDevices()
AirplayDevice
s@Kind("element") @Type("AirPlay device") AirplayDevice[] getAirplayDevices(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"AirplayDevice
s@Kind("element") @Type("AirPlay device") AirplayDevice getAirplayDevice(int index)
index
- index into the element list (zero-based)AirplayDevice
at the requested index@Kind("element") @Type("AirPlay device") AirplayDevice getAirplayDevice(Id id)
id
- id of the itemAirplayDevice
with the requested id@Kind("element") @Type("AirPlay device") default int countAirplayDevices()
AirplayDevice
s@Kind("element") @Type("AirPlay device") int countAirplayDevices(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("browser window") default BrowserWindow[] getBrowserWindows()
BrowserWindow
s@Kind("element") @Type("browser window") BrowserWindow[] getBrowserWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"BrowserWindow
s@Kind("element") @Type("browser window") BrowserWindow getBrowserWindow(int index)
index
- index into the element list (zero-based)BrowserWindow
at the requested index@Kind("element") @Type("browser window") BrowserWindow getBrowserWindow(Id id)
id
- id of the itemBrowserWindow
with the requested id@Kind("element") @Type("browser window") default int countBrowserWindows()
BrowserWindow
s@Kind("element") @Type("browser window") int countBrowserWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("encoder") default Encoder[] getEncoders()
Encoder
s@Kind("element") @Type("encoder") Encoder[] getEncoders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Encoder
s@Kind("element") @Type("encoder") Encoder getEncoder(int index)
index
- index into the element list (zero-based)Encoder
at the requested index@Kind("element") @Type("encoder") Encoder getEncoder(Id id)
id
- id of the itemEncoder
with the requested id@Kind("element") @Type("encoder") default int countEncoders()
Encoder
s@Kind("element") @Type("encoder") int countEncoders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("EQ preset") default EqPreset[] getEqPresets()
EqPreset
s@Kind("element") @Type("EQ preset") EqPreset[] getEqPresets(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"EqPreset
s@Kind("element") @Type("EQ preset") EqPreset getEqPreset(int index)
index
- index into the element list (zero-based)EqPreset
at the requested index@Kind("element") @Type("EQ preset") EqPreset getEqPreset(Id id)
id
- id of the itemEqPreset
with the requested id@Kind("element") @Type("EQ preset") default int countEqPresets()
EqPreset
s@Kind("element") @Type("EQ preset") int countEqPresets(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("EQ window") default EqWindow[] getEqWindows()
EqWindow
s@Kind("element") @Type("EQ window") EqWindow[] getEqWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"EqWindow
s@Kind("element") @Type("EQ window") EqWindow getEqWindow(int index)
index
- index into the element list (zero-based)EqWindow
at the requested index@Kind("element") @Type("EQ window") EqWindow getEqWindow(Id id)
id
- id of the itemEqWindow
with the requested id@Kind("element") @Type("EQ window") default int countEqWindows()
EqWindow
s@Kind("element") @Type("EQ window") int countEqWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("miniplayer window") default MiniplayerWindow[] getMiniplayerWindows()
MiniplayerWindow
s@Kind("element") @Type("miniplayer window") MiniplayerWindow[] getMiniplayerWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"MiniplayerWindow
s@Kind("element") @Type("miniplayer window") MiniplayerWindow getMiniplayerWindow(int index)
index
- index into the element list (zero-based)MiniplayerWindow
at the requested index@Kind("element") @Type("miniplayer window") MiniplayerWindow getMiniplayerWindow(Id id)
id
- id of the itemMiniplayerWindow
with the requested id@Kind("element") @Type("miniplayer window") default int countMiniplayerWindows()
MiniplayerWindow
s@Kind("element") @Type("miniplayer window") int countMiniplayerWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("playlist") default Playlist[] getPlaylists()
Playlist
s@Kind("element") @Type("playlist") Playlist[] getPlaylists(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Playlist
s@Kind("element") @Type("playlist") Playlist getPlaylist(int index)
index
- index into the element list (zero-based)Playlist
at the requested index@Kind("element") @Type("playlist") Playlist getPlaylist(Id id)
id
- id of the itemPlaylist
with the requested id@Kind("element") @Type("playlist") default int countPlaylists()
Playlist
s@Kind("element") @Type("playlist") int countPlaylists(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("playlist window") default PlaylistWindow[] getPlaylistWindows()
PlaylistWindow
s@Kind("element") @Type("playlist window") PlaylistWindow[] getPlaylistWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"PlaylistWindow
s@Kind("element") @Type("playlist window") PlaylistWindow getPlaylistWindow(int index)
index
- index into the element list (zero-based)PlaylistWindow
at the requested index@Kind("element") @Type("playlist window") PlaylistWindow getPlaylistWindow(Id id)
id
- id of the itemPlaylistWindow
with the requested id@Kind("element") @Type("playlist window") default int countPlaylistWindows()
PlaylistWindow
s@Kind("element") @Type("playlist window") int countPlaylistWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("source") default Source[] getSources()
Source
s@Kind("element") @Type("source") Source[] getSources(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Source
s@Kind("element") @Type("source") Source getSource(int index)
index
- index into the element list (zero-based)Source
at the requested index@Kind("element") @Type("source") Source getSource(Id id)
id
- id of the itemSource
with the requested id@Kind("element") @Type("source") default int countSources()
Source
s@Kind("element") @Type("source") int countSources(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("track") default Track[] getTracks()
Track
s@Kind("element") @Type("track") Track[] getTracks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Track
s@Kind("element") @Type("track") Track getTrack(int index)
index
- index into the element list (zero-based)Track
at the requested index@Kind("element") @Type("track") Track getTrack(Id id)
id
- id of the itemTrack
with the requested id@Kind("element") @Type("track") default int countTracks()
Track
s@Kind("element") @Type("track") int countTracks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("video window") default VideoWindow[] getVideoWindows()
VideoWindow
s@Kind("element") @Type("video window") VideoWindow[] getVideoWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"VideoWindow
s@Kind("element") @Type("video window") VideoWindow getVideoWindow(int index)
index
- index into the element list (zero-based)VideoWindow
at the requested index@Kind("element") @Type("video window") VideoWindow getVideoWindow(Id id)
id
- id of the itemVideoWindow
with the requested id@Kind("element") @Type("video window") default int countVideoWindows()
VideoWindow
s@Kind("element") @Type("video window") int countVideoWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("visual") default Visual[] getVisuals()
Visual
s@Kind("element") @Type("visual") Visual[] getVisuals(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Visual
s@Kind("element") @Type("visual") Visual getVisual(int index)
index
- index into the element list (zero-based)Visual
at the requested index@Kind("element") @Type("visual") Visual getVisual(Id id)
id
- id of the itemVisual
with the requested id@Kind("element") @Type("visual") default int countVisuals()
Visual
s@Kind("element") @Type("visual") int countVisuals(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("window") default Window[] getWindows()
Window
s@Kind("element") @Type("window") Window[] getWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Window
s@Kind("element") @Type("window") Window getWindow(int index)
index
- index into the element list (zero-based)Window
at the requested index@Kind("element") @Type("window") Window getWindow(Id id)
id
- id of the itemWindow
with the requested id@Kind("element") @Type("window") default int countWindows()
Window
s@Kind("element") @Type("window") int countWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("pAPE") @Kind("property") @Name("AirPlay enabled") @Type("boolean") boolean isAirplayEnabled()
@Code("pCnv") @Kind("property") @Name("converting") @Type("boolean") boolean isConverting()
@Code("pAPD") @Kind("property") @Name("current AirPlay devices") @Type("AirPlay device") AirplayDevice[] getCurrentAirplayDevices()
@Code("pAPD") @Kind("property") @Name("current AirPlay devices") @Type("AirPlay device") void setCurrentAirplayDevices(AirplayDevice[] currentAirplayDevices)
currentAirplayDevices
- new property value@Code("pEnc") @Kind("property") @Name("current encoder") @Type("encoder") Encoder getCurrentEncoder()
@Code("pEnc") @Kind("property") @Name("current encoder") @Type("encoder") void setCurrentEncoder(Encoder currentEncoder)
currentEncoder
- new property value@Code("pEQP") @Kind("property") @Name("current EQ preset") @Type("EQ preset") EqPreset getCurrentEqPreset()
@Code("pEQP") @Kind("property") @Name("current EQ preset") @Type("EQ preset") void setCurrentEqPreset(EqPreset currentEqPreset)
currentEqPreset
- new property value@Code("pPla") @Kind("property") @Name("current playlist") @Type("playlist") Playlist getCurrentPlaylist()
@Code("pStT") @Kind("property") @Name("current stream title") @Type("text") String getCurrentStreamTitle()
@Code("pStU") @Kind("property") @Name("current stream URL") @Type("text") String getCurrentStreamUrl()
@Code("pTrk") @Kind("property") @Name("current track") @Type("track") Track getCurrentTrack()
@Code("pVis") @Kind("property") @Name("current visual") @Type("visual") Visual getCurrentVisual()
@Code("pVis") @Kind("property") @Name("current visual") @Type("visual") void setCurrentVisual(Visual currentVisual)
currentVisual
- new property value@Code("pEQ ") @Kind("property") @Name("EQ enabled") @Type("boolean") boolean isEqEnabled()
@Code("pEQ ") @Kind("property") @Name("EQ enabled") @Type("boolean") void setEqEnabled(boolean eqEnabled)
eqEnabled
- new property value@Code("pFix") @Kind("property") @Name("fixed indexing") @Type("boolean") boolean isFixedIndexing()
@Code("pFix") @Kind("property") @Name("fixed indexing") @Type("boolean") void setFixedIndexing(boolean fixedIndexing)
fixedIndexing
- new property value@Code("pisf") @Kind("property") @Name("frontmost") @Type("boolean") boolean isFrontmost()
@Code("pisf") @Kind("property") @Name("frontmost") @Type("boolean") void setFrontmost(boolean frontmost)
frontmost
- new property value@Code("pFSc") @Kind("property") @Name("full screen") @Type("boolean") boolean isFullScreen()
@Code("pFSc") @Kind("property") @Name("full screen") @Type("boolean") void setFullScreen(boolean fullScreen)
fullScreen
- new property value@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("pMut") @Kind("property") @Name("mute") @Type("boolean") boolean isMute()
@Code("pMut") @Kind("property") @Name("mute") @Type("boolean") void setMute(boolean mute)
mute
- new property value@Code("pPos") @Kind("property") @Name("player position") @Type("real") double getPlayerPosition()
@Code("pPos") @Kind("property") @Name("player position") @Type("real") void setPlayerPosition(double playerPosition)
playerPosition
- new property value@Code("pPlS") @Kind("property") @Name("player state") @Type("ePlS") Epls getPlayerState()
@Code("sele") @Kind("property") @Name("selection") @Type("specifier") Reference getSelection()
@Code("pShE") @Kind("property") @Name("shuffle enabled") @Type("boolean") boolean isShuffleEnabled()
@Code("pShE") @Kind("property") @Name("shuffle enabled") @Type("boolean") void setShuffleEnabled(boolean shuffleEnabled)
shuffleEnabled
- new property value@Code("pShM") @Kind("property") @Name("shuffle mode") @Type("eShM") Eshm getShuffleMode()
@Code("pShM") @Kind("property") @Name("shuffle mode") @Type("eShM") void setShuffleMode(Eshm shuffleMode)
shuffleMode
- new property value@Code("pRpt") @Kind("property") @Name("song repeat") @Type("eRpt") Erpt getSongRepeat()
@Code("pRpt") @Kind("property") @Name("song repeat") @Type("eRpt") void setSongRepeat(Erpt songRepeat)
songRepeat
- new property value@Code("pVol") @Kind("property") @Name("sound volume") @Type("integer") int getSoundVolume()
@Code("pVol") @Kind("property") @Name("sound volume") @Type("integer") void setSoundVolume(int soundVolume)
soundVolume
- new property value@Code("vers") @Kind("property") @Name("version") @Type("text") String getVersion()
@Code("pVsE") @Kind("property") @Name("visuals enabled") @Type("boolean") boolean isVisualsEnabled()
@Code("pVsE") @Kind("property") @Name("visuals enabled") @Type("boolean") void setVisualsEnabled(boolean visualsEnabled)
visualsEnabled
- new property valueMap<String,Object> getProperties()
static Application getInstance()