Automating tasks using applescript, Automating tasks using automator – equinux VPN Tracker 8.1.1 User Manual
Page 67

Automating Tasks Using AppleScript
You can use AppleScript to automate repetitive tasks that need a VPN: Up-
loading files to a server, getting the newest data from a database, sending files
to a service for processing, etc.
To add an AppleScript, drag the “AppleScript” item to your Secure
Desktop. Secure Desktop must be in
→ Edit Mode to add items.
‣ Select the VPN that you would like to connect prior to running the script
(here, the VPN is called “London”).
‣ Enter the AppleScript. Use the Run and Compile buttons to test your script.
Automating Tasks Using Automator
You can add Automator workflows to Secure Desktop to automate repetitive
tasks that require a VPN. Uploading files to a server, getting the newest data
from a database, sending files to a service for processing, etc.
To add an Automator workflow, drag the “Automator” item to
your Secure Desktop. Secure Desktop must be in
Mode to add items.
‣ Select the VPN that you would like to connect prior to running the
Automator workflow (here, the VPN is called “London”).
‣ Drag the workflow into the inspector, or use the Select button to select a
workflow from disk. Use the Run button to test your workflow.
If your script or workflow needs a file server to be connected,
you can either connect the file server as part of the script, or use
an
→ Action in your VPN to connect the file server.
67