Scripting Interface |
The about JavaScript global object. Provides information about the main application and the platform on which the script is running. More...
Public Slots | |
String | getFlavorString () |
Returns a string that represents the flavor of the application. e.g. Harmony. More... | |
String | getVersionInfoStr () |
Returns the version info string. More... | |
int | getMajorVersion () |
Returns the major version number. More... | |
int | getMinorVersion () |
Returns the minor version number. More... | |
int | getPatchVersion () |
Returns the patch version number. More... | |
int | getBuildNumber () |
Returns the build number. More... | |
String | productName () |
returns a string that is the name of application. More... | |
bool | isFullVersion () |
Returns true whenever this application is a Commercial/Full variant. More... | |
bool | isDemoVersion () |
Returns true whenever this application is a Demo variant. More... | |
bool | isEducVersion () |
Returns true whenever this application is an Educational variant. More... | |
bool | isHarmony () |
Returns true when connected to a database or when compiled with Harmony. More... | |
bool | isStageEssentials () |
Returns true whenever the application running is an Essentials variant. More... | |
bool | isStageAdvanced () |
Returns true whenever the application running is an Advanced variant. More... | |
bool | isStage () |
Returns true whenever the application running is Stage. More... | |
bool | isStoryboard () |
Returns true when running Storyboard. More... | |
bool | isWindowsArch () |
Returns true when running on Windows. More... | |
bool | isLinuxArch () |
Returns true when running on Linux. More... | |
bool | isMacArch () |
Returns true when running on MacOS. More... | |
bool | isMacIntelArch () |
Returns true when running on an Apple OS X operating system or when on Mac Intel. More... | |
bool | isMacPpcArch () |
Returns true when running on an Apple OS X operating system or when on Mac PowerPC. More... | |
bool | isInteractiveApp () |
Returns true whenever this application is interactive. All application capable of running scripts are interactive. More... | |
bool | isScanApp () |
Returns true when the application running is Scan. More... | |
bool | isMainApp () |
Returns true when the application is Harmony or Storyboard, and not a peripheral application. More... | |
bool | isControlCenterApp () |
Returns true whenever the application running application is ControlCenter. More... | |
bool | isPaintMode () |
Returns true when the application is in Paint mode. More... | |
bool | isXsheetMode () |
Returns true when the application is in Xsheet mode. More... | |
bool | isDatabaseMode () |
Returns true when the application is in Database mode. More... | |
String | getApplicationPath () |
Returns the application. Identical to property "applicationPath". More... | |
String | getBinaryPath () |
Returns the folder where the binaries can be found. More... | |
String | getResourcesPath () |
Returns the folder where the resources can be found. More... | |
String | getUserName () |
Returns the user name. More... | |
The about JavaScript global object. Provides information about the main application and the platform on which the script is running.
The about class allows querying of platform and application specific constants.
|
slot |
Returns the application. Identical to property "applicationPath".
|
slot |
Returns the folder where the binaries can be found.
|
slot |
Returns the build number.
|
slot |
Returns a string that represents the flavor of the application. e.g. Harmony.
|
slot |
Returns the major version number.
|
slot |
Returns the minor version number.
|
slot |
Returns the patch version number.
|
slot |
Returns the folder where the resources can be found.
|
slot |
Returns the user name.
|
slot |
Returns the version info string.
|
slot |
Returns true whenever the application running application is ControlCenter.
|
slot |
Returns true when the application is in Database mode.
|
slot |
Returns true whenever this application is a Demo variant.
|
slot |
Returns true whenever this application is an Educational variant.
|
slot |
Returns true whenever this application is a Commercial/Full variant.
|
slot |
Returns true when connected to a database or when compiled with Harmony.
|
slot |
Returns true whenever this application is interactive. All application capable of running scripts are interactive.
|
slot |
Returns true when running on Linux.
|
slot |
Returns true when running on MacOS.
|
slot |
Returns true when running on an Apple OS X operating system or when on Mac Intel.
|
slot |
Returns true when running on an Apple OS X operating system or when on Mac PowerPC.
|
slot |
Returns true when the application is Harmony or Storyboard, and not a peripheral application.
|
slot |
Returns true when the application is in Paint mode.
|
slot |
Returns true when the application running is Scan.
|
slot |
Returns true whenever the application running is Stage.
|
slot |
Returns true whenever the application running is an Advanced variant.
|
slot |
Returns true whenever the application running is an Essentials variant.
|
slot |
Returns true when running Storyboard.
|
slot |
Returns true when running on Windows.
|
slot |
Returns true when the application is in Xsheet mode.
|
slot |
returns a string that is the name of application.
|
read |
See isStageAdvanced().
|
read |
Application with GUI folder (different than binFolder on Mac, same for all other platforms).
|
read |
See getBinaryPath().
|
read |
See getBuildNumber.
|
read |
See isControlCenterApp().
|
read |
See isDatabaseMode().
|
read |
See isDemoVersion().
|
read |
See isEducVersion().
|
read |
See isStageEssentials().
|
read |
See isFullVersion().
|
read |
See isHarmony().
|
read |
See isInteractiveApp().
|
read |
See isLinuxArch().
|
read |
See isMacArch().
|
read |
See isMacIntelArch().
|
read |
See isMacIntelArch().
|
read |
See isMainApp().
|
read |
See getMajorVersion.
|
read |
See getMinorVersion.
|
read |
See isPaintMode().
|
read |
See getPatchVersion.
|
read |
See getResourcesPath().
|
read |
See isScanApp().
|
read |
See isStage().
|
read |
See isStoryboard().
|
read |
See getUserName().
|
read |
See isWindowsArch().
|
read |
See isXsheetMode().