[Sikuli-driver] [Question #708013]: getCenter on a user coded region returns a clickpoint on the bottom right of the region

2023-09-22 Thread Mark McGuinn
New question #708013 on SikuliX: https://answers.launchpad.net/sikuli/+question/708013 I've defined a region using the Region command and when I do a highlight of the region is show corrrectly. But when I want to click on the region I use the gtCenter call but the clickpoint for the region is

[Sikuli-driver] [Question #689848]: Is there a way of ensuring that only the required number of clicks are carried out?

2020-04-12 Thread Mark McGuinn
New question #689848 on Sikuli: https://answers.launchpad.net/sikuli/+question/689848 I have an app which is designed to automate certain aspects of an auction process. The app cycles through the auction catalog to gather specific information on each item available. The catalog has the

Re: [Sikuli-driver] [Question #689782]: Region text read not always returning correct text

2020-04-09 Thread Mark McGuinn
Question #689782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689782 Status: Answered => Solved Mark McGuinn confirmed that the question is solved: The suggestion to use the space character as the delimiter instead worked, thanks! -- You received this quest

Re: [Sikuli-driver] [Question #689782]: Region text read not always returning correct text

2020-04-09 Thread Mark McGuinn
Question #689782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689782 Status: Needs information => Open Mark McGuinn gave more information on the question: as requested the ascii string after the ascii_reg.text() when the programs works is: ('The ascii t

Re: [Sikuli-driver] [Question #689782]: Region text read not always returning correct text

2020-04-09 Thread Mark McGuinn
Question #689782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689782 Mark McGuinn gave more information on the question: I thought it might be useful to add the output for when firstly the program runs correctly: ('Character is ...', '\xc2') ('Character is ...', 194

[Sikuli-driver] [Question #689782]: Region text read not always returning correct text

2020-04-08 Thread Mark McGuinn
New question #689782 on Sikuli: https://answers.launchpad.net/sikuli/+question/689782 I have a auction app which reads the region on the screen containing information on the current bid position and the amount the vendor wants in order to sell the item immediately. The fields are shown on the

Re: [Sikuli-driver] [Question #688106]: Reload error when no reload calls present

2020-01-19 Thread Mark McGuinn
Question #688106 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688106 Status: Needs information => Open Mark McGuinn gave more information on the question: The script is being run in the IDE and below are the lines with import: def auction_control(): myScriptP

[Sikuli-driver] [Question #688106]: Reload error when no reload calls present

2020-01-19 Thread Mark McGuinn
New question #688106 on Sikuli: https://answers.launchpad.net/sikuli/+question/688106 I have a main control routine which calls 4 sub-routines to do various things. However when I try to run the main routine I get the following error: [error] IDE: Run Script: internal error: Traceback (most

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-13 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Status: Needs information => Open Mark McGuinn gave more information on the question: My apologies, I did not do a specific import of the routines, I thought that they would be imported automatica

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-13 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Mark McGuinn gave more information on the question: Looking into the issue to try and find a workaround I discovered that the image path does not contain the sub-routine folder as it apparently should

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-13 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Mark McGuinn posted a new comment: HI, I was wonderng if anyone has had the time to look at this issue. If they have is it reproducible from the simple example above? -- You received this question

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-10 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Status: Answered => Open Mark McGuinn is still having a problem: Here is the simplest test case: result = test() print result which calls: def test(): click("1578666326196.png")

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-10 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Status: Answered => Open Mark McGuinn is still having a problem: This is marked as answered but the bug remains. What do I need to do to confirm it is a bug? -- You received this question notificat

Re: [Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-06 Thread Mark McGuinn
Question #687794 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687794 Description changed to: Below is a simple test case which shows the problem. The click command if called on its own works fine, however if you try to call it from a sub-routine then you get an exception

[Sikuli-driver] [Question #687794]: Calling a click from a sub-routine causes an exception.

2020-01-06 Thread Mark McGuinn
New question #687794 on Sikuli: https://answers.launchpad.net/sikuli/+question/687794 Below is a simple test case which shows the problem. The click command if called on its own works fine, however if you try to call it from a sub-routine then you get an exception saying the image file could

[Sikuli-driver] [Bug 1858343] [NEW] Calling a click from a sub-routine causes an exception.

2020-01-05 Thread Mark McGuinn
Public bug reported: Below is a simple test case which shows the problem. The click command if called on its own works fine, however if you try to call it from a sub-routine then you get an exception saying the image file could not be found result = test_auction(1000,1000) print result the

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

2020-01-01 Thread Mark McGuinn
Question #687690 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687690 Status: Answered => Solved Mark McGuinn confirmed that the question is solved: Many, many thanks for the quick response which appears to have sorted out the problem. -- You received this quest

[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 =

[Sikuli-driver] [Bug 1856450] Re: looks like an extra Click being added by IDE during loop --- definitely no

2019-12-27 Thread Mark McGuinn
Unfortunately the wait sis not solve the issue, and with the debug set to level 3 it is not recording the extra activity after the item is found. The debug shows the script finding the item, and then it logs the click at a specified location, it does not however log the click which takes the item

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-24 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: I get the error with the following simple test max_bid = 5 I have emailed a screenshot of the error to the sikuli acco

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-24 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Mark McGuinn gave more information on the question: Yes the problem still exists. Sent from my Huawei phone Original message From: Mark McGuinn Date: Mon, 23 Dec 2019, 18:22 To: bb

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: Manfred, apologies for the mis-assignment on the code, given that the code which I forgot to include is now available to you are

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Needs information => Open Mark McGuinn gave more information on the question: Hi Manfred, the definition is the one you proposed i.e. def test_if_char(value): for e in va

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: Changed all the variable names to be the same and the lines still fail. -- You received this question notification because your t

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Needs information => Open Mark McGuinn gave more information on the question: Hi Manfred, below is the simplified script plus a sub-routine it calls. Attached are a couple of screen sh

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Needs information => Open Mark McGuinn gave more information on the question: Adding the *:* after the if makes no difference to the exception being raised. The def for get time left is:

Re: [Sikuli-driver] [Question #687415]: IDE: How to solve/track strange problems

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: I've done what was suggested and am still getting the error when the test procedure basically contains just the if statement:

Re: [Sikuli-driver] [Question #687415]: Strange problem or a bug in Sikuli

2019-12-23 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Needs information => Open Mark McGuinn gave more information on the question: Hi Manfred thanks for the followup. The exception is raised when the ide does a check before executing the c

Re: [Sikuli-driver] [Question #687415]: Strange problem or a bug in Sikuli

2019-12-22 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: Manfred, thanks for the suggestion, unfortunately it is causing an exception when I try to implement it: [error] scr

[Sikuli-driver] [Bug 1856450] Re: looks like an extra Click being added by IDE during loop --- definitely no

2019-12-22 Thread Mark McGuinn
Adding in the wait solved the problem. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1856450 Title: looks like an extra Click being added by IDE during loop --- definitely no Status in

Re: [Sikuli-driver] [Question #687415]: Strange problem or a bug in Sikuli

2019-12-22 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Answered => Open Mark McGuinn is still having a problem: Hi RaiMan, many thanks for the response,i t has helped me to move things forward. However there is still a problem which is diffic

[Sikuli-driver] [Bug 1857230] Re: Exist not finding image even though it exists

2019-12-22 Thread Mark McGuinn
Some more info: If I run the script is sikuli1.1.3 then the following error is thrown: [error] Image: could not be loaded: file:/C:/Users/mmcguinn/Documents/main_bid_test.sikuli/test_for_complete.png [error] RunTimeIDE: ImageMissing: P(test_for_complete.png -- not valid!) S: 0.79 This happens

[Sikuli-driver] [Bug 1857230] [NEW] Exist not finding image even though it exists

2019-12-22 Thread Mark McGuinn
Public bug reported: In the script below the routine looks for the text "Auction Complete" and if it exists does something. The problem is that the image exists, and is shown if you do a pattern matching on the image but when you run the script the image is not detected even though it is there.

Re: [Sikuli-driver] [Question #687415]: Strange problem or a bug in Sikuli

2019-12-21 Thread Mark McGuinn
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Mark McGuinn gave more information on the question: This is the extracted routine: def get_time(): time_reg = (Region(260,692,89,29)) Debug.user("In Timer calcu

[Sikuli-driver] [Question #687415]: Strange problem or a bug in Sikuli

2019-12-21 Thread Mark McGuinn
New question #687415 on Sikuli: https://answers.launchpad.net/sikuli/+question/687415 Hi, I have an application which is designed to automate taking part in auctions. One of the functions in the app is to monitor the time left on the auction. It does this by defining a region where the timer

[Sikuli-driver] [Bug 1856450] [NEW] Extra Click being added by IDE during loop

2019-12-15 Thread Mark McGuinn
Public bug reported: Hi, the following script is designed to loop through a menu item until it fins the one it is looking for and when it does it stops the loop and is supposed to click a confirm button which takes the screen to another page. However what is happening is that the IDE finds the

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 la

[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 =

Re: [Sikuli-driver] [Question #686745]: What am I doing wrong?

2019-12-10 Thread Mark McGuinn
Question #686745 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686745 Status: Answered => Solved Mark McGuinn confirmed that the question is solved: Thanks for the response, the changes you suggested solve the issue, cheers -- You received this question notificat

Re: [Sikuli-driver] [Question #686745]: What am I doing wrong?

2019-12-10 Thread Mark McGuinn
Question #686745 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686745 Status: Answered => Open Mark McGuinn is still having a problem: Because the down arrow does not appear the system starts to print out the string: Auctions True but no downlit arrow--> It shou

[Sikuli-driver] [Question #686745]: Am I doing something wrong or is this a bug in Sikuli

2019-12-06 Thread Mark McGuinn
New question #686745 on Sikuli: https://answers.launchpad.net/sikuli/+question/686745 Hi, I am writing a script to gather some info from a auction site. I ran into a problem and tried to use the debug features of Sikuli. However the simple script below hangs when it tries to print out a

Re: [Sikuli-driver] [Question #686442]: Using onAppear

2019-12-01 Thread Mark McGuinn
Question #686442 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686442 Mark McGuinn gave more information on the question: I have been experimenting with this and despite using the IDE tool to define a region I am getting the following in the error messages: error] Region

[Sikuli-driver] [Question #686442]: Using onAppear

2019-12-01 Thread Mark McGuinn
New question #686442 on Sikuli: https://answers.launchpad.net/sikuli/+question/686442 In version 2.0.1 I am trying to use the onAppear function to catch when a specific piece of text appears. Below is the code I am using, it simple click a button which causes the image to change. The expected

Re: [Sikuli-driver] [Question #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread Mark McGuinn
Question #686421 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686421 Status: Answered => Open Mark McGuinn is still having a problem: Have managed to get somewhere with v2.0.1. Now getting to the point where it does the findText but it fails with an error even tho

Re: [Sikuli-driver] [Question #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread Mark McGuinn
Question #686421 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686421 Status: Answered => Open Mark McGuinn is still having a problem: Did as suggested and am still getting an error: [error] RunTimeIDE: ImageMissing: FORD [error] RunTimeIDE: Wait: Abort: Jyt

Re: [Sikuli-driver] [Question #686421]: How To Input a variable containing text to reg.find()

2019-12-01 Thread Mark McGuinn
Question #686421 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686421 Status: Answered => Open Mark McGuinn is still having a problem: Hi, thanks for the feedback. I had been using 1.1.3 because I could not get the side tab with the various coding shortcuts to work in

[Sikuli-driver] [Question #686421]: How To Input a variable containing text to reg.find()

2019-11-30 Thread Mark McGuinn
New question #686421 on Sikuli: https://answers.launchpad.net/sikuli/+question/686421 Trying to create a script which passes from excel to Sikul a name and then searches on an application screen for that name. The screen has 50 visible icons with a different name in each. I am trying to find

[Sikuli-driver] [Bug 1854055] [NEW] Screen Resolution C hnages during capture

2019-11-26 Thread Mark McGuinn
Public bug reported: I am newb and am trying out a simple example from YouTube. In the example the tutor uses the capture function to take an image of Windows start button and click it. When I try to do the same thing the resolution of the screen changes so that the Start button disappears from