About

This set of functions returns information about the current application running the script and its environment.

Following are the About functions:

animate
animatePro
applicationPath
controlCenterApp
demoVersion
digital
digitalPro
educVersion
fullVersion
getApplicationPath
getBinaryPath
getFlavorString
getResourcesPath
getVersionInfoStr
harmony
interactiveApp
isAnimate
isAnimatePro
isControlCenterApp
isDemoVersion
isDigital
isDigitalPro
isEducVersion
isFullVersion
isHarmony
isInteractiveApp
isLinuxArch
isMacArch
isMacIntelArch
isMacPpcArch
isMainApp
isOpus
isPaintMode
isScanApp
isStage()
isWindowsArch
isXsheetMode
linuxArch
macArch
macIntelArch
macPpcArch
mainApp
paintMode
productName
scanApp
stage
windowsArch
xsheetMode

Example

function printAbout()

{

// Application : normal, demo or educational

print("");

print( "full (commercial) version: " + Application.about.fullVersion );

print( "demo version: " + Application.about.demoVersion );

print( "educational version: " + Application.about.educVersion );

print("");

 

// Software / product

print( "animate pro product : " + Application.about.animatePro );

print( "harmony product : " + Application.about.harmony );

print( "" );

print( "stage: " + Application.about.stage );

 

 

// Architecture

print( "Windows architecture: " + Application.about.windowsArch );

print( "OSX architecture: " + Application.about.macArch );

print( "OSX PowerPC architecture: " + Application.about.macPpcArch );

print( "OSX Intel architecture: " + Application.about.macIntelArch );

print( "Linux architecture: " + Application.about.linuxArch );

 

// type of application

print( "Interactive: " + Application.about.interactiveApp );

 

print( "Stage/Digital Main Mode: " + Application.about.mainApp );

print( "Paint mode: " + Application.about.paintMode );

print( "XSheet mode: " + Application.about.xsheetMode );

 

print( "Scan application: " + Application.about.scanApp );

print( "ControlCenter application: " + Application.about.controlCenterApp);

 

// application path...

print( "application path: " + Application.about.applicationPath );

 

print("");

 

}

Related Topics 

Scripting Reference