On-Off Constants
These are the constants for activating and deactivating settings:
Action | C Language Constants | JavaScript Constants | Object Oriented Constants See Function and Constant Prefixes | Value |
Turns the setting off. | LR_SWITCH_OFF | SWITCH_OFF |
<obj>.SWITCH_OFF | 0 |
Turns the setting on. | LR_SWITCH_ON | SWITCH_ON |
<obj>.SWITCH_ON | 1 |
Uses the defaults from the script's cfg file. | LR_SWITCH_DEFAULT | SWITCH_DEFAULT |
<obj>.SWITCH_DEFAULT | 2 |