Re: [Sikuli-driver] [Question #687688]: Calculations with decimals

2019-12-31 Thread masuo
Question #687688 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687688 Status: Open => Answered masuo proposed the following answer: aa = 11.0/4.0 print str(format(aa, '.5f')) -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #687690]: Use of a Mask

2019-12-31 Thread masuo
Question #687690 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687690 Status: Open => Answered masuo proposed the following answer: Add parenthesis? new_img = Pattern("1577396415423.png").mask ==> new_img = Pattern("1577396415423.png").mask() -- You received this

[Sikuli-driver] [Question #687690]: Use of a Mask

2019-12-31 Thread Mark McGuinn
New question #687690 on Sikuli: https://answers.launchpad.net/sikuli/+question/687690 Hi, I am trying to use the Pattern mask feature to search for an image. Below is the code I have written, but this code causes an exception, is there something wrong with the code? new_img =

Re: [Sikuli-driver] [Question #687688]: Calculations with decimals

2019-12-31 Thread ithotline
Question #687688 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687688 Description changed to: When executing this: test = 11/4 print(str(format(test, '.5f'))) i get: 2.0 How do i get the true value of: 2.75000 -- You received this question notification because your

[Sikuli-driver] [Question #687688]: Calculations with decimals

2019-12-31 Thread ithotline
New question #687688 on Sikuli: https://answers.launchpad.net/sikuli/+question/687688 When executing this: test = 11/4 print(str(format(test, '.5f'))) i get: 2.0 How do i get the tur value of: 2.75000 -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #687686]: Random click region (no images)

2019-12-31 Thread Manfred Hampl
Question #687686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687686 Status: Open => Answered Manfred Hampl proposed the following answer: Location is a position on the screen, not necessarily in your region, and its position is relative to the screen corner. see

[Sikuli-driver] [Question #687686]: Random click region (no images)

2019-12-31 Thread xyz_User
New question #687686 on Sikuli: https://answers.launchpad.net/sikuli/+question/687686 Trying to basically click randomly within the "r" region - there are no images to look for Tried this from another topic but it doesn't seem to click within the specified region: import random r =

Re: [Sikuli-driver] [Question #687647]: Drag and Drop

2019-12-31 Thread Jeff_Vallis
Question #687647 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687647 Jeff_Vallis gave more information on the question: if this means anything Running IDE from Terminal IDE no Errors Terminal:- 2019-12-31 09:29:10.246 java[17291:527448] -[NSPersistentUIWindowSnapshotter

[Sikuli-driver] [Question #687647]: Drag and Drop

2019-12-31 Thread Jeff_Vallis
New question #687647 on Sikuli: https://answers.launchpad.net/sikuli/+question/687647 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Is Drag and Drop Working def Testing_Drag(dragregion,dropregion,v_Mouse_Delay): global g_MoveMouseDelay global g_Waterfall_This_Location