xdotool utilized.
This commit is contained in:
parent
07555845a1
commit
a282a95c4e
@ -337,7 +337,13 @@ public class GUI
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
try
|
||||
Miscellaneous.runExternalApplication("/usr/bin/xdotool key ctrl", 0, null, null);
|
||||
}});
|
||||
|
||||
t.start();
|
||||
}
|
||||
|
||||
void moveMouseCursor()
|
||||
{
|
||||
/*
|
||||
* Move the mouse cursor
|
||||
@ -348,6 +354,8 @@ public class GUI
|
||||
* still black screen.
|
||||
*/
|
||||
|
||||
try
|
||||
{
|
||||
Robot robot = new Robot();
|
||||
for(int xCoord = 500; xCoord < 550; xCoord++)
|
||||
for(int yCoord = 500; yCoord < 550; yCoord++)
|
||||
@ -357,9 +365,6 @@ public class GUI
|
||||
{
|
||||
|
||||
}
|
||||
}});
|
||||
|
||||
t.start();
|
||||
}
|
||||
|
||||
void getFocus()
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user