Keyboard hook fixes, added targetRefresh command
Keyboard hook class now only listens for Hot Keys and not a all keys in a global keyboard hook. This should fix the reliability of the keyboard hook. Added a new command targetRefresh which will allow you to refresh the XML on a specified window and not the entire desktop. This will help if you want to speed up the synthuse script by not continuously doing full refreshes of the xml.
This commit is contained in:
@@ -64,6 +64,13 @@ public class MainCommands extends BaseCommand {
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean cmdTargetRefresh(String[] args) {
|
||||
if (!checkArgumentLength(args, 1))
|
||||
return false;
|
||||
targetXmlRefresh(args[0]);
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean cmdWaitForTitle(String[] args) {
|
||||
if (!checkArgumentLength(args, 1))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user