The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
Disconnect constant (macro editor) |
Disconnect constant (script editor) |
Value |
Description |
DiscDisplay |
nlDiscSessionDisplay |
0 |
Disconnect the Display session only. |
DiscPrinter |
nlDiscSessionPrinter |
1 |
Disconnect the Printer session only. |
DiscBoth |
nlDiscSessionBoth |
2 |
Disconnect both the Display and Printer sessions. |
Disconnect action | Disconnect method
© 2004-2021 looksoftware. All rights reserved.