Not

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This function is a Qualifier Function. This function returns true if the condition is not true. == Example == <pre> navigate("google.com", "Wait") if...")
 
(Example)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
This function is a [[Qualifier Functions|Qualifier Function]].
 
This function is a [[Qualifier Functions|Qualifier Function]].
 
This function returns true if the condition is not true.
 
This function returns true if the condition is not true.
 +
 +
'''Condition:''' The condition that will not be met within the Not qualifier.
 +
  
 
== Example ==
 
== Example ==
Line 16: Line 19:
 
</pre>
 
</pre>
  
The above script will navigate to the specified url int he navigate command in the Then command if the attribute in the [[exists]] qualifier does not exist on the page.
 
  
[[File:not.png]]
+
The above script will navigate to the specified url in the navigate command in the Then command if the attribute in the [[exists]] qualifier does not exist on the page.
 +
 
 +
 
 +
[[File:not.jpg]]

Latest revision as of 18:48, 29 September 2013

This function is a Qualifier Function. This function returns true if the condition is not true.

Condition: The condition that will not be met within the Not qualifier.


[edit] Example

navigate("google.com", "Wait")
if($not($exists(<innertext="Video Training in Ten Minutes or Less!">))) {
    then {
        navigate("http://www.ubotstudio.com/resources", "Wait")
    }
    else {
    }
}


The above script will navigate to the specified url in the navigate command in the Then command if the attribute in the exists qualifier does not exist on the page.


Not.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox