visual scripting

UBot's Visual Scripting Language is a hands-on, intuitive approach to programming - there's no difficult syntax, no modules or .dll files to install or include - and most important, there are no commands to memorize. You will easily make a bot within minutes of starting the software. Just visit a site and right click on any element of the page that you want to manipulate. Then choose your option from UBot's context menu. Select buttons, fill text boxes--control the entire page just as a regular user would. Save your script and give yourself a hand -- Within minutes, you've just created a bot that would take even a master programmer hours to develop.

Below you'll find a quick reference for each of the commands available to you within VSL. For more information, see our complementary tutorials.

Visual Scripting Language

1 commands

1.1 element commands

1.1.1 choose

1.1.1.1 choose by attribute

1.1.1.1.1 this will choose the specified element according to an attribute

1.1.1.2 choose by position

1.1.1.2.1 this will choose the specified element according to it's location

1.1.2 chosen

1.1.2.1 change chosen attribute

1.1.2.1.1 change an attribute of the chosen element. for example, set it's value

1.1.2.2 click chosen

1.1.2.2.1 click the chosen element. buttons and links, for example

1.1.2.3 select random child chosen

1.1.2.3.1 in a chosen drop down box, select a random option

1.1.2.4 send keys chosen

1.1.2.4.1 simulate keystrokes to a chosen file field

1.1.2.5 send keys chose field

1.1.2.5.1 simulate keystrokes to a different chosen form field

1.1.2.6 decode chosen captcha

1.1.2.6.1 bring up a captcha form for chosen image

1.2 flow commands

1.2.1 wait for

1.2.1.1 suspends the script until specified text is found on the page

1.2.2 wait finish

1.2.2.1 suspends script until page loads

1.2.3 loop

1.2.3.1 repeats commands within for specified number of times

1.2.4 while

1.2.4.1 repeats commands within while qualifier is met

1.2.5 delay

1.2.5.1 suspends script for specified number of seconds

1.2.6 if

1.2.6.1 runs commands within if qualifier is met

1.2.7 sub

1.2.7.1 runs commands within only when called with "run sub"

1.2.8 run sub

1.2.8.1 runs commands in a "sub" command

1.3 action commands

1.3.1 nav

1.3.1.1 navigates browser to specified url

1.3.2 send email

1.3.2.1 send email via smtp

1.3.3 create account

1.3.3.1 creates a new random account

1.3.4 build account

1.3.4.1 creates account with specified data

1.3.5 clear cookies

1.3.5.1 clears browser cookies. must exit and re-enter ubot to take effect

1.3.6 click dialog button

1.3.6.1 clicks a button on an alert window

1.4 qualifiers

1.4.1 not

1.4.1.1 negates a qualifier

1.4.2 both

1.4.2.1 true if all contained qualifers are true

1.4.3 evaluate

1.4.3.1 true if evaluation is true

1.4.4 search page

1.4.4.1 true if text is found on the current page

1.5 variable commands

1.5.1 set

1.5.1.1 sets a variable

1.5.2 inc

1.5.2.1 if variable is a number, raises it by one

1.5.3 dec

1.5.3.1 if variable is a number, decreases it by one

1.5.4 save to file

1.5.4.1 saves a list or variable to anything else to a file

1.5.5 add to list

1.5.5.1 adds specified data to a list

1.5.6 set list position

1.5.6.1 sets the current position in a list

1.5.7 clear list

1.5.7.1 empties data in a list

1.6 ui commands

1.6.1 ui text box

1.6.1.1 creates a textbox to fill a specified variable

1.6.2 ui block text

1.6.2.1 creates a large textbox to fill a specified variable

1.6.3 ui check box

1.6.3.1 creates a checkbox to fill a specified variable

1.6.4 ui open file

1.6.4.1 creates a file field to fill a specified variable

1.6.5 ui list box

1.6.5.1 creates a listbox to fill a specified variable

1.6.6 ui stat monitor

1.6.6.1 creates a label to track a specified variable

2 variables

2.1 hold a specified value

3 constants

3.1 account constants

3.1.1 $captcha

3.1.1.1 after using "decode chosen captcha", this will hold the value typed into the captcha form.

3.1.2 $first name

3.1.2.1 first name from the stored account data

3.1.3 $last name

3.1.3.1 last name from the stored account data

3.1.4 $user name

3.1.4.1 username from the stored account data

3.1.5 $email

3.1.5.1 email from the stored account data

3.1.6 $password

3.1.6.1 password from the stored account data

3.1.7 $zipcode

3.1.7.1 zipcode from the stored account data

3.1.8 $birth day

3.1.8.1 birth day from the stored account data

3.1.9 $birth month

3.1.9.1 month number from the stored account data

3.1.10 $birth month word

3.1.10.1 month name from the stored account data

3.1.11 $birth year

3.1.11.1 birth year from the stored account data

3.2 string constants

3.2.1 $page scrape

3.2.1.1 returns text between two specified values

3.2.2 $new line

3.2.2.1 returns a page break

3.2.3 $nothing

3.2.3.1 returns empty text

3.2.4 $find story

3.2.4.1 returns the meatiest piece of text on the page

3.2.5 $story title

3.2.5.1 attempts to return the title of the meatiest piece of text on the page

3.2.6 $document folder

3.2.6.1 returns the path to your documents folder

3.2.7 $special keys down

3.2.7.1 for use with the send keys commands. returns the down button

3.2.8 $replace

3.2.8.1 returns a string with specified text replaced with other specified text

3.3 variable constants

3.3.1 $read file

3.3.1.1 returns the contents of a file

3.3.2 $scrape chosen attribute

3.3.2.1 returns a list filled with specified data from the specified attribute of all chosen elements

3.3.3 $random list item

3.3.3.1 returns a random item from a list

3.3.4 $list total

3.3.4.1 returns the total number of items in a list

3.3.5 $next list item

3.3.5.1 returns the next item in a list from the current position

3.3.6 $list item

3.3.6.1 returns the item in specified position

3.3.7 $list position

3.3.7.1 returns the current position in a list

3.3.8 $list from file

3.3.8.1 returns a list created from a file containing one item per line

3.4 math constants

3.4.1 $rand

3.4.1.1 returns a random number between two specified values

3.4.2 $eval

3.4.2.1 evaluates an equation. for example "4 + 4" would return "8"

4 lists

4.1 hold a collection of specified data