1
Automation Engine
1. Scripting Concept
Automating Desktop and Other Applications
Although Automation Engine already offers a wide set of tools to create custom workflows, it is still
possible that you miss some functionality or maybe to support less standard graphics format that you
still use or receive.
This is why Automation Engine also offers custom scripting: you can write scripts (small programs)
that typically represent actions that operators do interactively in their graphic desktop applications..
Once you created that script, the Run Script task enables to insert that task into your normal
workflows. This is also how you can automate your desktop applications.
Some examples:
• To automate actions in desktop applications like Adobe Illustrator, Photoshop, InDesign (Server),
etc. (via ExtendScript on macOS and Windows).
• To convert files into a format that Automation Engine tasks support. For example converting non-
PDF compatible AI files into PDFs.
Attention: It is up to the user to verify that his intended use of the offered automation
functionality is compliant with any third party license agreement and/or other restrictions
applicable to any non-Esko products.
Supported Script Types
• AppleScript (macOS), a scripting language created by Apple that facilitates automated control over
script-able Mac applications.
• ShellScript (macOS), the shell scripting supported by the Mac Terminal.
• Batch files (Windows), a Windows script file that consists of a series of commands to be executed
by the command-line interpreter.
• Windows Script (Windows), a Microsoft VBScript or JScript.
• ExtendScript (macOS and Windows), a type of JavaScript enriched with Adobe extensions that can
be executed by certain Adobe applications.
Attention: When scripting Adobe applications, the Script Runner tool on Windows no
longer supports 32 bit versions of those applications.
• PowerShell (macOS and Windows), a cross-platform task automation solution made up of a
command-line shell, a scripting language, and a configuration management framework.
Attention: When installing PowerShell 7.x on Windows, make sure the option ' Add
PowerShell to Path Environment Variable' is checked.
Tip: Using native PowerShell scripts makes it easier to capture an error status of your
script than when you run them via a Windows Batch file (a script error will end up on the
error output pin of the script task).
3