Modifier and Type | Field | Description |
---|---|---|
static Set<Class<?>> |
APPLICATION_CLASSES |
All classes belonging to this application.
|
static TypeClass |
CLASS |
Modifier and Type | Method | Description |
---|---|---|
void |
abortTransaction() |
Discard the results of a bounded update session with one or more files.
|
Reference |
attachActionTo(Reference theObjectForTheCommand,
String aFileContainingTheScriptToAttach) |
Attach an action to a folder.
|
Reference[] |
attachedScripts(Reference theObjectForTheCommand) |
List the actions attached to a folder.
|
int |
beginTransaction() |
Begin a bounded update session with one or more files.
|
UiElement |
cancel(Reference theObjectForTheCommand) |
Cause the target process to behave as if the UI element were cancelled.
|
UiElement |
click(UiElement theUiElementToBeClicked,
double[] whenSentToAProcessObjectTheXYLocationAtWhichToClickInGlobalCoordinates) |
Cause the target process to behave as if the UI element were clicked.
|
UiElement |
confirm(Reference theObjectForTheCommand) |
Cause the target process to behave as if the UI element were confirmed.
|
Configuration |
connect(Configuration aConfigurationOrService) |
Connect a configuration or service.
|
Configuration |
connect(Service aConfigurationOrService) |
Connect a configuration or service.
|
default int |
countAliass() |
|
int |
countAliass(String filter) |
|
default int |
countApplicationProcesss() |
|
int |
countApplicationProcesss(String filter) |
|
default int |
countDeskAccessoryProcesss() |
|
int |
countDeskAccessoryProcesss(String filter) |
|
default int |
countDesktops() |
|
int |
countDesktops(String filter) |
|
default int |
countDiskItems() |
|
int |
countDiskItems(String filter) |
|
default int |
countDisks() |
|
int |
countDisks(String filter) |
|
default int |
countDomains() |
|
int |
countDomains(String filter) |
|
default int |
countFilePackages() |
|
int |
countFilePackages(String filter) |
|
default int |
countFiles() |
|
int |
countFiles(String filter) |
|
default int |
countFolders() |
|
int |
countFolders(String filter) |
|
default int |
countItems() |
|
int |
countItems(String filter) |
|
default int |
countLoginItems() |
|
int |
countLoginItems(String filter) |
|
default int |
countProcesss() |
|
int |
countProcesss(String filter) |
|
default int |
countPropertyListFiles() |
|
int |
countPropertyListFiles(String filter) |
|
default int |
countPropertyListItems() |
|
int |
countPropertyListItems(String filter) |
|
default int |
countScreenSavers() |
|
int |
countScreenSavers(String filter) |
|
default int |
countUiElements() |
|
int |
countUiElements(String filter) |
|
default int |
countUsers() |
|
int |
countUsers(String filter) |
|
default int |
countXmlDatas() |
|
int |
countXmlDatas(String filter) |
|
default int |
countXmlFiles() |
|
int |
countXmlFiles(String filter) |
|
UiElement |
decrement(Reference theObjectForTheCommand) |
Cause the target process to behave as if the UI element were decremented.
|
void |
delete(DiskItem theDiskItemSToBeDeleted) |
Delete disk item(s).
|
Configuration |
disconnect(Configuration aConfigurationOrService) |
Disconnect a configuration or service.
|
Configuration |
disconnect(Service aConfigurationOrService) |
Disconnect a configuration or service.
|
void |
doFolderAction(Reference theObjectForTheCommand,
Actn theFolderActionMessageToProcess,
Reference aListOfItemsForTheFolderActionMessageToProcess,
Rectangle theNewWindowSizeForTheFolderActionMessageToProcess) |
Send a folder action code to a folder action script.
|
File |
editActionOf(Reference theObjectForTheCommand,
String OrTheNameOfTheActionToEdit,
int theIndexNumberOfTheActionToEdit) |
Edit an action of a folder.
|
void |
endTransaction() |
Apply the results of a bounded update session with one or more files.
|
Alias |
getAlias(int index) |
|
Alias |
getAlias(Id id) |
|
default Alias[] |
getAliass() |
|
Alias[] |
getAliass(String filter) |
|
AppearancePreferencesObject |
getAppearancePreferences() |
A collection of appearance preferences.
|
ApplicationProcess |
getApplicationProcess(int index) |
|
ApplicationProcess |
getApplicationProcess(Id id) |
|
default ApplicationProcess[] |
getApplicationProcesss() |
|
ApplicationProcess[] |
getApplicationProcesss(String filter) |
|
Folder |
getApplicationsFolder() |
The user's Applications folder.
|
Folder |
getApplicationSupportFolder() |
The Application Support folder.
|
CdAndDvdPreferencesObject |
getCdAndDvdPreferences() |
The preferences for the current user when a CD or DVD is inserted.
|
ClassicDomainObject |
getClassicDomain() |
The collection of folders belonging to the Classic System.
|
Desktop |
getCurrentDesktop() |
The primary desktop.
|
ScreenSaver |
getCurrentScreenSaver() |
The currently selected screen saver.
|
User |
getCurrentUser() |
The currently logged in user.
|
DeskAccessoryProcess |
getDeskAccessoryProcess(int index) |
|
DeskAccessoryProcess |
getDeskAccessoryProcess(Id id) |
|
default DeskAccessoryProcess[] |
getDeskAccessoryProcesss() |
|
DeskAccessoryProcess[] |
getDeskAccessoryProcesss(String filter) |
|
Desktop |
getDesktop(int index) |
|
Desktop |
getDesktop(Id id) |
|
Folder |
getDesktopFolder() |
The user's Desktop folder.
|
Folder |
getDesktopPicturesFolder() |
The Desktop Pictures folder.
|
default Desktop[] |
getDesktops() |
|
Desktop[] |
getDesktops(String filter) |
|
Disk |
getDisk(int index) |
|
Disk |
getDisk(Id id) |
|
DiskItem |
getDiskItem(int index) |
|
DiskItem |
getDiskItem(Id id) |
|
default DiskItem[] |
getDiskItems() |
|
DiskItem[] |
getDiskItems(String filter) |
|
default Disk[] |
getDisks() |
|
Disk[] |
getDisks(String filter) |
|
DockPreferencesObject |
getDockPreferences() |
The preferences for the current user's dock.
|
Folder |
getDocumentsFolder() |
The user's Documents folder.
|
Domain |
getDomain(int index) |
|
Domain |
getDomain(Id id) |
|
default Domain[] |
getDomains() |
|
Domain[] |
getDomains(String filter) |
|
Folder |
getDownloadsFolder() |
The user's Downloads folder.
|
Folder |
getFavoritesFolder() |
The user's Favorites folder.
|
File |
getFile(int index) |
|
File |
getFile(Id id) |
|
FilePackage |
getFilePackage(int index) |
|
FilePackage |
getFilePackage(Id id) |
|
default FilePackage[] |
getFilePackages() |
|
FilePackage[] |
getFilePackages(String filter) |
|
default File[] |
getFiles() |
|
File[] |
getFiles(String filter) |
|
Folder |
getFolder(int index) |
|
Folder |
getFolder(Id id) |
|
Folder |
getFolderActionScriptsFolder() |
The user's Folder Action Scripts folder.
|
default Folder[] |
getFolders() |
|
Folder[] |
getFolders(String filter) |
|
Folder |
getFontsFolder() |
The Fonts folder.
|
Folder |
getHomeFolder() |
The Home folder of the currently logged in user.
|
static Application |
getInstance() |
Returns an instance for application System Events.
|
Reference |
getItem(int index) |
|
Reference |
getItem(Id id) |
|
default Reference[] |
getItems() |
|
Reference[] |
getItems(String filter) |
|
Folder |
getLibraryFolder() |
The Library folder.
|
LocalDomainObject |
getLocalDomain() |
The collection of folders residing on the Local machine.
|
LoginItem |
getLoginItem(int index) |
|
LoginItem |
getLoginItem(Id id) |
|
default LoginItem[] |
getLoginItems() |
|
LoginItem[] |
getLoginItems(String filter) |
|
Folder |
getMoviesFolder() |
The user's Movies folder.
|
Folder |
getMusicFolder() |
The user's Music folder.
|
NetworkDomainObject |
getNetworkDomain() |
The collection of folders residing on the Network.
|
NetworkPreferencesObject |
getNetworkPreferences() |
The preferences for the current user's network.
|
Folder |
getPicturesFolder() |
The user's Pictures folder.
|
Folder |
getPreferencesFolder() |
The user's Preferences folder.
|
Process |
getProcess(int index) |
|
Process |
getProcess(Id id) |
|
default Process[] |
getProcesss() |
|
Process[] |
getProcesss(String filter) |
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
PropertyListFile |
getPropertyListFile(int index) |
|
PropertyListFile |
getPropertyListFile(Id id) |
|
default PropertyListFile[] |
getPropertyListFiles() |
|
PropertyListFile[] |
getPropertyListFiles(String filter) |
|
PropertyListItem |
getPropertyListItem(int index) |
|
PropertyListItem |
getPropertyListItem(Id id) |
|
default PropertyListItem[] |
getPropertyListItems() |
|
PropertyListItem[] |
getPropertyListItems(String filter) |
|
Folder |
getPublicFolder() |
The user's Public folder.
|
int |
getQuitDelay() |
The time in seconds the application will idle before quitting; if set to zero, idle time will not cause the application to quit.
|
ScreenSaver |
getScreenSaver(int index) |
|
ScreenSaver |
getScreenSaver(Id id) |
|
ScreenSaverPreferencesObject |
getScreenSaverPreferences() |
The preferences common to all screen savers.
|
default ScreenSaver[] |
getScreenSavers() |
|
ScreenSaver[] |
getScreenSavers(String filter) |
|
Folder |
getScriptingAdditionsFolder() |
The Scripting Additions folder.
|
ScriptingDefinitionObject |
getScriptingDefinition() |
The scripting definition of the System Events application.
|
Folder |
getScriptsFolder() |
The user's Scripts folder.
|
SecurityPreferencesObject |
getSecurityPreferences() |
A collection of security preferences.
|
Folder |
getSharedDocumentsFolder() |
The Shared Documents folder.
|
Folder |
getSitesFolder() |
The user's Sites folder.
|
Folder |
getSpeakableItemsFolder() |
The Speakable Items folder.
|
Disk |
getStartupDisk() |
The disk from which Mac OS X was loaded.
|
SystemDomainObject |
getSystemDomain() |
The collection of folders belonging to the System.
|
Folder |
getTemporaryItemsFolder() |
The Temporary Items folder.
|
Folder |
getTrash() |
The user's Trash folder.
|
UiElement |
getUiElement(int index) |
|
UiElement |
getUiElement(Id id) |
|
default UiElement[] |
getUiElements() |
|
UiElement[] |
getUiElements(String filter) |
|
User |
getUser(int index) |
|
User |
getUser(Id id) |
|
UserDomainObject |
getUserDomain() |
The collection of folders belonging to the User.
|
default User[] |
getUsers() |
|
User[] |
getUsers(String filter) |
|
Folder |
getUtilitiesFolder() |
The Utilities folder.
|
Folder |
getWorkflowsFolder() |
The Automator Workflows folder.
|
XmlData |
getXmlData(int index) |
|
XmlData |
getXmlData(Id id) |
|
default XmlData[] |
getXmlDatas() |
|
XmlData[] |
getXmlDatas(String filter) |
|
XmlFile |
getXmlFile(int index) |
|
XmlFile |
getXmlFile(Id id) |
|
default XmlFile[] |
getXmlFiles() |
|
XmlFile[] |
getXmlFiles(String filter) |
|
UiElement |
increment(Reference theObjectForTheCommand) |
Cause the target process to behave as if the UI element were incremented.
|
boolean |
isScriptMenuEnabled() |
Is the Script menu installed in the menu bar?
|
boolean |
isUiElementsEnabled() |
Are UI element events currently being processed?
|
void |
keyCode(int[] theKeyCodeSToBeSentMayBeAList,
Emds modifiersWithWhichTheKeyCodesAreToBeEntered) |
Cause the target process to behave as if key codes were entered.
|
void |
keyCode(int theKeyCodeSToBeSentMayBeAList,
Emds modifiersWithWhichTheKeyCodesAreToBeEntered) |
Cause the target process to behave as if key codes were entered.
|
void |
keyDown(int aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were held down.
|
void |
keyDown(Emky aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were held down.
|
void |
keyDown(Emky[] aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were held down.
|
void |
keyDown(String aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were held down.
|
void |
keystroke(String theKeystrokesToBeSent,
Emds modifiersWithWhichTheKeystrokesAreToBeEntered) |
Cause the target process to behave as if keystrokes were entered.
|
void |
keyUp(int aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were released.
|
void |
keyUp(Emky aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were released.
|
void |
keyUp(Emky[] aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were released.
|
void |
keyUp(String aKeystrokeKeyCodeOrListOfModifierKeyNames) |
Cause the target process to behave as if keys were released.
|
void |
logOut() |
Log out the current user.
|
DiskItem |
move(DiskItem[] theDiskItemSToBeMoved,
Reference theNewLocationForTheDiskItemS) |
Move disk item(s) to a new location.
|
DiskItem |
move(DiskItem theDiskItemSToBeMoved,
Reference theNewLocationForTheDiskItemS) |
Move disk item(s) to a new location.
|
DiskItem |
move(String[] theDiskItemSToBeMoved,
Reference theNewLocationForTheDiskItemS) |
Move disk item(s) to a new location.
|
DiskItem |
move(String theDiskItemSToBeMoved,
Reference theNewLocationForTheDiskItemS) |
Move disk item(s) to a new location.
|
File |
open(File theDiskItemSToBeOpened) |
Open disk item(s) with the appropriate application.
|
File |
open(String theDiskItemSToBeOpened) |
Open disk item(s) with the appropriate application.
|
Action |
perform(Action theActionToBePerformed) |
Cause the target process to behave as if the action were applied to its UI element.
|
UiElement |
pick(Reference theObjectForTheCommand) |
Cause the target process to behave as if the UI element were picked.
|
Reference |
removeActionFrom(Reference theObjectForTheCommand,
String OrTheNameOfTheActionToRemove,
int theIndexNumberOfTheActionToRemove) |
Remove a folder action from a folder.
|
void |
restart(boolean isTheUserDefinedStateSavingPreferenceFollowed) |
Restart the computer.
|
UiElement |
select(UiElement theUiElementToBeSelected) |
Set the selected property of the UI element.
|
void |
setAppearancePreferences(AppearancePreferencesObject appearancePreferences) |
A collection of appearance preferences.
|
void |
setCdAndDvdPreferences(CdAndDvdPreferencesObject cdAndDvdPreferences) |
The preferences for the current user when a CD or DVD is inserted.
|
void |
setCurrentScreenSaver(ScreenSaver currentScreenSaver) |
The currently selected screen saver.
|
void |
setDockPreferences(DockPreferencesObject dockPreferences) |
The preferences for the current user's dock.
|
void |
setNetworkPreferences(NetworkPreferencesObject networkPreferences) |
The preferences for the current user's network.
|
void |
setQuitDelay(int quitDelay) |
The time in seconds the application will idle before quitting; if set to zero, idle time will not cause the application to quit.
|
void |
setScreenSaverPreferences(ScreenSaverPreferencesObject screenSaverPreferences) |
The preferences common to all screen savers.
|
void |
setSecurityPreferences(SecurityPreferencesObject securityPreferences) |
A collection of security preferences.
|
void |
shutDown(boolean isTheUserDefinedStateSavingPreferenceFollowed) |
Shut Down the computer.
|
void |
sleep() |
Put the computer to sleep.
|
void |
start(ScreenSaver theObjectForTheCommand) |
Start the screen saver.
|
void |
start(ScreenSaverPreferencesObject theObjectForTheCommand) |
Start the screen saver.
|
void |
stop(ScreenSaver theObjectForTheCommand) |
Stop the screen saver.
|
void |
stop(ScreenSaverPreferencesObject theObjectForTheCommand) |
Stop the screen saver.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("command") @Name("abort transaction") void abortTransaction()
@Kind("command") @Name("begin transaction") int beginTransaction()
@Kind("command") @Name("end transaction") void endTransaction()
@Kind("command") @Name("connect") Configuration connect(Configuration aConfigurationOrService)
aConfigurationOrService
- a configuration or service@Kind("command") @Name("connect") Configuration connect(Service aConfigurationOrService)
aConfigurationOrService
- a configuration or service@Kind("command") @Name("disconnect") Configuration disconnect(Configuration aConfigurationOrService)
aConfigurationOrService
- a configuration or service@Kind("command") @Name("disconnect") Configuration disconnect(Service aConfigurationOrService)
aConfigurationOrService
- a configuration or service@Kind("command") @Name("start") void start(ScreenSaver theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("start") void start(ScreenSaverPreferencesObject theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("stop") void stop(ScreenSaver theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("stop") void stop(ScreenSaverPreferencesObject theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("delete") void delete(DiskItem theDiskItemSToBeDeleted)
theDiskItemSToBeDeleted
- The disk item(s) to be deleted.@Kind("command") @Name("move") DiskItem move(DiskItem theDiskItemSToBeMoved, @Parameter("to") Reference theNewLocationForTheDiskItemS)
theDiskItemSToBeMoved
- The disk item(s) to be moved.theNewLocationForTheDiskItemS
- The new location for the disk item(s).@Kind("command") @Name("move") DiskItem move(DiskItem[] theDiskItemSToBeMoved, @Parameter("to") Reference theNewLocationForTheDiskItemS)
theDiskItemSToBeMoved
- The disk item(s) to be moved.theNewLocationForTheDiskItemS
- The new location for the disk item(s).@Kind("command") @Name("move") DiskItem move(String theDiskItemSToBeMoved, @Parameter("to") Reference theNewLocationForTheDiskItemS)
theDiskItemSToBeMoved
- The disk item(s) to be moved.theNewLocationForTheDiskItemS
- The new location for the disk item(s).@Kind("command") @Name("move") DiskItem move(String[] theDiskItemSToBeMoved, @Parameter("to") Reference theNewLocationForTheDiskItemS)
theDiskItemSToBeMoved
- The disk item(s) to be moved.theNewLocationForTheDiskItemS
- The new location for the disk item(s).@Kind("command") @Name("open") File open(File theDiskItemSToBeOpened)
theDiskItemSToBeOpened
- The disk item(s) to be opened.@Kind("command") @Name("open") File open(String theDiskItemSToBeOpened)
theDiskItemSToBeOpened
- The disk item(s) to be opened.@Kind("command") @Name("restart") void restart(@Parameter("state saving preference") boolean isTheUserDefinedStateSavingPreferenceFollowed)
isTheUserDefinedStateSavingPreferenceFollowed
- Is the user defined state saving preference followed?@Kind("command") @Name("shut down") void shutDown(@Parameter("state saving preference") boolean isTheUserDefinedStateSavingPreferenceFollowed)
isTheUserDefinedStateSavingPreferenceFollowed
- Is the user defined state saving preference followed?@Kind("command") @Name("click") UiElement click(UiElement theUiElementToBeClicked, @Parameter("at") double[] whenSentToAProcessObjectTheXYLocationAtWhichToClickInGlobalCoordinates)
theUiElementToBeClicked
- The UI element to be clicked.whenSentToAProcessObjectTheXYLocationAtWhichToClickInGlobalCoordinates
- when sent to a "process" object, the { x, y } location at which to click, in global coordinates@Kind("command") @Name("key code") void keyCode(int theKeyCodeSToBeSentMayBeAList, @Parameter("using") Emds modifiersWithWhichTheKeyCodesAreToBeEntered)
theKeyCodeSToBeSentMayBeAList
- The key code(s) to be sent. May be a list.modifiersWithWhichTheKeyCodesAreToBeEntered
- modifiers with which the key codes are to be entered@Kind("command") @Name("key code") void keyCode(int[] theKeyCodeSToBeSentMayBeAList, @Parameter("using") Emds modifiersWithWhichTheKeyCodesAreToBeEntered)
theKeyCodeSToBeSentMayBeAList
- The key code(s) to be sent. May be a list.modifiersWithWhichTheKeyCodesAreToBeEntered
- modifiers with which the key codes are to be entered@Kind("command") @Name("keystroke") void keystroke(String theKeystrokesToBeSent, @Parameter("using") Emds modifiersWithWhichTheKeystrokesAreToBeEntered)
theKeystrokesToBeSent
- The keystrokes to be sent.modifiersWithWhichTheKeystrokesAreToBeEntered
- modifiers with which the keystrokes are to be entered@Kind("command") @Name("perform") Action perform(Action theActionToBePerformed)
theActionToBePerformed
- The action to be performed.@Kind("command") @Name("select") UiElement select(UiElement theUiElementToBeSelected)
theUiElementToBeSelected
- The UI element to be selected.@Kind("command") @Name("attach action to") Reference attachActionTo(Reference theObjectForTheCommand, @Parameter("using") String aFileContainingTheScriptToAttach)
theObjectForTheCommand
- the object for the commandaFileContainingTheScriptToAttach
- a file containing the script to attach@Kind("command") @Name("attached scripts") Reference[] attachedScripts(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("cancel") UiElement cancel(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("confirm") UiElement confirm(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("decrement") UiElement decrement(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("do folder action") void doFolderAction(Reference theObjectForTheCommand, @Parameter("folder action code") Actn theFolderActionMessageToProcess, @Parameter("with item list") Reference aListOfItemsForTheFolderActionMessageToProcess, @Parameter("with window size") Rectangle theNewWindowSizeForTheFolderActionMessageToProcess)
theObjectForTheCommand
- the object for the commandtheFolderActionMessageToProcess
- the folder action message to processaListOfItemsForTheFolderActionMessageToProcess
- a list of items for the folder action message to processtheNewWindowSizeForTheFolderActionMessageToProcess
- the new window size for the folder action message to process@Kind("command") @Name("edit action of") File editActionOf(Reference theObjectForTheCommand, @Parameter("using action name") String OrTheNameOfTheActionToEdit, @Parameter("using action number") int theIndexNumberOfTheActionToEdit)
theObjectForTheCommand
- the object for the commandOrTheNameOfTheActionToEdit
- ...or the name of the action to edittheIndexNumberOfTheActionToEdit
- the index number of the action to edit...@Kind("command") @Name("increment") UiElement increment(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("key down") void keyDown(String aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key down") void keyDown(int aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key down") void keyDown(Emky aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key down") void keyDown(Emky[] aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key up") void keyUp(String aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key up") void keyUp(int aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key up") void keyUp(Emky aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("key up") void keyUp(Emky[] aKeystrokeKeyCodeOrListOfModifierKeyNames)
aKeystrokeKeyCodeOrListOfModifierKeyNames
- a keystroke, key code, or (list of) modifier key names.@Kind("command") @Name("pick") UiElement pick(Reference theObjectForTheCommand)
theObjectForTheCommand
- the object for the command@Kind("command") @Name("remove action from") Reference removeActionFrom(Reference theObjectForTheCommand, @Parameter("using action name") String OrTheNameOfTheActionToRemove, @Parameter("using action number") int theIndexNumberOfTheActionToRemove)
theObjectForTheCommand
- the object for the commandOrTheNameOfTheActionToRemove
- ...or the name of the action to removetheIndexNumberOfTheActionToRemove
- the index number of the action to remove...@Code("qdel") @Kind("property") @Name("quit delay") @Type("integer") int getQuitDelay()
@Code("qdel") @Kind("property") @Name("quit delay") @Type("integer") void setQuitDelay(int quitDelay)
quitDelay
- new property value@Code("scmn") @Kind("property") @Name("script menu enabled") @Type("boolean") boolean isScriptMenuEnabled()
@Kind("element") @Type("user") User[] getUsers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"User
s@Kind("element") @Type("user") User getUser(int index)
index
- index into the element list (zero-based)User
at the requested index@Kind("element") @Type("user") User getUser(Id id)
id
- id of the itemUser
with the requested id@Kind("element") @Type("user") int countUsers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("curu") @Kind("property") @Name("current user") @Type("user") User getCurrentUser()
@Code("aprp") @Kind("property") @Name("appearance preferences") @Type("appearance preferences object") AppearancePreferencesObject getAppearancePreferences()
@Code("aprp") @Kind("property") @Name("appearance preferences") @Type("appearance preferences object") void setAppearancePreferences(AppearancePreferencesObject appearancePreferences)
appearancePreferences
- new property value@Code("dhas") @Kind("property") @Name("CD and DVD preferences") @Type("CD and DVD preferences object") CdAndDvdPreferencesObject getCdAndDvdPreferences()
@Code("dhas") @Kind("property") @Name("CD and DVD preferences") @Type("CD and DVD preferences object") void setCdAndDvdPreferences(CdAndDvdPreferencesObject cdAndDvdPreferences)
cdAndDvdPreferences
- new property value@Kind("element") @Type("desktop") default Desktop[] getDesktops()
Desktop
s@Kind("element") @Type("desktop") Desktop[] getDesktops(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Desktop
s@Kind("element") @Type("desktop") Desktop getDesktop(int index)
index
- index into the element list (zero-based)Desktop
at the requested index@Kind("element") @Type("desktop") Desktop getDesktop(Id id)
id
- id of the itemDesktop
with the requested id@Kind("element") @Type("desktop") default int countDesktops()
Desktop
s@Kind("element") @Type("desktop") int countDesktops(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("curd") @Kind("property") @Name("current desktop") @Type("desktop") Desktop getCurrentDesktop()
@Code("dpas") @Kind("property") @Name("dock preferences") @Type("dock preferences object") DockPreferencesObject getDockPreferences()
@Code("dpas") @Kind("property") @Name("dock preferences") @Type("dock preferences object") void setDockPreferences(DockPreferencesObject dockPreferences)
dockPreferences
- new property value@Kind("element") @Type("login item") default LoginItem[] getLoginItems()
LoginItem
s@Kind("element") @Type("login item") LoginItem[] getLoginItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"LoginItem
s@Kind("element") @Type("login item") LoginItem getLoginItem(int index)
index
- index into the element list (zero-based)LoginItem
at the requested index@Kind("element") @Type("login item") LoginItem getLoginItem(Id id)
id
- id of the itemLoginItem
with the requested id@Kind("element") @Type("login item") default int countLoginItems()
LoginItem
s@Kind("element") @Type("login item") int countLoginItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("netp") @Kind("property") @Name("network preferences") @Type("network preferences object") NetworkPreferencesObject getNetworkPreferences()
@Code("netp") @Kind("property") @Name("network preferences") @Type("network preferences object") void setNetworkPreferences(NetworkPreferencesObject networkPreferences)
networkPreferences
- new property value@Kind("element") @Type("screen saver") default ScreenSaver[] getScreenSavers()
ScreenSaver
s@Kind("element") @Type("screen saver") ScreenSaver[] getScreenSavers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"ScreenSaver
s@Kind("element") @Type("screen saver") ScreenSaver getScreenSaver(int index)
index
- index into the element list (zero-based)ScreenSaver
at the requested index@Kind("element") @Type("screen saver") ScreenSaver getScreenSaver(Id id)
id
- id of the itemScreenSaver
with the requested id@Kind("element") @Type("screen saver") default int countScreenSavers()
ScreenSaver
s@Kind("element") @Type("screen saver") int countScreenSavers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("ssvc") @Kind("property") @Name("current screen saver") @Type("screen saver") ScreenSaver getCurrentScreenSaver()
@Code("ssvc") @Kind("property") @Name("current screen saver") @Type("screen saver") void setCurrentScreenSaver(ScreenSaver currentScreenSaver)
currentScreenSaver
- new property value@Code("ssvp") @Kind("property") @Name("screen saver preferences") @Type("screen saver preferences object") ScreenSaverPreferencesObject getScreenSaverPreferences()
@Code("ssvp") @Kind("property") @Name("screen saver preferences") @Type("screen saver preferences object") void setScreenSaverPreferences(ScreenSaverPreferencesObject screenSaverPreferences)
screenSaverPreferences
- new property value@Code("secp") @Kind("property") @Name("security preferences") @Type("security preferences object") SecurityPreferencesObject getSecurityPreferences()
@Code("secp") @Kind("property") @Name("security preferences") @Type("security preferences object") void setSecurityPreferences(SecurityPreferencesObject securityPreferences)
securityPreferences
- new property value@Kind("element") @Type("alias") default Alias[] getAliass()
Alias
s@Kind("element") @Type("alias") Alias[] getAliass(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Alias
s@Kind("element") @Type("alias") Alias getAlias(int index)
index
- index into the element list (zero-based)Alias
at the requested index@Kind("element") @Type("alias") Alias getAlias(Id id)
id
- id of the itemAlias
with the requested id@Kind("element") @Type("alias") default int countAliass()
Alias
s@Kind("element") @Type("alias") int countAliass(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("disk") Disk[] getDisks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Disk
s@Kind("element") @Type("disk") Disk getDisk(int index)
index
- index into the element list (zero-based)Disk
at the requested index@Kind("element") @Type("disk") Disk getDisk(Id id)
id
- id of the itemDisk
with the requested id@Kind("element") @Type("disk") int countDisks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("disk item") default DiskItem[] getDiskItems()
DiskItem
s@Kind("element") @Type("disk item") DiskItem[] getDiskItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"DiskItem
s@Kind("element") @Type("disk item") DiskItem getDiskItem(int index)
index
- index into the element list (zero-based)DiskItem
at the requested index@Kind("element") @Type("disk item") DiskItem getDiskItem(Id id)
id
- id of the itemDiskItem
with the requested id@Kind("element") @Type("disk item") default int countDiskItems()
DiskItem
s@Kind("element") @Type("disk item") int countDiskItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("domain") default Domain[] getDomains()
Domain
s@Kind("element") @Type("domain") Domain[] getDomains(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Domain
s@Kind("element") @Type("domain") Domain getDomain(int index)
index
- index into the element list (zero-based)Domain
at the requested index@Kind("element") @Type("domain") Domain getDomain(Id id)
id
- id of the itemDomain
with the requested id@Kind("element") @Type("domain") default int countDomains()
Domain
s@Kind("element") @Type("domain") int countDomains(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("file") File[] getFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"File
s@Kind("element") @Type("file") File getFile(int index)
index
- index into the element list (zero-based)File
at the requested index@Kind("element") @Type("file") File getFile(Id id)
id
- id of the itemFile
with the requested id@Kind("element") @Type("file") int countFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("file package") default FilePackage[] getFilePackages()
FilePackage
s@Kind("element") @Type("file package") FilePackage[] getFilePackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"FilePackage
s@Kind("element") @Type("file package") FilePackage getFilePackage(int index)
index
- index into the element list (zero-based)FilePackage
at the requested index@Kind("element") @Type("file package") FilePackage getFilePackage(Id id)
id
- id of the itemFilePackage
with the requested id@Kind("element") @Type("file package") default int countFilePackages()
FilePackage
s@Kind("element") @Type("file package") int countFilePackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("folder") default Folder[] getFolders()
Folder
s@Kind("element") @Type("folder") Folder[] getFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Folder
s@Kind("element") @Type("folder") Folder getFolder(int index)
index
- index into the element list (zero-based)Folder
at the requested index@Kind("element") @Type("folder") Folder getFolder(Id id)
id
- id of the itemFolder
with the requested id@Kind("element") @Type("folder") default int countFolders()
Folder
s@Kind("element") @Type("folder") int countFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("item") default Reference[] getItems()
Reference
s@Kind("element") @Type("item") Reference[] getItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Reference
s@Kind("element") @Type("item") Reference getItem(int index)
index
- index into the element list (zero-based)Reference
at the requested index@Kind("element") @Type("item") Reference getItem(Id id)
id
- id of the itemReference
with the requested id@Kind("element") @Type("item") default int countItems()
Reference
s@Kind("element") @Type("item") int countItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("asup") @Kind("property") @Name("application support folder") @Type("folder") Folder getApplicationSupportFolder()
@Code("apps") @Kind("property") @Name("applications folder") @Type("folder") Folder getApplicationsFolder()
@Code("fldc") @Kind("property") @Name("Classic domain") @Type("Classic domain object") ClassicDomainObject getClassicDomain()
@Code("desk") @Kind("property") @Name("desktop folder") @Type("folder") Folder getDesktopFolder()
@Code("dtp$") @Kind("property") @Name("desktop pictures folder") @Type("folder") Folder getDesktopPicturesFolder()
@Code("docs") @Kind("property") @Name("documents folder") @Type("folder") Folder getDocumentsFolder()
@Code("down") @Kind("property") @Name("downloads folder") @Type("folder") Folder getDownloadsFolder()
@Code("favs") @Kind("property") @Name("favorites folder") @Type("folder") Folder getFavoritesFolder()
@Code("fasf") @Kind("property") @Name("Folder Action scripts folder") @Type("folder") Folder getFolderActionScriptsFolder()
@Code("font") @Kind("property") @Name("fonts folder") @Type("folder") Folder getFontsFolder()
@Code("cusr") @Kind("property") @Name("home folder") @Type("folder") Folder getHomeFolder()
@Code("dlib") @Kind("property") @Name("library folder") @Type("folder") Folder getLibraryFolder()
@Code("fldl") @Kind("property") @Name("local domain") @Type("local domain object") LocalDomainObject getLocalDomain()
@Code("mdoc") @Kind("property") @Name("movies folder") @Type("folder") Folder getMoviesFolder()
@Code("%doc") @Kind("property") @Name("music folder") @Type("folder") Folder getMusicFolder()
@Code("fldn") @Kind("property") @Name("network domain") @Type("network domain object") NetworkDomainObject getNetworkDomain()
@Code("pdoc") @Kind("property") @Name("pictures folder") @Type("folder") Folder getPicturesFolder()
@Code("pref") @Kind("property") @Name("preferences folder") @Type("folder") Folder getPreferencesFolder()
@Code("pubb") @Kind("property") @Name("public folder") @Type("folder") Folder getPublicFolder()
@Code("$scr") @Kind("property") @Name("scripting additions folder") @Type("folder") Folder getScriptingAdditionsFolder()
@Code("scr$") @Kind("property") @Name("scripts folder") @Type("folder") Folder getScriptsFolder()
@Code("sdat") @Kind("property") @Name("shared documents folder") @Type("folder") Folder getSharedDocumentsFolder()
@Code("site") @Kind("property") @Name("sites folder") @Type("folder") Folder getSitesFolder()
@Code("spki") @Kind("property") @Name("speakable items folder") @Type("folder") Folder getSpeakableItemsFolder()
@Code("sdsk") @Kind("property") @Name("startup disk") @Type("disk") Disk getStartupDisk()
@Code("flds") @Kind("property") @Name("system domain") @Type("system domain object") SystemDomainObject getSystemDomain()
@Code("temp") @Kind("property") @Name("temporary items folder") @Type("folder") Folder getTemporaryItemsFolder()
@Code("trsh") @Kind("property") @Name("trash") @Type("folder") Folder getTrash()
@Code("fldu") @Kind("property") @Name("user domain") @Type("user domain object") UserDomainObject getUserDomain()
@Code("uti$") @Kind("property") @Name("utilities folder") @Type("folder") Folder getUtilitiesFolder()
@Code("flow") @Kind("property") @Name("workflows folder") @Type("folder") Folder getWorkflowsFolder()
@Kind("element") @Type("application process") default ApplicationProcess[] getApplicationProcesss()
ApplicationProcess
s@Kind("element") @Type("application process") ApplicationProcess[] getApplicationProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"ApplicationProcess
s@Kind("element") @Type("application process") ApplicationProcess getApplicationProcess(int index)
index
- index into the element list (zero-based)ApplicationProcess
at the requested index@Kind("element") @Type("application process") ApplicationProcess getApplicationProcess(Id id)
id
- id of the itemApplicationProcess
with the requested id@Kind("element") @Type("application process") default int countApplicationProcesss()
ApplicationProcess
s@Kind("element") @Type("application process") int countApplicationProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("desk accessory process") default DeskAccessoryProcess[] getDeskAccessoryProcesss()
DeskAccessoryProcess
s@Kind("element") @Type("desk accessory process") DeskAccessoryProcess[] getDeskAccessoryProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"DeskAccessoryProcess
s@Kind("element") @Type("desk accessory process") DeskAccessoryProcess getDeskAccessoryProcess(int index)
index
- index into the element list (zero-based)DeskAccessoryProcess
at the requested index@Kind("element") @Type("desk accessory process") DeskAccessoryProcess getDeskAccessoryProcess(Id id)
id
- id of the itemDeskAccessoryProcess
with the requested id@Kind("element") @Type("desk accessory process") default int countDeskAccessoryProcesss()
DeskAccessoryProcess
s@Kind("element") @Type("desk accessory process") int countDeskAccessoryProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("process") default Process[] getProcesss()
Process
s@Kind("element") @Type("process") Process[] getProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Process
s@Kind("element") @Type("process") Process getProcess(int index)
index
- index into the element list (zero-based)Process
at the requested index@Kind("element") @Type("process") Process getProcess(Id id)
id
- id of the itemProcess
with the requested id@Kind("element") @Type("process") default int countProcesss()
Process
s@Kind("element") @Type("process") int countProcesss(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("UI element") default UiElement[] getUiElements()
UiElement
s@Kind("element") @Type("UI element") UiElement[] getUiElements(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"UiElement
s@Kind("element") @Type("UI element") UiElement getUiElement(int index)
index
- index into the element list (zero-based)UiElement
at the requested index@Kind("element") @Type("UI element") UiElement getUiElement(Id id)
id
- id of the itemUiElement
with the requested id@Kind("element") @Type("UI element") default int countUiElements()
UiElement
s@Kind("element") @Type("UI element") int countUiElements(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("uien") @Kind("property") @Name("UI elements enabled") @Type("boolean") boolean isUiElementsEnabled()
@Kind("element") @Type("property list file") default PropertyListFile[] getPropertyListFiles()
PropertyListFile
s@Kind("element") @Type("property list file") PropertyListFile[] getPropertyListFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"PropertyListFile
s@Kind("element") @Type("property list file") PropertyListFile getPropertyListFile(int index)
index
- index into the element list (zero-based)PropertyListFile
at the requested index@Kind("element") @Type("property list file") PropertyListFile getPropertyListFile(Id id)
id
- id of the itemPropertyListFile
with the requested id@Kind("element") @Type("property list file") default int countPropertyListFiles()
PropertyListFile
s@Kind("element") @Type("property list file") int countPropertyListFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("property list item") default PropertyListItem[] getPropertyListItems()
PropertyListItem
s@Kind("element") @Type("property list item") PropertyListItem[] getPropertyListItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"PropertyListItem
s@Kind("element") @Type("property list item") PropertyListItem getPropertyListItem(int index)
index
- index into the element list (zero-based)PropertyListItem
at the requested index@Kind("element") @Type("property list item") PropertyListItem getPropertyListItem(Id id)
id
- id of the itemPropertyListItem
with the requested id@Kind("element") @Type("property list item") default int countPropertyListItems()
PropertyListItem
s@Kind("element") @Type("property list item") int countPropertyListItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("XML data") default XmlData[] getXmlDatas()
XmlData
s@Kind("element") @Type("XML data") XmlData[] getXmlDatas(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"XmlData
s@Kind("element") @Type("XML data") XmlData getXmlData(int index)
index
- index into the element list (zero-based)XmlData
at the requested index@Kind("element") @Type("XML data") XmlData getXmlData(Id id)
id
- id of the itemXmlData
with the requested id@Kind("element") @Type("XML data") default int countXmlDatas()
XmlData
s@Kind("element") @Type("XML data") int countXmlDatas(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("XML file") default XmlFile[] getXmlFiles()
XmlFile
s@Kind("element") @Type("XML file") XmlFile[] getXmlFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"XmlFile
s@Kind("element") @Type("XML file") XmlFile getXmlFile(int index)
index
- index into the element list (zero-based)XmlFile
at the requested index@Kind("element") @Type("XML file") XmlFile getXmlFile(Id id)
id
- id of the itemXmlFile
with the requested id@Kind("element") @Type("XML file") default int countXmlFiles()
XmlFile
s@Kind("element") @Type("XML file") int countXmlFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("sdef") @Kind("property") @Name("scripting definition") @Type("scripting definition object") ScriptingDefinitionObject getScriptingDefinition()
Map<String,Object> getProperties()
static Application getInstance()