Re: [Sikuli-driver] [Question #218182]: Connectiong to MSSQL using JDBC

2013-01-31 Thread Alex
Question #218182 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/218182 Status: Answered => Solved Alex confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Driv

[Sikuli-driver] [Question #220679]: Continuous drag in circle

2013-01-31 Thread Alex
New question #220679 on Sikuli: https://answers.launchpad.net/sikuli/+question/220679 I'm looking for a way to use dragdrop but without the drop to continuously drag in a circle? So instead of specifying point A and point B, you'd specify point A, direction, and rotation radius. i.e. one might

Re: [Sikuli-driver] [Question #220679]: Continuous drag in circle

2013-01-31 Thread Alex
Question #220679 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/220679 Alex posted a new comment: Thanks Roman. I will do some experimenting this weekend and let you know the outcome. Thanks again. -- You received this question notification because you are a member of Sikuli

Re: [Sikuli-driver] [Question #220679]: Continuous drag in circle

2013-01-31 Thread Alex
Question #220679 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/220679 Status: Answered => Solved Alex confirmed that the question is solved: The solution worked perfectly. I used RaiMan's code in addition to lower level mouse operations (mouseDown(Button.LEFT) &

Re: [Sikuli-driver] [Question #136146]: Automatic script generation?

2013-07-17 Thread Alex
Question #136146 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/136146 Alex posted a new comment: Vikramsjn - I'm interested in similar functionality and curious if you made any progress on the subject? Thank You. -- You received this question notification because you

[Sikuli-driver] [Question #275951]: Adding logic via IF, ELSE statement in Sikuli Java API using the exist method

2015-11-28 Thread alex
New question #275951 on Sikuli: https://answers.launchpad.net/sikuli/+question/275951 I have the following code: Screen s = new Screen(); s.find(imagePath).rightClick(imagePath); s.find(imagePath).rightClick(imagePath); s.find(imagePath).rightClick(imagePath); I'm using the Java API in Eclipse.

[Sikuli-driver] [Question #687441]: Error: 'function' object has no attribute 'isAborted'

2019-12-22 Thread alex
New question #687441 on Sikuli: https://answers.launchpad.net/sikuli/+question/687441 Haven't used SikuliX in a while, and now I can't get the simplest of scripts working. E.g. def runner(): hover(Pattern("1577027211309.png").targetOffset(-81,89)) runner() Throws the following error: [error

Re: [Sikuli-driver] [Question #687441]: Error: 'function' object has no attribute 'isAborted'

2019-12-22 Thread alex
Question #687441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687441 Status: Answered => Solved alex confirmed that the question is solved: Oof! That actually did the trick. My main function was always called "runner", and I had no problems in the pa

Re: [Sikuli-driver] [Question #687441]: Error: 'function' object has no attribute 'isAborted'

2019-12-22 Thread alex
Question #687441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687441 alex confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Bug 1582106] [NEW] Click() fails while it should return 0

2016-05-16 Thread Alex Lunyov
Public bug reported: Hi, I'm using both last 1.1.0 and beta 1.1.1 versions SikuliX, Windows 7 64 bit. SukuliX help says click() "returns the number of performed clicks (actually 1). A 0 (integer null) means that because of some reason, no click could be performed (in case of PS may be not Found)

[Sikuli-driver] [Bug 1582106] Re: Click() fails while it should return 0

2016-05-16 Thread Alex Lunyov
** Description changed: Hi, I'm using both last 1.1.0 and beta 1.1.1 versions SikuliX, Windows 7 64 bit. SukuliX help says click() "returns the number of performed clicks (actually 1). A 0 (integer null) means that because of some reason, no click could be performed (in case of P

[Sikuli-driver] [Bug 1582106] Re: Click() fails while it should return 0

2016-05-16 Thread Alex Lunyov
** Description changed: Hi, I'm using both last 1.1.0 and beta 1.1.1 versions SikuliX, Windows 7 64 bit. SukuliX help says click() "returns the number of performed clicks (actually 1). A 0 (integer null) means that because of some reason, no click could be performed (in case of P

Re: [Sikuli-driver] [Question #167349]: Faster mouse movement --- use Settings.MoveMouseDelay()

2016-05-18 Thread Alex Lunyov
Question #167349 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/167349 Alex Lunyov posted a new comment: Thanks, you help me, for example! RaiMan was right. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Bug 1583112] [NEW] inputText should return None

2016-05-18 Thread Alex Lunyov
Public bug reported: While using inputText() box and pressing Cancel it should return None, like the box input(). How does a script handle pressing Cancel otherwise? In SikuliX 1.1.1 it returns empty string both when pressing OK with empty box and just when pressing Cancel. ** Affects: sikuli

[Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-05-29 Thread Alex Lunyov
New question #294592 on Sikuli: https://answers.launchpad.net/sikuli/+question/294592 Hi! I use the last Java version and the last 1.1.1 nightly build of SikuliX I set the option to zero: Setting.MoveMouseDelay = 0 Though it was set, print says it is zero, mouse pointer moves as slow as it set

Re: [Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-05-29 Thread Alex Lunyov
Question #294592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294592 Description changed to: Hi! I use the last Java version and the last 1.1.1 nightly build of SikuliX I set the option to zero: Setting.MoveMouseDelay = 0 Though it really has been set and print(Setting.MoveM

Re: [Sikuli-driver] [Question #294074]: how to extract a data from a mainframe screen using sikulix

2016-05-29 Thread Alex Lunyov
Question #294074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294074 Status: Open => Answered Alex Lunyov proposed the following answer: Hi! What do you mean by "extract a data"? If it is just a part of a screenshot you could use: abc = capture(some_regio

Re: [Sikuli-driver] [Question #294074]: how to extract a data from a mainframe screen using sikulix

2016-05-29 Thread Alex Lunyov
Question #294074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294074 Alex Lunyov posted a new comment: *subsequently - sorry for the misprint. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-05-30 Thread Alex Lunyov
Question #294592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294592 Description changed to: Hi! I use the last Java version and the last 1.1.1 nightly build of SikuliX, Win7 64bit I set the option to zero: Setting.MoveMouseDelay = 0 Though it really has been set and print(

Re: [Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-05-30 Thread Alex Lunyov
Question #294592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294592 Alex Lunyov posted a new comment: Thanks! This gives hope that the problem will be solved soon. Hm, could be there any workaround while this setting stays ineffective? -- You received this question

Re: [Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-06-01 Thread Alex Lunyov
Question #294592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294592 Status: Answered => Solved Alex Lunyov confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #294592]: MoveMouseDelay setting doesn't work on last 1.1.1 build

2016-06-01 Thread Alex Lunyov
Question #294592 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/294592 Alex Lunyov posted a new comment: Thanks again! I'd better use your workaround than make fixed build (while waiting for a new nightly). Best wishes! -- You received this question notification because

Re: [Sikuli-driver] [Question #246919]: dragDrop() + KeyModifier issue?

2016-06-02 Thread Alex Lunyov
Question #246919 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246919 Alex Lunyov posted a new comment: It would be great this function conforms to documentations in current builds. In the last nightly release drapDrop still expects 2 arguments. Not so often but nevertheless

Re: [Sikuli-driver] [Question #246919]: dragDrop() + KeyModifier issue?

2016-06-02 Thread Alex Lunyov
Question #246919 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246919 Alex Lunyov posted a new comment: I mean 1.1.1 2016-05-27 nightly release. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #295027]: Pattern match Preview in IDE show two different matches while "Exact" similarity is set

2016-06-07 Thread Alex Lunyov
New question #295027 on Sikuli: https://answers.launchpad.net/sikuli/+question/295027 I have a browser with two opened tabs of the same site. Each tab shows the same favicon of the site. But here is the difference. When the tab is not active the favicon background is lighly grayed. The logo itse

Re: [Sikuli-driver] [Question #295027]: Pattern match preview in IDE shows two different matches while "Exact" similarity is set

2016-06-07 Thread Alex Lunyov
Question #295027 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295027 Summary changed to: Pattern match preview in IDE shows two different matches while "Exact" similarity is set -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #295027]: Pattern match Preview in IDE show two different matches while "Exact" similarity is set

2016-06-07 Thread Alex Lunyov
Question #295027 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295027 Description changed to: I have a browser with two opened tabs of the same site. Each tab shows the same favicon of the site. But here is the difference. When the tab is not active the favicon background is sl

Re: [Sikuli-driver] [Question #295025]: Unit test individual tests run successfully, but when all in one unit test work frame, random tests get failed on every run

2016-06-07 Thread Alex Lunyov
Question #295025 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295025 Status: Open => Needs information Alex Lunyov requested more information: Please, give some lines of your code where Find fails. -- You received this question notification because your team Sik

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-06-08 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Hi! There is a similar problem. In SikuliX 1.1.1 2016-6-6 this code: for i in range(5): type(Key.NUM_LOCK) wait(20)# long wait for

Re: [Sikuli-driver] [Question #295187]: How To Change MoveMouseDelay using Java

2016-06-13 Thread Alex Lunyov
Question #295187 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295187 Status: Open => Answered Alex Lunyov proposed the following answer: What is the version of Sikuli? May this help you: import org.sikuli.basics.Settings as Settings Settings.MoveMouseDelay =

Re: [Sikuli-driver] [Question #295027]: Pattern match preview in IDE shows two different matches while "Exact" similarity is set

2016-06-13 Thread Alex Lunyov
Question #295027 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295027 Alex Lunyov posted a new comment: According to matching algorithm the "exact" similarity is not the same as pixel-by-pixel similarity, am I right? So, is there any pixel-by- pixel comparison way

[Sikuli-driver] [Bug 1592274] [NEW] Can't add image from file using button

2016-06-13 Thread Alex Lunyov
Public bug reported: SikuliX 1.1.1 2016-06-07 When I try to insert an image from file using standard instrument button of IDE I got a message "Folder not a valid Sikulix script. Try again". Nothing changes when I change the file folder. The same function with the same files&scripts works fine i

Re: [Sikuli-driver] [Question #295187]: How To Change MoveMouseDelay using Java

2016-06-14 Thread Alex Lunyov
Question #295187 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295187 Alex Lunyov posted a new comment: @RaiMan thanks again, I have successfully installed fixed version as soon as it was released. -- You received this question notification because your team Sikuli Drivers

[Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-16 Thread Alex Lunyov
New question #295399 on Sikuli: https://answers.launchpad.net/sikuli/+question/295399 Is there any way to set "null" keymodifier (let call it "Key.Null") in the type function so that these lines where equivalent: type("c") type("c",) type("c",Key.null) I need it to call type() with and without

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-16 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Description changed to: Is there any way to set "null" keymodifier (let call it "Key.Null") in the type function? So that these lines where equivalent: type("c") type("c",) type("c",Key.null) I need it to c

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-16 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Description changed to: Is there any way to set "null" keymodifier (let call it "Key.Null") in the type function? So that these lines where equivalent: type("c") type("c",) type("c",Key.Null) I need it to c

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-16 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Description changed to: Is there any way to set "null" keymodifier (let call it "Key.Null") in the type function? So that these lines were equivalent: type("c") type("c",) type("c",Key.Null) I need it to ca

Re: [Sikuli-driver] [Question #295027]: Pattern match preview in IDE shows two different matches while "Exact" similarity is set

2016-06-16 Thread Alex Lunyov
Question #295027 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295027 Status: Open => Solved Alex Lunyov confirmed that the question is solved: Thanks a lot for your suggestion! -- You received this question notification because your team Sikuli Drivers is an ans

Re: [Sikuli-driver] [Question #295397]: how to compare special part of an image

2016-06-16 Thread Alex Lunyov
Question #295397 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295397 Status: Open => Answered Alex Lunyov proposed the following answer: You could divide your image into certain parts (hope there are not so many) and then use a list of these subimages with their offs

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-17 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Status: Needs information => Open Alex Lunyov gave more information on the question: Sorry, if my problem is not worth taking your attention. I use the following workaround: def typeCopyCommand(key

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-17 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Alex Lunyov gave more information on the question: In short Key.NULL should act as absence of any keymodifiers, or as "pressing nothing". -- You received this question notification because your t

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-17 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Status: Answered => Solved Alex Lunyov confirmed that the question is solved: Great, thanks! This entirely solved my problem. :) -- You received this question notification because your team Sik

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-17 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Alex Lunyov posted a new comment: Some addition. For beginners (like me) and for compatibility it could be useful to create constant Key.NULL=0, but it is just my humble suggestion. As for my strange comment

Re: [Sikuli-driver] [Question #295399]: Null keymodifier in type()

2016-06-17 Thread Alex Lunyov
Question #295399 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295399 Alex Lunyov posted a new comment: OK, I got it. Agree with your code decision, I have included it in my script. Thanks! -- You received this question notification because your team Sikuli Drivers is an

[Sikuli-driver] [Bug 1588723] Re: Black Image Exist does not find it

2016-06-17 Thread Alex Lunyov
Please make sure your image size (width and height) is less than width and height of your region. By the way it could be useful to warn a priori (and while running script) if the image can't be found in the region in case the latter is smaller than the former. -- You received this bug notificatio

[Sikuli-driver] [Question #295801]: inputText() customisation

2016-06-29 Thread Alex Lunyov
New question #295801 on Sikuli: https://answers.launchpad.net/sikuli/+question/295801 Hi! Could it be possible to bring some custumisation options to inputText(), that is a rather useful feature in Sikuli? Currently it has such disadvantages: very small text in the message as well as user's inp

Re: [Sikuli-driver] [Question #195150]: Set global hotkey without a KeyModifier

2016-07-01 Thread Alex Lunyov
Question #195150 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195150 Alex Lunyov proposed the following answer: So, there is no way to pass a KeyModifier argument in addHotkey function, right? We have to give 0 value in the modifier position to set handler of a pure key press

Re: [Sikuli-driver] [Question #195150]: Set global hotkey without a KeyModifier

2016-07-01 Thread Alex Lunyov
Question #195150 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195150 Alex Lunyov posted a new comment: OK, thanks! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Bug 1597639] Re: [request] inputText() should have more options --- fixed 1.1.1 2016-07-03

2016-07-04 Thread Alex Lunyov
The according test inputText() box ** Attachment added: "The according test inputText() box" https://bugs.launchpad.net/sikuli/+bug/1597639/+attachment/4695208/+files/inputText%20new.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to

[Sikuli-driver] [Bug 1597639] Re: [request] inputText() should have more options --- fixed 1.1.1 2016-07-03

2016-07-04 Thread Alex Lunyov
Dear Raiman, thank a lot for improving user experience in this input tool (and so quick)! I've tested this and found a few problems. So, this is my test code: Settings.InputFontSize = 15# works fine Settings.InputFontMono = True a = inputText("Tell your story please!",title="Script request",

Re: [Sikuli-driver] [Question #295801]: inputText() customisation

2016-07-06 Thread Alex Lunyov
Question #295801 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295801 Status: Open => Solved Alex Lunyov confirmed that the question is solved: Now works fine, thanks! -- You received this question notification because your team Sikuli Drivers is an answer contact

[Sikuli-driver] [Bug 1597639] Re: [request] inputText() should have more options --- fixed 1.1.1 2016-07-04

2016-07-06 Thread Alex Lunyov
I have tested the build and now it works fine, as expected. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1597639 Title: [request] inputText() should have more options --- fixed 1.1.1 2016-07-0

[Sikuli-driver] [Bug 1609936] [NEW] Autoset checkboxes on mouse hover in Settings

2016-08-04 Thread Alex Lunyov
Public bug reported: Strange behaviour in the Settings box was noticed. 1. Launch Sikuli IDE (both stable and last nightly) 2. Go to Settings → more Options 3. Clear some of the checkboxes in the groups "IDE Layout" or "Messages to show" 4. Move the mouse over "Activate the new layout" checkbox a

[Sikuli-driver] [Bug 1609936] Re: Autoset checkboxes on mouse hover in Settings - moreOptions --- one has to be careful ; -)

2016-08-05 Thread Alex Lunyov
Hope there will be no other such surprises. So this is a bug of NetBeans environment, right? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1609936 Title: Autoset checkboxes on mouse hover in Sett

Re: [Sikuli-driver] [Question #335603]: Sikuli not able to recognise images taken through Remote desktop and when run directly on system due to font antialiasing

2016-08-10 Thread Alex Lunyov
Question #335603 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/335603 Status: Open => Answered Alex Lunyov proposed the following answer: There are two main ways to solve your problem: 1. Make both interfaces to use either antialiased or non-antialiased fonts.

Re: [Sikuli-driver] [Question #335603]: Sikuli not able to recognise images taken through Remote desktop and when run directly on system due to font antialiasing

2016-08-11 Thread Alex Lunyov
Question #335603 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/335603 Status: Open => Needs information Alex Lunyov requested more information: Could you manually disable antialiasing on the remote system? If yes, does that system keep this setting? -- You received t

Re: [Sikuli-driver] [Question #335603]: Sikuli not able to recognise images taken through Remote desktop and when run directly on system due to font antialiasing

2016-08-11 Thread Alex Lunyov
Question #335603 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/335603 Status: Open => Answered Alex Lunyov proposed the following answer: OK, there should be a way to run *.bat file to toggle ClearType on/off, look here: http://www.techsupportforum.com/forums/f10/sol

Re: [Sikuli-driver] [Question #381074]: How can i compare value on screen with value in my script?

2016-09-05 Thread Alex Lunyov
Question #381074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/381074 Status: Open => Answered Alex Lunyov proposed the following answer: Is the visual value on your screen text or pic? If it is text you just have to copy it from the screen in the following seque

[Sikuli-driver] [Question #402758]: all() function

2016-10-04 Thread Alex Lunyov
New question #402758 on Sikuli: https://answers.launchpad.net/sikuli/+question/402758 I have just tryed to run this: print all() and got the line "S(-1)[0,0 1920x1080] E:Y, T:3,0". What does it mean? I have not found the documentation. Will it be bad for Sikuli working if I delete this functio

Re: [Sikuli-driver] [Question #402758]: all() function

2016-10-05 Thread Alex Lunyov
Question #402758 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402758 Status: Answered => Solved Alex Lunyov confirmed that the question is solved: OK, and please add some explanation to the docs. Thanks! -- You received this question notification because your t

Re: [Sikuli-driver] [Question #402758]: all() function

2016-10-05 Thread Alex Lunyov
Question #402758 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402758 Alex Lunyov posted a new comment: (-; -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing

Re: [Sikuli-driver] [Question #402813]: Can't find image

2016-10-11 Thread Alex Lunyov
Question #402813 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402813 Status: Open => Answered Alex Lunyov proposed the following answer: That could be an issue with setting Settings.MinSimilarity of Sikuli. Have you changed this setting somewhere without restarting

Re: [Sikuli-driver] [Question #239574]: Sikuli type() vs python\jython type() commands --- use isinstance() instead

2016-10-14 Thread Alex Lunyov
Question #239574 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/239574 Alex Lunyov posted a new comment: I had the same problem (and solved for my task). Please, let me know it this workaround is bad for any reason: sikulitype = type # save sikuli type function del type

Re: [Sikuli-driver] [Question #402813]: Can't find image

2016-10-14 Thread Alex Lunyov
Question #402813 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/402813 Alex Lunyov posted a new comment: Be sure your visuals with default similarity settings (where there are no green squared numbers on it) are matched with appropriate level of similarity. Or you can always

[Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
New question #403295 on Sikuli: https://answers.launchpad.net/sikuli/+question/403295 Hi! I need to get the time in milliseconds of matching (if it was successful). When I print a match result I get something like this: a = find(myimage) print a >>M[1014,305 169x155]@S(S(0)[0,0 1920x1080]) S:1,0

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Status: Open => Solved Alex Lunyov confirmed that the question is solved: OK, I have just exctracted the list of methods of Match and got .getTime() that is exactly what I need. -- You received t

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Status: Solved => Open Alex Lunyov is still having a problem: Thanks Raiman! But I still need some help. So, when the image is right on the screen and it matches during first scan, the result is l

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Status: Answered => Open Alex Lunyov is still having a problem: Thanks a lot for the answer. May be I didn't understand something, but why does getTime() always report a number less then 1000

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Alex Lunyov posted a new comment: Try to do my best to improve the project as we all do :-) The correct function getTime will make my code more robust in the first seconds of starting. -- You received this

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Status: Answered => Solved Alex Lunyov confirmed that the question is solved: Great, the bug flyed out!) 680923 M[1029,196 796x653]@S(S(0)[0,0 1920x1080]) S:1,00 C:1427,522 [680923 msec] I m

Re: [Sikuli-driver] [Question #403295]: Getting time of matching operation

2016-10-21 Thread Alex Lunyov
Question #403295 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403295 Alex Lunyov confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #403370]: Problems installing SikuliX 1.1.0 in Windows 8/10 --- try version 1.1.1

2016-10-23 Thread Alex Lunyov
Question #403370 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403370 Alex Lunyov proposed the following answer: Please, check the name of your win-user account on the PCs. It should be non unicode-named (Latin etc. but not Russian, Chinese etc.). If so, login to the latin

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-26 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Just want to check, it this bug is under working. It still exists in last nightly. -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-26 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: *if this bug -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-26 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: *if this bug -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-26 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Thanks, masuo. This bug is 8 month old, so, it might relies on some Java problems but not Sikuli? -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-27 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: May be masuo's and my examples (represented here) will help you a bit. Also notice that the problem of Env.isLockOn arises sometimes when the previous run of the scrip

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-10-29 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Oh! This is incredible! :) I'm looking forward to be updated and check the solution. -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-02 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Sos! I've just install the last update 1.1.1 and it seems the workflow interrupts fatally every time on the command Env.isLockOn, see screenshot https://drive.googl

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-02 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: *installed, sorry. The screenshot was made from the video of closing the Sikuli IDE -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-02 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Thank you for the advice. I'll try. I have a backup in any case. -- You received this question notification because your team Sikuli Drivers is an answer contac

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-03 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: I deleted all "C:\Users\Lunyov\AppData\Roaming\Sikulix" folder, no effect. Then I uninstalled Java 8-111, reinstalled it, again deleted SikuliX and installed la

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-03 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: OK, RaiMan, I'll do that. Some news meanwhile: I've installed last nightly version of SikuliX on the similar computer (Win 7 64 bit) with Java 7 version

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-06 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: The problem was solved with RaiMan's assist. Java 64 bit was needed, not 32 bit version, on Win 7-64. -- You received this question notification because your team S

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-07 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: Well, the problem of _crashing_ was solved, but... I have just realized that Env.isLockOn(...) doesn't work as expected. This function gives True in any cases. Typ

Re: [Sikuli-driver] [Question #403786]: Sikuli running from personal laptop and finding image on remote machine

2016-11-07 Thread Alex Lunyov
Question #403786 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403786 Status: Open => Needs information Alex Lunyov requested more information: Please, post the error message to analyse your incident. How did you know Sikuli hadn't found the image of shortcut?

Re: [Sikuli-driver] [Question #285483]: isLockOn does not change until typing from the keyboard

2016-11-08 Thread Alex Lunyov
Question #285483 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/285483 Alex Lunyov posted a new comment: May be this will help: GetKeyState returns type SHORT signed and state variable is of Java INT type, and so sign is lost (and hence True value is returned anyway). May be

Re: [Sikuli-driver] [Question #403786]: Sikuli running from personal laptop and finding image on remote machine

2016-11-10 Thread Alex Lunyov
Question #403786 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403786 Alex Lunyov posted a new comment: Nice, you are welcome. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #404001]: stopObserver() doesn't work

2016-11-11 Thread Alex Lunyov
New question #404001 on Sikuli: https://answers.launchpad.net/sikuli/+question/404001 I don't understand, why this code hangs up (I use latest 1.1.1 nightly version). def myhandler(event): print "Seen" event.stopObserver() img = "a.png" reg = Region(417,895,209,185) reg.onAppear(img, my

Re: [Sikuli-driver] [Question #404001]: stopObserver() doesn't work

2016-11-12 Thread Alex Lunyov
Question #404001 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404001 Status: Answered => Open Alex Lunyov is still having a problem: When I use this: onAppear(img, myhandler) observe(10) - it works fine. It observed the whole screen, see pic and write message &q

Re: [Sikuli-driver] [Question #404001]: stopObserver() doesn't work

2016-11-13 Thread Alex Lunyov
Question #404001 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404001 Alex Lunyov gave more information on the question: The same problem, hundreds of lines "File "C:\SikuliX\SikuliX 1.1.1 08-11\sikulix.jar\Lib\sikuli\Region.py", line 63, in observe", I

Re: [Sikuli-driver] [Question #404041]: Compare two colors

2016-11-13 Thread Alex Lunyov
Question #404041 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404041 Status: Open => Answered Alex Lunyov proposed the following answer: Hm, they are not equal, see green components are different. -- You received this question notification because your team Sik

Re: [Sikuli-driver] [Question #404001]: stopObserver() doesn't work

2016-11-13 Thread Alex Lunyov
Question #404001 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404001 Alex Lunyov posted a new comment: OK, I looked more closely the docs, tried the example and found out that adding the line reg = JRegion(reg) solved my problem at last. I don't know Java, this lin

Re: [Sikuli-driver] [Question #404001]: stopObserver() doesn't work

2016-11-21 Thread Alex Lunyov
Question #404001 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404001 Alex Lunyov posted a new comment: @spyros-liakos, ;) we do all the best to help each other here. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #404238]: Error Observe sikuli 1.1.1

2016-11-21 Thread Alex Lunyov
Question #404238 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404238 Alex Lunyov posted a new comment: Yes, and it seems the title of that question is not proper. May be this is better: "Java region problem in observer (Sikuli 1.1.1)". "stopObserver&qu

Re: [Sikuli-driver] [Question #404238]: [1.1.0+] HowTo use Region.observe()

2016-11-21 Thread Alex Lunyov
Question #404238 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404238 Alex Lunyov posted a new comment: @Raiman, the code example in onChanged part of the docs doesn't work in 1.1.1 and some previous nightly versions. It returns error "[error] TypeError ( observe()

Re: [Sikuli-driver] [Question #404499]: How can I register the spend time step by step?

2016-11-29 Thread Alex Lunyov
Question #404499 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404499 Status: Open => Answered Alex Lunyov proposed the following answer: It seems this Python module could help you: https://docs.python.org/2/library/datetime.html You could record the timestamps

Re: [Sikuli-driver] [Question #404499]: How can I register the spend time step by step?

2016-11-29 Thread Alex Lunyov
Question #404499 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404499 Alex Lunyov posted a new comment: *then convert... -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Bug 1646399] [NEW] select() can't set default=0; can't set default=

2016-12-01 Thread Alex Lunyov
Public bug reported: #1 select(mytxt, options=mylist, default=0) throws an error: «Error source first line: module ( function ) statement 433: Sikuli ( select ) TypeError: popSelect(): 4th arg can't be coerced to String». The first line as default is expected. #2 It is convenient to set default

Re: [Sikuli-driver] [Question #404549]: Extract a value from a tooltip which is a part of the flash application?

2016-12-01 Thread Alex Lunyov
Question #404549 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404549 Status: Open => Needs information Alex Lunyov requested more information: The possible solution depends upon the time period while the tooltip is visible, upon the type of information you expect to

<    1   2   3   4   >