Advanced Actions |
Top Contents Index |
Advanced Actions are actions that are specified using a script. Scripts express a sequence of commands to perform as text. This is in contrast to Easy Actions, which are specified by filling in fields on an Easy Action editor. For example, here is an Easy Action:
Here is the equivalent specified as an Advanced Action script:
speak "Call from {SpeakName} at {Number}";
Note that this Advanced script sample uses the original script language. Its equivalent in the new (DWS) script language is:
// LANGUAGE=DWS
SPEAK('Call from ' + CallInfo.SpeakName + ' at ' + CallInfo.Number);
Advanced Actions are much more powerful than Easy Actions because any number of operations can be performed in any order. Easy Actions are limited to the choices given in the Easy Action editor. Each command can only be performed once, and only in the order presented. In addition, Advanced Actions using DWS support conditional operations, so a command can be performed, for example, only during a particular part of the day.
To use an Advanced Action, select the Advanced action type in the Edit Action window. For short scripts, you can paste or type them directly into the edit field. For larger scripts, or if you'd like to test them as you write them, click the Script Editor button to open the Script Editor. When editing an action script, you can right-click on the action in the Action List and select "Edit Advanced Script" to go directly to the Script Editor.
You may find it helpful to start your Advanced Action with a sample script.
Send comments or questions about web site to webmaster@ascendis.com |
Modified January 17, 2024, 3:44 pm
|