Scripting
This page is currently incomplete, but you can find information about this topic at the links below:

- AppleScript -- writing scripts with AppleScript.
- applescriptconstant( -- The applescriptconstant( function converts an expression into an AppleScript literal.
- arraytopythonlist( -- The arraytopythonlist( function converts a Panorama array into a Python list.
- executeapplescript -- The executeapplescript statement compiles and runs an AppleScript.
- executeapplescriptformula -- The executeapplescriptformula statement executes an AppleScript, with embedded Panorama formulas.
- executesudounix -- The executesudounix statement executes a UNIX shell command using sudo (root) privileges.
- executeunix -- The executeunix statement executes a UNIX shell command.
- Perl Scripting -- writing and using Perl scripts.
- perlconstant( -- The perlconstant( function encodes text for use as a constant in a Perl program.
- php( -- The php( function executes a PHP program and returns the result.
- php -- The php statement executes a PHP script (program).
- phpconstant( -- The phpconstant( function encodes text for use as a contant in a php program.
- posixpath( -- The posixpath( function converts a path and filename into a POSIX path that can be used as a parameter to a shell command.
- python( -- The python( function executes a python program and returns the result (stdout).
- python -- The python statement executes a Python script (program).
- pythonconstant( -- The pythonconstant( function encodes text for use as a constant in a python program.
- ruby( -- The ruby( function executes a ruby program and returns the result (stdout).
- ruby -- The ruby statement executes a Ruby script (program).
- rubyconstant( -- The rubyconstant( function encodes a value for use as a constant in a Ruby program.
- scriptbglog -- The scriptbglog statement specifies a path/file for output from STDOUT from embedded programs run in the background (Perl, Ruby, Python, PHP).
- scripttimeout -- The scripttimeout statement sets the maximum runtime allowed for an embedded program (AppleScript, ShellScript, Perl, Ruby or Python).
- shellscript( -- The shellscript( function executes a UNIX shell script and returns the result.
- shellscript -- The shellscript statement executes a UNIX shell script.
- unixshellpath( -- The unixshellpath( function converts a path and filename into a POSIX path that can be embedded within the shellscript statement.
- unixshellstring( -- The unixshellstring( function encodes text for use as a parameter to a unix shell command.
- usebashprofile -- The usebashprofile statement grabs the search path from the `.Bash_profile` file in the user's home folder, so that these paths will be used by scripting languages (Ruby, Python, etc.).

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, with some updates.