False

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is a Qualifier Function. This command returns false. == Example == <pre> ui check box("Navigate to Google?", #checkhere) if($comparison(...")
 
Line 15: Line 15:
  
 
</pre>
 
</pre>
 +
  
 
The script checks the variable assigned to the UI Check box to see if it returns false using the false qualifier in the [[Comparison|comparison]] qualifier.
 
The script checks the variable assigned to the UI Check box to see if it returns false using the false qualifier in the [[Comparison|comparison]] qualifier.
Line 20: Line 21:
 
The variable for the UI check box returns false when the checkbox is left unchecked.   
 
The variable for the UI check box returns false when the checkbox is left unchecked.   
 
Once set to false, the comparison qualifier evaluates the variable and matches it against the false qualifier. If the two values match, the script navigates to google.com.
 
Once set to false, the comparison qualifier evaluates the variable and matches it against the false qualifier. If the two values match, the script navigates to google.com.
 +
  
 
[[File:false.png]]
 
[[File:false.png]]

Revision as of 19:52, 20 May 2013

This command is a Qualifier Function. This command returns false.

Example

ui check box("Navigate to Google?", #checkhere)
if($comparison(#checkhere, "=", $false)) {
    then {
        navigate("google.com", "Wait")
    }
    else {
    }
}


The script checks the variable assigned to the UI Check box to see if it returns false using the false qualifier in the comparison qualifier.

The variable for the UI check box returns false when the checkbox is left unchecked. Once set to false, the comparison qualifier evaluates the variable and matches it against the false qualifier. If the two values match, the script navigates to google.com.


File:False.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox