False

From UBot Studio
Jump to: navigation, search

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

Example

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


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.


False.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox