Methods Summary
Exbot class include several action methods based on Java Robot. It allows you to quickly create robot workflow that interacts with the operating system of a computer.
Method and Description
Modifier and Type
Operating system
mouseDragAndDrop(int srcX, int srcY, int destX, int destY) Drag and drop form a source coordinate to a destination coordinate
void
All
typeText(String text) Write text as direct keyboard input (A-Z letters, space, numbers or dot only)
void
All
closeCurrentWindows(boolean quit) Close the current windows or quit the current app (on macOS)
void
All
shortcut(int keycode) with the cmd or ctrl key (depending of the os) and another specified key
void
All
windowsShowStart(String text) Press on the "windows" key to show the start menu on Windows
void
messageSender(int x, int y, String text) Write string in a text box and "send" it one times (by pressing enter)
void
All
messageSender(int x, int y, String text, int frequency) Write string in a text box and "send" it several times (by pressing enter)
void
All
messageSender(int x, int y, String text, int frequency, int interval) Write string in a text box and "send" it several times (by pressing enter), at a given interval.
void
All
About OS exclusive methods
Methods starting with mac or windows, for instance macShowSpotlight()
, are exclusive to their operating system. You should only use them on the appropriate OS. Of course, other methods can be use on all systems.
Last updated
Was this helpful?