Writing Script
The script editor#
You can start writing a script in the MAIN SCRIPT
tab, run a test, or stop it using the
and buttons.
Your script should be saved in the config/scripts
folder, from here you can select the script file you want to run
with the Auto Mode option set to Local Script
when creating the profile.
May Extension#
When the browser is running, you can use the May Extension to "live" test a script code that you want in the yellow text box and then click the Execute
button.
When testing the script through Bịp Studio, there will be a small red dot indicating the mouse is moving or clicking.
May Extension also has some buttons to automatically generate code from the browser and write it for you to the MAIN SCRIPT
tab of Bịp Studio.
Here are the details of the command buttons:
- : Generate code for the ClickByCoordinates function, shortcut key (
Alt + 1
). - : Generate code for ClickBySelecor function, shortcut key (
Alt + 2
). - : Create code for CaptureArea function, shortcut (
Alt + Q
). - : Create code for CaptureElement function, shortcut (
Alt + W
). - : Create code for SetFilesToElement function, shortcut key (
Alt + A
). - : Exit code generation mode, shortcut (
Alt + S
).
Watch the video tutorial:
About Bịp script
The scripting language on Bịp is Javascript, combined with built-in functions you can create your script most flexibly.