[Sikuli-driver] [Question #668564]: how can I split a string

2018-05-03 Thread Marc Summers
New question #668564 on Sikuli: https://answers.launchpad.net/sikuli/+question/668564 I want to take the output for a screen element like this: M[1082,813 295x37]@S(S(0)[0,0 1920x1200]) S:1.00 C:1229,831 [-1 msec] And split it up so I can extract the S:1.00 part. I tried this: available =

Re: [Sikuli-driver] [Question #668564]: how can I split a string

2018-05-03 Thread Marc Summers
Question #668564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668564 Status: Open => Solved Marc Summers confirmed that the question is solved: OK I got it to work. Thanks for the great documentation. :) image = ["some.png"] matches = findAnyList(image) for match in ma

Re: [Sikuli-driver] [Question #668564]: how can I split a string

2018-05-05 Thread Roman Podolyan
Question #668564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668564 Roman Podolyan posted a new comment: Hello Marc. Your initial problem was that string is needed for string.split to work, and Match type does not convert automatically. To get string from Match (or any othe

Re: [Sikuli-driver] [Question #668564]: how can I split a string

2018-05-07 Thread Marc Summers
Question #668564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668564 Marc Summers posted a new comment: Hello Roman: Thanks for the help. I still have a lot to learn when it comes to Python. :) -- You received this question notification because your team Sikuli Drivers is