sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35045
[Bug 1504627] Re: [request] A workaround for highlighting not working on linux
Thanks to Zeks(https://launchpad.net/~enmarantispam)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1504627
Title:
[request] A workaround for highlighting not working on linux
Status in Sikuli:
In Progress
Bug description:
Faced with the problem of debugging why the hell scripts fail on linux I made this very simple app to work as a replacement for Region.highlight function:
https://drive.google.com/file/d/0B2zOZZxcHycGLUhNWjFST0hBdk0/view?usp=sharing
It needs qt/qbs to compile but once you do, you can simply use the
function below everywhere, where region.highlight was used
def highlight(reg, time):
subprocess.call(["/adp/arm/regionHighlighter.sh",
"--width=" + str(reg.getW()),
"--height=" + str(reg.getH()),
"--top=" + str(reg.getY()),
"--left=" + str(reg.getX()),
"--time=" + str(time)]);
reg.wait(time/1000)
the parameters above are self-explanatory I think. Except time, which is in milliseconds
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1504627/+subscriptions
References