Change Dropdown

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is part of the Action Commands. The command changes the selected item in a drop down menu. Clicking and dragging a drop down menu from a web page into the scr...")
 
Line 1: Line 1:
This command is part of the [[Action Commands]]. The command changes the selected item in a drop down menu.
+
This command is part of the [[Browser Commands|Browser Command]]. The command changes the selected item in a drop down menu.
 
Clicking and dragging a drop down menu from a web page into the scripting window creates a change drop down menu command.
 
Clicking and dragging a drop down menu from a web page into the scripting window creates a change drop down menu command.
  

Revision as of 16:41, 7 December 2012

This command is part of the Browser Command. The command changes the selected item in a drop down menu. Clicking and dragging a drop down menu from a web page into the scripting window creates a change drop down menu command.


Example

Dragging a drop down menu into the scripting window creates the following change drop down menu command:

change dropdown($element offset(<tagname="select">, 0), "Random - Skip First Choice")

Running the script will change the value to any random value in the drop down, skipping the first choice.


File:Dropdown.png

The command allows you to select a specific value you want the drop down changed to, skip the first choice in the drop down and select a random choice from the drop down, or select any random choice in the drop down.

File:Dropdown1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox