Re: [Sikuli-driver] [Question #240375]: MinSimilarity setting is implemented incorrectly?
Question #240375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240375 Status: Open = Answered RaiMan proposed the following answer: Yes it is. To get the similarity score: m = find(button) print m.getScore() -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #190414]: I want to perform multiple actions within a single captured image.
Question #190414 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/190414 RaiMan posted a new comment: https://dl.dropboxusercontent.com/u/42895525/ddcalendar.sikuli.zip -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark requested more information: I am trying to add a path to python's module search path. Instead of writing in every file: myPath = path/to/user/defined/modules if not myPath in sys.path: append(myPath) I want to just add myPath to python's default module search path so it will check the path by default. I've tried changing the PYTHONPATH environment variable and using site-packages but neither have worked. I am on Windows 7. Any ideas? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #240489]: trying to automate selecting date on a calendar on a webpage
New question #240489 on Sikuli: https://answers.launchpad.net/sikuli/+question/240489 I'm currently parsing a date with originally looks like this: End Date: 12/04/14(mm/dd/yy) then i parse it so i have the values endday = time.strftime('%d', rawdate) endmth = time.strftime('%m', rawdate) endyr = time.strftime('%Y', raw date) The calendar looks like this: http://postimg.org/image/dz1y81ijh/ Then first selecting the months I'm doing something like this at least for the months: i use key.home to go to the top then use a if statement if endmth.startswith(01): type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) elif endmth.startswith(02): type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) type(Key.UP) elif endmth.startswith(03): So far that works for months and I assume it would work for years but the years menu goes from 1980 to 2020 So I imagine it will be too cumbersome for an if statement I'm wondering if there's something I can do that's more elegant? And as for selecting a date on the calendar I have no clue how I'm going to accomplish it because the only way is to click the day Any help or suggestions or better yet examples is appreciated :-) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #240375]: MinSimilarity setting is implemented incorrectly?
Question #240375 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240375 Status: Answered = Solved Eugene S confirmed that the question is solved: Yes, that's it! Thanks a lot RaiMan. Appreciate that! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #240489]: trying to automate selecting date on a calendar on a webpage
Question #240489 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240489 Status: Open = Answered Eugene S proposed the following answer: What I would do in your situation is write a small auxiliary function that will get the number of times the UP button should be pressed as a parameter. Then you can just call that function with a single line. It might look something like that: def buttonPress(button,count): Press any provided button for count times. for num in range(1, count+1): type(button) Then you can call it like that: buttonPress(Key.UP, timesToPress) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #240496]: Quit in a second on osx 10.9 (Mavericks)
New question #240496 on Sikuli: https://answers.launchpad.net/sikuli/+question/240496 I have install the Sikuli on my macbook pro with the osx 10.9 (Mavericks). After I copied the sikuli.app into /application folder, I double click the icon in my launchpad. but the software quit in a second. If I forget something to update? I have update the X11 and Xcode after install the osx 10.9. Thank you very much! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp