How to Use BridenBot


BridenBot is an application that was designed to be simple, intuitive and easy to use for individuals of any skill level.  These are some basic instructions to help with getting started.

How to use BridenBot:
-Install Java from (www.java.com)
-Download the BridenBot software to a folder on your computer
-Create a new text file in the folder and name it Bridenstructions.txt
-Add some of the instructions below to the text file
-Double click on BridenBot to begin the automation

Available Instructions:
-Pause for a number of seconds: PAUSE(10)
-Double click mouse at coordinates: DCLICK(100,100)
-Left click mouse at coordinates: LCLICK(100,100)
-Right click mouse at coordinates: RCLICK(100,100)
-Move mouse to coordinates: MOUSETO(100,100)
-Move mouse in a direction: MOUSEMOVE(10,-10)
-Reset instructions to a designated point: RESET(POINT1)
-Designate a point for instructions to restart from: SET(POINT1)
-Resets instructions if a word or color mismatch is detected: CHECK(hello, POINT1)
-Opens a webpage: BROWSE(www.bridenbot.com)
-Opens a file: OPENFILE(C:\samplefile.xlsx)
-Types a phrase: TYPE(hello how are you?)
-Records a selected action to the system clipboard: RECORD()
-Scans the entire screen for a unique image: SCAN(???,1)
-Turns off Demo mode: ACTIVATE(yourlicensekey)
-Stops BridenBot: STOP()
-Presses a key: PRESS(ENTER,10)
-Presses a combination of keys: COMBO(ALT,18+9)

Tips for using BridenBot:
-Make frequent use of CHECK to verify that you are on the correct screen before taking action.
-Set up a RECORD loop by putting it between SET and RESET to record multiple actions in a row.
-Record an action by placing the mouse cursor along the top edge of the screen.
-Stop BridenBot by placing the mouse cursor along the left edge of the screen.
-Wake BridenBot up by placing the mouse cursor in the upper left corner of the screen.
-If your computer is slow add a short PAUSE before taking the next action.
-Make sure the scale of your screen is set to 100% otherwise mouse coordinates may be incorrect.
-Colors may change slightly with window size.  Keep window sizing consistent when using SCAN.
-Improperly formatted or blank instructions will cause BridenBot to exit and close.
-Place an "X" before an instruction to cause BridenBot to skip over it.
-Add a short note after an instruction in order to help remember what it was supposed to do.
-Make use of a browser's "find on page" functionality to automatically find and select a link or button.
-Not every key can be typed or pressed directly.  Use COMBO for certain key presses.
-Avoid creating an inescapable loop by using PAUSE to allow for time to move the mouse if necessary.
-Be patient.  Planning out every click in a process takes careful thought and time.

See also: 
Computer Vision with BridenBot

Key Press Reference List:
PRESS(0...9,48...57)
PRESS(A...Z,65...90)
PRESS(F1...F12,112...123)
PRESS(ADD,107)
PRESS(ALT,18)
PRESS(BACKQUOTE,192)
PRESS(BACKSLASH,92)
PRESS(BACKSPACE,8)
PRESS(BRACELEFT,161)
PRESS(BRACERIGHT,162)
PRESS(CANCEL,3)
PRESS(CAPS,20)
PRESS(COMMA,44)
PRESS(CONTROL,17)
PRESS(DECIMAL,110)
PRESS(DELETE,127)
PRESS(DIVIDE,111)
PRESS(DOWN,40)
PRESS(END,35)
PRESS(ENTER,10)
PRESS(EQUALS,61)
PRESS(ESCAPE,27)
PRESS(HELP,156)
PRESS(HOME,36)
PRESS(INSERT,155)
PRESS(LEFT,37)
PRESS(MINUS,45)
PRESS(MULTIPLY,106)
PRESS(NUM,144)
PRESS(NUMBER,520)
PRESS(PAGEDOWN,34)
PRESS(PAGEUP,33)
PRESS(PAUSE,19)
PRESS(PERIOD,46)
PRESS(PRINTSCREEN,154)
PRESS(QUOTE,222)
PRESS(RIGHT,39)
PRESS(SCROLL,145)
PRESS(SEMICOLON,59)
PRESS(SHIFT,16)
PRESS(SLASH,47)
PRESS(SPACE,32)
PRESS(SUBTRACT,109)
PRESS(TAB,9)
PRESS(UP,38)
PRESS(WINDOWS,524)

References:
https://docs.oracle.com/en/java/javase/12/docs/api/constant-values.html