Difference between revisions of "Opts"

From Wiki
Jump to: navigation, search
 
Line 28: Line 28:
  
 
</pre>
 
</pre>
{{footer}}
+
=See Also=
 +
{{result}}

Latest revision as of 10:13, 13 September 2007

The #opts system variable displays which EasyUO configuration options are active.
Table of #opt values
Value Option
SOT Stay On Top
SYS event SysMessage
DMC Don't Move Cursor
EXEC Allow Execute
SEND Allow Send

Example


if DMC notin #opts 
{ 
	display ok This script requires "Don't move cursor" enabled!$ 
+Enable this option in the EasyUO Tools menu and restart the script.$ 
	halt 
}

See Also

Result

  • Result variables hold values that are the direct by-product of actions taken by commands in a script. The exact details of what they contain is determined by the command and variable.
#menuButton Returns the name of the last clicked menu Button
#menuRes Returns the result of the last menu Get or menu GetNum command
#sendHeader Holds HTTP header information for the send command
#strRes Returns the result of the last str command
#property Returns the result of the last event Property command
#result Returns the result of the last return command
#opts Determines which EasyUO configuration options are active
#lpc Determines the number of lines that are executed per cycle