-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to combine multiple custom SikuliX commands into 1 line - some examples #251
Comments
Hi CK! How are you, how have you been? Now still bad, but have gotten into the grove (ie work in 2 full-time jobs, 1 is AISG job, 1 is taking care of 2YO baby) Question 1 In Python there is no flexibility to have such vision begin and finish structure, so it'll either be combining all lines into 1 with r.vision('statement 1; statement 2; statement 3;') r.vision('statement 1'); r.vision('statement 2'); r.vision('statement 3'); Question 2 SikuliX native scripting language is Jython, that's why you see above can use Question 3 The |
Btw CK, I've just found a good solution on the Mac Retina display problem from issue #170 - For mac computers with Retina display, the images captured are at double resolution. Running below in your Python script will auto-scale your supplied images down to the actual resolution to do visual automation. I don't have Retina display, but have tried and tested successfully with a fake double-sized image. r.vision('Settings.AlwaysResize = 0.5') |
Hi Ken, For your info, both worked! I actually wanted to use multiple But with your solution from #252, you have solved my problem with a one-liner:
So no need multiple Thanks a lot, Ken! |
Hi Ken,
How are you? Hope everything's ok on your side!
Have 3 questions here.
Question 1
Have a use case in which I would like to use multiple sikuli statements using
vision()
.As highlighted in your post: aisingapore/TagUI#96
In TagUI, you have
May I know what's the corresponding syntax in RPA-Python?
Question 2
You commented in the same post that:
Is it possible that to run sikuli commands directly from within Python?
Question 3
In the same post, you have this sample code:
What would be the corresponding code using RPA-Python?
If I put the multiple sikuli commands in the file
/Users/kensoh/Desktop/v2b
, is it possible to run this file directly from RPA-Python?Thanks in advance for your help!
Stay safe, stay healthy!
The text was updated successfully, but these errors were encountered: