Re: [Sikuli-driver] [Question #686932]: Is it possible to pass a variable to the Region command?

2019-12-11 Thread Mark McGuinn
Question #686932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686932 Status: Answered => Solved Mark McGuinn confirmed that the question is solved: Many thanks for ending my frustration on this one! Just for completeness incase anyone is looking at this later the

Re: [Sikuli-driver] [Question #686932]: Is it possible to pass a variable to the Region command?

2019-12-11 Thread RaiMan
Question #686932 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686932 Status: Open => Answered RaiMan proposed the following answer: simply so: reg2 = Region(x_cord_s, y_cord_s, w_const_s, h_const_s) supposing that x_cord_s ... have been set before to the needed

[Sikuli-driver] [Question #686932]: Is it possible to pass a variable to the Region command?

2019-12-11 Thread Mark McGuinn
New question #686932 on Sikuli: https://answers.launchpad.net/sikuli/+question/686932 Hi, I am trying to dynamically create regions on the screen at different locations and want to pass the Region() command a variable containing the co-ordinates of the new region. base_loc =