org.sikuli.script
Interface IRobot
- All Known Implementing Classes:
- DesktopRobot
public interface IRobot
keyPress
void keyPress(int keycode)
keyRelease
void keyRelease(int keycode)
pressModifiers
void pressModifiers(int modifiers)
releaseModifiers
void releaseModifiers(int modifiers)
typeChar
void typeChar(char character,
IRobot.KeyMode mode)
mouseMove
void mouseMove(int x,
int y)
mousePress
void mousePress(int buttons)
mouseRelease
void mouseRelease(int buttons)
smoothMove
void smoothMove(Location dest)
smoothMove
void smoothMove(Location src,
Location dest,
long ms)
dragDrop
void dragDrop(Location start,
Location end,
int steps,
long ms,
int buttons)
mouseWheel
void mouseWheel(int wheelAmt)
captureScreen
ScreenImage captureScreen(Rectangle screenRect)
waitForIdle
void waitForIdle()
delay
void delay(int ms)
setAutoDelay
void setAutoDelay(int ms)
getDevice
Object getDevice()
- Return the underlying device object (if any).