|
Pre APP version 2.3, the number of received events is not displayed so the only way to see, on screen, consecutive events with identical numbers is to change their parameters. Hence the slightly unusual sample seen here.
|
[no parameter]
|
Invoke the Automatic Macros dialog box.
|
||||||||
-
|
Deactivate automacro checking.
|
||||||||
+
|
Activate automacro checking.
|
||||||||
idx
|
The automatic macro: a number from 1 to 5
|
||||||||
expression
|
The PTC ALD expression whose evaluation will trigger the macro
|
||||||||
last
|
The last result of the PTC ALD expression (this is not normally supplied, but it appears in the dialog box for information. By changing it to an abnormal value, you can force the corresponding macro to be executed the next time the expression is evaluated).
|
||||||||
macro
|
The macro to be executed upon evaluation of the expression. Any double quotes in the macro must be doubled up, since the whole macro must be in double quotes. For example:
"trun ""my_script""".
|
||||||||
mode
|
At what point(s) to check for changes to the expression:
|
|
The 5 automatic macros are global to PTC ALD , not document specific. If you are using them to start scripts in a document that document must be active for the script to run.
|
|
It is not guaranteed that an automatic macro will be run when only the expression has changed: this will only happen when the expression is evaluated and its result is different from the last time it was evaluated.
|