Re: [Sikuli-driver] [Question #817924]: Changing language using sikuli
Question #817924 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/817924 Manfred Hampl posted a new comment: Then I am sorry and cannot help. You may have to wait for RaiMan to answer. Why do you want to change the language settings at all? The operation of SIkuli's functions like paste("text") is independent of the language settings. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #817924]: Changing language using sikuli
Question #817924 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/817924 Status: Open => Answered Manfred Hampl proposed the following answer: Try keyDown(Key.ALT) keyDown(Key.SHIFT) keyUp(Key.SHIFT) keyUp(Key.ALT) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #708602]: how do i get a region based of image file?
Question #708602 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/708602 Status: Open => Answered Manfred Hampl proposed the following answer: SikuliX performs actions on the visible screen. If that image is shown on the screen, then you can use Sikulix to act on its region. If you have an image not visible on the screen, but stored only on disk, and what to search for text in it, then Sikulix is not the right tool for that. You can use OCR programs like tesseract to do that directly. They usually work directly on image files. (In SIkuliX the following sequence of steps should theoretically work: Start an image viewer program, load the image such that it is shown on screen, use SikuliX to do findText on the image.) Or did I misunderstand your question? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #708540]: screen.findText cant find outlined text
Question #708540 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/708540 Status: Open => Answered Manfred Hampl proposed the following answer: Sikulix uses Tesseract for Optical Character Recognition. If Tesseract is not able to identify a certain category of written text, then this is not Sikulix's fault Remark: Outlined text and text on a rasterized background are known to be problematic for all OCR programs. see e.g. https://stackoverflow.com/questions/38000761/ocr-how-to-get-text-from- outlined-words -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #708330]: mismatch error in compilation for Siesta 4.1b4
Question #708330 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/708330 Status: Open => Answered Manfred Hampl proposed the following answer: How is this related to SikuliX? If you have a problem with Siesta, then you should ask at https://gitlab.com/siesta-project/siesta/-/issues Note: Siesta has moved from Launchpad to gitlab some years ago https://launchpad.net/siesta/+announcement/15351 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #708018]: Project start time.
Question #708018 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/708018 Manfred Hampl requested more information: "they did not work" in which sense? Did Sikuli stop working with that change, or do you receive an error message, or? Does that additional parameter change anything in memory consumption? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #708018]: Project start time.
Question #708018 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/708018 Status: Open => Answered Manfred Hampl proposed the following answer: Which Java version (and which operating system) are you running? Have you tried setting memory options for java (e.g. -Xms, -Xmx)? Is the behavior different if you start the job with java -Xmx2g -jar sikulix.jar -r /path/test.sikuli -c -v command -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707899]: OCR not recognizing simple text
Question #707899 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707899 Status: Open => Answered Manfred Hampl proposed the following answer: I did not mean reconfiguring the whole application for all users, but just the display part on your computer. In any case, from your answer it seems that this is not possible. Do you really need to (correctly) read the contents of that line? Eventually it is possible to select "the last entry in the menu" without the need to decipher the text? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707899]: OCR not recognizing simple text
Question #707899 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707899 Status: Open => Answered Manfred Hampl proposed the following answer: Just for diagnostic purposes: Is the "[SJ/SJ] (01-01-2009-31-12-2099)" text the output of a program running locally, or is that part of a web page? If it is a web page, what is the format for displaying "[SJ/SJ] (01-01-2009-31-12-2099)" - is it an image or text? Or, if you do a right click on the "[SJ/SJ] (01-01-2009-31-12-2099)" text, what do you get offered in the pop-up window (e.g save image as ...)? Is there any possibility to increase the display size of that part of the screen or changing the configuration of the program used (e.g. like increasing display size of the web page to 150%)? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707195]: To perform automation on image drawing by select shape on application and draw on image using sikuli
Question #707195 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707195 Manfred Hampl posted a new comment: I am sorry, but I do not understand your needs and it seems that you do not understand what we need for helping. I give up. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707195]: To perform automation on image drawing by select shape on application and draw on image using sikuli
Question #707195 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707195 Status: Open => Needs information Manfred Hampl requested more information: This still does not provide enough information. What is "canvas adilogist image"? Google does not find anything. Please explain what steps have to be automated, e.g. by giving a rough step-by-step description of the actions that have to be done when you execute the test manually, something like open XY application press ctrl-n for "new" move the mouse to the center of the upper left quadrant of the screen press the left mouse button and pull the mouse down half a screen, right half a screen, up half a screen, and back left to the initial point to draw a rectangle, and release the mouse button compare the result with a stored image etc. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707195]: To perform automation on image drawing by select shape on application and draw on image using sikuli
Question #707195 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707195 Status: Open => Needs information Manfred Hampl requested more information: Please explain in more details what you want to do. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #707195]: To perform automation on image drawing by select shape on application and draw on image using sikuli
Question #707195 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/707195 Status: Open => Answered Manfred Hampl proposed the following answer: I suggest that you try using mouseDown(...) mouseMove(...) mouseUp(...) https://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=mouseup#low- level-mouse-and-keyboard-actions -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #704189]: NameError: name 'use' is not defined
Question #704189 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/704189 Status: Open => Answered Manfred Hampl proposed the following answer: Do you really have from sikuli import # or is it from sikuli import * ? And at the end in print("done) the ending quote is missing. This example cannot work. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #703916]: How to loop entire Script
Question #703916 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/703916 Status: Open => Answered Manfred Hampl proposed the following answer: What you need can be found by a web search for "python while". running = True def runHotkey(event): global running running = False Env.addHotkey(Key.ESC, KeyModifier.SHIFT+KeyModifier.CTRL, runHotkey) while running: click(Location(41,1300)) click(Location(38,1179)) wait(1) click(Location(367,965)) click(Location(420,991)) ... (all commands to be repeated need to be indented by the same amount of whitespace) Remark: You have to make sure, that the hotkey that you select does not conflict with hotkeys in other programs, especially in the operating system. As far as I know, on a Windows system ctrl-shift-esc starts the task manager and this has precedence, so that key combination does not work in Sikulix on Windows. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #703663]: no viable alternative at input keydown?
Question #703663 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/703663 Status: Open => Answered Manfred Hampl proposed the following answer: You have to put the C between quotes to specify that it is the character "C" and not a variable with that name. keyDown("C") or keyDown("c") if it is without "shift". What is the exact error message for the mouse click? (I assume it cannot be "... at input 'keyDown'") -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702646]: Optimizing resource usage
Question #702646 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702646 Status: Open => Needs information Manfred Hampl requested more information: "By detecting the red hangup button from skype call window. Problem is for the second round, skype call window stays in the background and won't go to front. So sikuli can't detect the red button anymore.." Just talking about the second round: How do you know that there is a red hangup button, if it is only in the background? If you do it manually, how can you bring the skype call window to front? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702646]: Optimizing resource usage
Question #702646 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702646 Status: Open => Needs information Manfred Hampl requested more information: If you would have to do this manually, how do you know that a new skype call is coming in? Is there an additional icon in the task bar etc. etc.? Then you may be able to use that as trigger in the script for the second round (or maybe also even for the first one). -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702646]: Optimizing resource usage
Question #702646 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702646 Status: Open => Answered Manfred Hampl proposed the following answer: Also "exists" should be restricted to the smallest possible region. Something like HomeAssistant = App(r"c:\HA\Home_Assistant.exe") Settings.WaitScanRate = 0.5 myRegion = Region(1381,22,519,964) while True: myRegion.wait("1659658059381.png", FOREVER) while myRegion.exists("1659658059381.png", 0): wait(3) HomeAssistant.focus() Further enhancement of the script could be to identify the exact position where the skype image is found in the "wait" statement, and then use that region for re-checking if it still existing the "exists" statement. Perhaps something like HomeAssistant = App(r"c:\HA\Home_Assistant.exe") Settings.WaitScanRate = 0.5 baseRegion = Region(1381,22,519,964) while True: foundRegion = baseRegion.wait("1659658059381.png", FOREVER) while foundRegion.exists("1659658059381.png", 0): wait(3) HomeAssistant.focus() (For the openjdk processes I do not know enough about the technical details, hopeful RaiMan can answer that.) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702646]: Optimizing resource usage
Question #702646 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702646 Status: Open => Answered Manfred Hampl proposed the following answer: Sorry, it seems that I misunderstood the requirements. If you want to keep the script running to answer skype calls multiple times, whenever they come in, then you need the "While True". In that case the only possibility that I see is fine-tuning the frequency of checking for the skype pic by reducing the scan rate for the skype image or increasing wait time between the checks. HomeAssistant = App(r"c:\HA\Home_Assistant.exe") Settings.WaitScanRate = 3 # -reduce this number to 0.5 for checking only once every two seconds, etc. While True wait(skype.png, FOREVER) while exists(skype.png, 0): wait(0.5) # increase this number to 2.0 for checking only every two seconds, etc. HomeAssistant.focus() Can the skype.png button appear anywhere on the screen, or is it always in the same spot? In the latter case you should search only in that region instead of the whole screen. This should also reduce resource usage. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702646]: Optimizing resource usage
Question #702646 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702646 Status: Open => Answered Manfred Hampl proposed the following answer: Are you sure that you need the "While True"? I do not know the details of your system, but I would expect that the following may be sufficient, unless the skype window (identified by skype.png) re-appears again and again. HomeAssistant = App(r"c:\HA\Home_Assistant.exe") Settings.WaitScanRate = 3 wait(skype.png, FOREVER) while exists(skype.png, 0): wait(0.5) HomeAssistant.focus() The WaitScanRate and wait(0.5) values could also be modified, if it is not time-critical. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702137]: Log4j 1.x vulnerability with Sikuli2.x ?
Question #702137 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702137 Manfred Hampl posted a new comment: Sorry, ignore my answer. You are not referring to cve-2021-44228 log4j 2.x, but to the vulnerabilities that have been reported for log4j 1.x CVE-2022-23302, -23305 or -23307 I cannot tell anything about these. I hope that RaiMan can help with it. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #702137]: Log4j 1.x vulnerability with Sikuli2.x ?
Question #702137 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702137 Status: Open => Answered Manfred Hampl proposed the following answer: This has already been answered in other questions: https://answers.launchpad.net/sikuli/+question/699867 https://answers.launchpad.net/sikuli/+question/699868 https://answers.launchpad.net/sikuli/+question/699854 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #700969]: Parameter and imagepath escape characters
Question #700969 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700969 Status: Needs information => Answered Manfred Hampl proposed the following answer: How do you access the appAgile directory from inside the threadAgile script? What is the exact text for setting up imagepath and the import statement? You may have to use double backslashes or raw strings. See FAQ #1739 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699977]: I want to unblock mouse action and How to run Sikulix as admin
Question #699977 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699977 Manfred Hampl posted a new comment: @RaiMan: Danke, ebenfalls alles Gute! -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699977]: I want to unblock mouse action and How to run Sikulix as admin
Question #699977 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699977 Manfred Hampl posted a new comment: There are thousands of web pages showing how to do that, e.g. https://blog.techinline.com/2019/08/14/run-command-prompt-as-administrator-windows-10/ https://www.isunshare.com/windows-10/2-ways-to-run-command-prompt-as-administrator-in-win-10.html etc. etc. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699868]: High-risk vulnerability in Log4j !!!
Question #699868 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699868 Status: Open => Answered Manfred Hampl proposed the following answer: This has already been answered see https://answers.launchpad.net/sikuli/+question/699854 and https://answers.launchpad.net/sikuli/+question/699867 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #699409]: Trying to start Sikuli server opens FilZip window instead
Question #699409 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/699409 Status: Open => Answered Manfred Hampl proposed the following answer: What is the default app setting for .jar files on your system? https://helpdeskgeek.com/how-to/how-to-change-the-default-program-to-open-a-file-with/ It may be wrongly set to FilZip instead of Java -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698358]: Wait for x amount of time defined by input box
Question #698358 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698358 Status: Open => Answered Manfred Hampl proposed the following answer: see https://answers.launchpad.net/sikuli/+question/235023 and: For wait(value) to wait for the given period, value has to be a number. time_city = input("How long would you like City to run for?"), however, returns a string value. What you need might be wait(int(time_city)) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698272]: Loop is not working (while, if)
Question #698272 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698272 Manfred Hampl proposed the following answer: Please compare click(Pattern("Toran.png").similar(0.90)) click(Pattern("Toran.png".similar(0.90)) <-- closing bracket missing Additional remark: You use andAndo = True ... andando = False with capital letter and without. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698239]: Type " into Windows cmd comes out as ~
Question #698239 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698239 Status: Open => Answered Manfred Hampl proposed the following answer: probably the problem that is covered in faq 933 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698118]: my script reacts too slow when detecting the image, how to improve it?
Question #698118 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698118 Status: Open => Answered Manfred Hampl proposed the following answer: see e.g. https://answers.launchpad.net/sikuli/+question/663281 make search region as small as possible around the place where you expect the image to appear. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697835]: Left click on the current location of the mouse
Question #697835 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697835 Status: Open => Answered Manfred Hampl proposed the following answer: Try click(Mouse.at()) https://sikulix-2014.readthedocs.io/en/latest/globals.html?highlight=mouse.at#Mouse.at or use mouseDown (Button.LEFT) mouseUp () https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.mouseDown -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697175]: passing string to shell using runscript
Question #697175 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697175 Status: Open => Answered Manfred Hampl proposed the following answer: What you need has nothing to do with Sikulix, but is plain Python syntax. You need string concatenation to construct the value for "mail_sending". Something like this: def start_user(): print('sending mail to user') mail_sending = 'powershell \n' mail_sending = mail_sending + '$EmailFrom = "' + MyMail + '\n' mail_sending = mail_sending + '$EmailTo = "' + email + '\n' etc. Another possibility is substitution with %s see e.g. https://www.pythonforbeginners.com/concatenation/string- concatenation-and-formatting-in-python -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697041]: Run error - [error] AttributeError ( 'NoneType' object has no attribute 'getX' )
Question #697041 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697041 Status: Open => Answered Manfred Hampl proposed the following answer: What is getLastFoundImages() ? I suggest that you add a few debug statements, e.g. to check what SCREEN.getLastMatch() is at the moment when you try using it. Why are you adding SCREEN at that moment? I do not see any need, if you did not use SCREEN in any other related part of the scripts. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697041]: Run error - [error] AttributeError ( 'NoneType' object has no attribute 'getX' )
Question #697041 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697041 Status: Open => Answered Manfred Hampl proposed the following answer: [error] AttributeError ( 'NoneType' object has no attribute 'getX' ) ... 54: logger ( passed ) region = (last_match.getX(), last_match.getY(), last_match.getW(), Apparently last_match is undefined or empty in that moment. Where was this meant to be set? Eventually you should use getLastMatch().getX() etc. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Manfred Hampl posted a new comment: or rightClick("image.png", KEY_SHIFT) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696946]: Right click + Shift
Question #696946 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696946 Status: Open => Answered Manfred Hampl proposed the following answer: From https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.rightClick rightClick(PSMRL[, modifiers]) Perform a mouse click on the click point using the right button. Parameters: PSMRL – a pattern, a string, a match, a region or a location that evaluates to a click point. modifiers – one or more key modifiers Returns: the number of performed right 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). Side Effect if PS was used, the match can be accessed using Region.getLastMatch() afterwards. Use KEY_SHIFT as value for "modifiers", see also https://sikulix-2014.readthedocs.io/en/latest/keys.html -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696816]: Scroll until
Question #696816 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696816 Status: Open => Answered Manfred Hampl proposed the following answer: What is complete_scroll? Is this an image that shows that you are at the end? In that case your "if" statement is the wrong way round and probably must be while True: if exists(complete_scroll): break else: click(down_arrow) wait(1) Additional idea: Is there a way to use a keyboard shortcut (e.g. Ctrl+End) to scroll down to the end? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696483]: 'No appenders could be found. Please initialise the log4j system properly' error when trying to execute the same working scripts from one VM to another
Question #696483 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696483 Status: Open => Answered Manfred Hampl proposed the following answer: (Not sure whether helpful at all) Result of websearch for the error message log4j:WARN No appenders could be found for logger ... https://logging.apache.org/log4j/1.2/faq.html#noconfig Why do I see a warning about "No appenders found for logger" and "Please configure log4j properly"? This occurs when the default configuration files log4j.properties and log4j.xml can not be found and the application performs no explicit configuration. ... Do you have the files log4j.properties and log4j.xml on the different systems? Do they contain similar contents? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696411]: waitBest returning Null pointer exception
Question #696411 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696411 Status: Open => Answered Manfred Hampl proposed the following answer: If you have got the names of the images in an array, then you should use waitBestList instead of waitBest https://sikulix-2014.readthedocs.io/en/latest/region.html#find-more- than-one-image-in-a-region-at-the-same-time @RaiMan: There is a error in the documentation: The waitTime parameter is missing in waitBestList(ListPS), should probably be waitBestList(waitTime, ListPS) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696174]: Emojis, wait, and continue in case of error
Question #696174 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696174 Manfred Hampl posted a new comment: See https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.type and try paste(unicd("😅🙏")) instead of type() -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #695896]: Unable to install in Win 10 Pro 64bit
Question #695896 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695896 Status: Open => Needs information Manfred Hampl requested more information: What is the output of java -version -- You received this question notification because your team Sikuli Drivers 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 #695870]: is there a way i can get list of process and memory consume via sikuli?
Question #695870 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695870 Status: Open => Answered Manfred Hampl proposed the following answer: Have you tried spawning a subprocess to execute the command "tasklist" (or eventually "taskmgr")? -- You received this question notification because your team Sikuli Drivers 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 #695621]: ioerror for just open txt file on windows server 2016
Question #695621 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695621 Status: Open => Answered Manfred Hampl proposed the following answer: Use double backslashes ("C:\\test") or single backslashes with raw text (r"C:\test") -- You received this question notification because your team Sikuli Drivers 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 #695577]: Specify targetOffset(). to match object
Question #695577 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695577 Status: Open => Answered Manfred Hampl proposed the following answer: You can specify the targetOffset when defining the match object. obj = region.find(...).targetOffset(2,2) And Since a match object is a region, you could work with the location click(obj.getCenter().offset(2,2)) -- You received this question notification because your team Sikuli Drivers 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 #695203]: Random move
Question #695203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695203 Status: Open => Answered Manfred Hampl proposed the following answer: Without looking into details of your click and wait logic: Modifying the counter of a "for ... in range()" loop (in your case x and z) inside the loop is nonsense. Are you sure that your definition of rndtime makes sense? In Python 2.7 "/" is integer division, so I assume that the value always will be zero. -- You received this question notification because your team Sikuli Drivers 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 #694198]: Check Duration of Blinking Image?
Question #694198 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694198 Manfred Hampl proposed the following answer: Region.waitVanish might be a better method, maybe something like Region.wait(Image) starttime = time.time() Region.waitVanish(Image) duration = time.time() - starttime Note: If you just check if the image is there after X seconds, then it might have disappeared and re-appeared in between. -- You received this question notification because your team Sikuli Drivers 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 #693707]: Problem with mouse clicks on images
Question #693707 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693707 Manfred Hampl proposed the following answer: Another possible reason for you problem: region.click() does a mouse click in the center of the region. In case that your button is outside the center of the region, your click may be outside the button. Try if region.exists(button): region.getLastMatch().click() -- You received this question notification because your team Sikuli Drivers 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 #692503]: Custom image path for 1 function
Question #692503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692503 Status: Open => Answered Manfred Hampl proposed the following answer: Has to be if exists(Pattern(image1).similar(0.85)): instead of if Pattern(image1).similar(0.85): -- You received this question notification because your team Sikuli Drivers 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 #692019]: [request] Randomized mouse route from A to B?
Question #692019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692019 Manfred Hampl proposed the following answer: I am a bit lost. My interpretation of your request was twofold: - If you click on a found image, don't click in the center, but on some random spot in the image - If you move the mouse from one spot to another one, don't use straight line, but random path. Unfortunately these two aspects got somehow mixed in the solutions presented so far. For just the "random" equivalent of if exists("1595917673821.png"): click("1595917673821.png") wait(random.randint(5,10)) I suggest if exists("1595917673821.png"): mouseMoveRandom(gestlastmatch(), 50, 50) # move the mouse randomly to a random spot in the image click(Mouse.at()) # do a mouse-click where the mouse currently is wait(random.randint(5,10)) -- You received this question notification because your team Sikuli Drivers 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 #692019]: [request] Randomized mouse route from A to B?
Question #692019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692019 Status: Open => Answered Manfred Hampl proposed the following answer: Not a sikuli error, but a python error: for n in range(): [error] TypeError ( range() takes 1-3 arguments (0 given) ) range needs parameter(s) How often do you want to repeat the block? If 200 times, then use range(200), etc. -- You received this question notification because your team Sikuli Drivers 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 #692019]: Randomized mouse route from A to B?
Question #692019 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692019 Manfred Hampl proposed the following answer: To randomly click somewhere inside a region, use something like a = Region(x, y, w, h) # define a as region, either by giving its coordinates, or as a match from a find action, etc. click(Location(random.randint(a.getX(),a.getX()+a.getW()),random.randint(a.getY(),a.getY()+a.getH( Don't forget to initialize random at the beginning, e.g. with random.seed() -- You received this question notification because your team Sikuli Drivers 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 #691979]: set up sikuli for python script
Question #691979 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691979 Manfred Hampl posted a new comment: Ignore that message, it is spam -- You received this question notification because your team Sikuli Drivers 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 #691988]: How to switch between desktop application and web application
Question #691988 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691988 Manfred Hampl proposed the following answer: How would you do that manually (i.e. without Sikuli)? Probably by clicking somewhere in the other window to bring it to front, or with a "alt-tab" key. Do the same in SIkuli. -- You received this question notification because your team Sikuli Drivers 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 #691988]: How to switch between desktop application and web application
Question #691988 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691988 Status: Open => Answered Manfred Hampl proposed the following answer: How would you do that manually (i.e. without Sikuli)? Probably by clicking somewhere in the other window to bring it to front, on with a "alt-tab" key. Do the same in SIkuli. -- You received this question notification because your team Sikuli Drivers 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 #691800]: Cannot import name Vision
Question #691800 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691800 Manfred Hampl posted a new comment: Just an idea: Are you sure that these 60-70 ms are solely caused by the reaction time? Maybe the numbers include some network transfer time plus calculation time for the results plus ... -- You received this question notification because your team Sikuli Drivers 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 #691526]: Print test page
Question #691526 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/691526 Manfred Hampl posted a new comment: spam -- You received this question notification because your team Sikuli Drivers 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 #690371]: Drag and Drop random region
Question #690371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/690371 Status: Open => Answered Manfred Hampl proposed the following answer: Just a small modification, I had expected that you can do the required changes yourself. Probably something like import random random.seed() myRegion = ... # define your region by whatever means, e.g. by specifying the coordinates, or as a match for a find action, ... myX = myRegion.getX() myY = myRegion.getY() myW = myRegion.getW() myH = myRegion.getH() dragDrop(Location(random.randint(myX,myX+myW),random.randint(myY,myY+myH)), Location(random.randint(myX,myX+myW),random.randint(myY,myY+myH))) -- You received this question notification because your team Sikuli Drivers 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 #690371]: Drag and Drop random region
Question #690371 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/690371 Status: Open => Answered Manfred Hampl proposed the following answer: Probably something like import random random.seed() mywidth = Screen(0).getW() myheight = Screen(0).getH() dragDrop(Location(random.randint(0,mywidth),random.randint(0,myheight)),Location(random.randint(0,mywidth),random.randint(0,myheight))) -- You received this question notification because your team Sikuli Drivers 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 #689868]: Retrieving txt from Match results issue as access violation
Question #689868 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689868 Manfred Hampl posted a new comment: Sorry, I don't know. I never tried to modify the tesseract environment. I suggest that you search the web. -- You received this question notification because your team Sikuli Drivers 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 #689868]: Retrieving txt from Match results issue as access violation
Question #689868 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689868 Status: Open => Answered Manfred Hampl proposed the following answer: Some hits on a google search for "actual_tessdata_num_entries_ <= TESSDATA_NUM_ENTRIES" indicate that this can be caused by tesseract trained data and the tesseract version not fitting together. Did you add trained data from elsewhere? -- You received this question notification because your team Sikuli Drivers 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 #689782]: Region text read not always returning correct text
Question #689782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689782 Status: Open => Answered Manfred Hampl proposed the following answer: What about trying to split the string at the blanks and taking the second and fourth piece? Then it does not matter whether it's \xc2\xa9 or @. -- You received this question notification because your team Sikuli Drivers 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 #689782]: Region text read not always returning correct text
Question #689782 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689782 Status: Open => Needs information Manfred Hampl requested more information: You have to be aware that OCR always has some problems distinguishing special characters like ®, © and @. Your text is somewhat contradictory. You talk about ascii 169 and ')', but as far as I know ascii 169(dec) is ®, and ')' is ascii code 41(dec). The decoding log of your program shows (in the second round) @ 64(dec) instead. If you use copy/paste on the values on screen, what do you get? And what are the contents of ascii_text immediately after the "ascii_text = ascii_reg.text()" statement? -- You received this question notification because your team Sikuli Drivers 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 #689581]: assert(function name)
Question #689581 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689581 Status: Open => Needs information Manfred Hampl requested more information: What do the print statements show when running the program? What should the statment m.getIndex(),m.getScore() do (already asked by RaiMan)? It does not make any sense. -- You received this question notification because your team Sikuli Drivers 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 #689581]: assert(function name)
Question #689581 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689581 Status: Open => Needs information Manfred Hampl requested more information: What's now the relevant snippet of your code? -- You received this question notification because your team Sikuli Drivers 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 #689581]: assert(function name)
Question #689581 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689581 Manfred Hampl proposed the following answer: assert() needs a boolean value, but your subroutine Enable(obj1,obj2) does not return anything. -- You received this question notification because your team Sikuli Drivers 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 #689570]: hotkey function while running in virtualbox
Question #689570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689570 Manfred Hampl proposed the following answer: Why do you need the code? What I meant was: if you want to abort your script, press the right alt key and then ctrl-F1 manually. -- You received this question notification because your team Sikuli Drivers 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 #689570]: hotkey function while running in virtualbox
Question #689570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689570 Manfred Hampl posted a new comment: typo, "right ctrl" -- You received this question notification because your team Sikuli Drivers 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 #689570]: hotkey function while running in virtualbox
Question #689570 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689570 Status: Open => Answered Manfred Hampl proposed the following answer: This may be caused by using VirtualBox. Does it work when you press the VirtualBox host key first (usually reight ctrl), and then ctrl + F1? -- You received this question notification because your team Sikuli Drivers 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 #689383]: version 2.0.3 type("c", Key.CTRL) not in Env.getClipboard()
Question #689383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689383 Status: Open => Answered Manfred Hampl proposed the following answer: Which virtualization system do you use? I know that on Virtualbox you have to enable "Clipboard sharing" to be able to copy/paste from guest to host and vice versa, see https://www.liberiangeek.net/2013/09/copy-paste-virtualbox-host-guest-machines/ Maybe you are running into such kind of limitation. -- You received this question notification because your team Sikuli Drivers 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 #689319]: How to get the area on screen which has difference with my base image
Question #689319 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689319 Status: Open => Answered Manfred Hampl proposed the following answer: see also https://answers.launchpad.net/sikuli/+question/689381 -- You received this question notification because your team Sikuli Drivers 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 #689402]: How to Set variable with growing integers
Question #689402 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689402 Status: Open => Answered Manfred Hampl proposed the following answer: Please slose as duplicate of https://answers.launchpad.net/sikuli/+question/689403 -- You received this question notification because your team Sikuli Drivers 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 #689387]: doubleClick coordinates
Question #689387 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689387 Status: Open => Answered Manfred Hampl proposed the following answer: Have you tried doubleClick(getmouseLoc)¶ -- You received this question notification because your team Sikuli Drivers 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 #689336]: Passing argument value dynamically
Question #689336 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689336 Status: Open => Answered Manfred Hampl proposed the following answer: This is absolutly not Sikuli-specific, buy plain Python. See books or web pages about Python. Topic: String concatenation. Try type("mode con: cols="+str(h)+" lines="+str(w)) or similar to your creation of "cmd = 'start ...' modeCommand = 'mode con: cols=%s lines=%s'%(str(h),str(w)) type(modeCommand) -- You received this question notification because your team Sikuli Drivers 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 #689296]: type(Key.F4, Key_ALT) is throwing an error
Question #689296 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689296 Status: Open => Answered Manfred Hampl proposed the following answer: Read the documentation and check your error message. https://sikulix-2014.readthedocs.io/en/latest/keys.html#key-modifiers-modifier-keys For parameter 2 there are 2 options: •new version: (a key is a key ;-): Key.XXX •old version (kept for upwards compatibility): KeyModifier.XXX … and these early versions should not be used anymore KEY_ALT, KEY_CTRL, KEY_SHIFT, KEY_WIN, KEY_CMD, KEY_META Key_ALT has never existed. Use Key.ALT instead. -- You received this question notification because your team Sikuli Drivers 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 #689265]: input text field into pop-up box
Question #689265 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689265 Status: Open => Answered Manfred Hampl proposed the following answer: see https://answers.launchpad.net/sikuli/+question/204153 comment #1 Not a SikuliX question, but plain Python. Read books or web pages about Python. -- You received this question notification because your team Sikuli Drivers 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 #689265]: input text field into pop-up box
Question #689265 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689265 Manfred Hampl posted a new comment: You script and the error message do not fit together. The error message refers to a statement that is not contained in the script snippet! -- You received this question notification because your team Sikuli Drivers 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 #689265]: input text field into pop-up box
Question #689265 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689265 Status: Open => Answered Manfred Hampl proposed the following answer: If you are talking about a password, then I would never store it in the script or in a config file, but I suggest request it from the user at run time. Something like click( screenshot ) click (Screenshot) myPassword = input("please enter your password", hidden = True) paste(myPassword) click (screenshot) wait(2) click(Screenshot) In your approach with a config file, your error probably is that the config key "user1" has to be in brackets. config.ini file: [user1] password = xx (and you probably missed the paste() in your snippet) -- You received this question notification because your team Sikuli Drivers 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 #689144]: SyntaxError Non-ASCII character in file
Question #689144 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689144 Status: Open => Answered Manfred Hampl proposed the following answer: There seems to be something wrong with your xlrd Installation. As far as I know xlrd 1.2.0 does not have a licences.py file. I suggest that you remove everything related to xlrd from your system and install it again. -- You received this question notification because your team Sikuli Drivers 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 #689094]: how to click a button along with ctrl and shift keys in autoit and java
Question #689094 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689094 Status: Open => Answered Manfred Hampl proposed the following answer: Not a Sikuli problem. You probably better ask at https://www.autoitscript.com/forum/ -- You received this question notification because your team Sikuli Drivers 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 #689084]: My code is not calculating sales discount.
Question #689084 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689084 Status: Open => Answered Manfred Hampl proposed the following answer: 1. I do not see any relationship to Sikuli, but only Python. You should start with books that teach how to do Python programming. 2. Learn how to debug programs with print statements at key locations. 3. If discount is not an integer, but a float, then you should initialize it with 0.0 instead of 0 (the same for other variables). 4. Again you have typo errors: quantity_purchased vs. qunatity_purchased 5. calculate_fullprice() does not return a value. -- You received this question notification because your team Sikuli Drivers 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 #689083]: Openning CMD via sikulix and doing some operation
Question #689083 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689083 Manfred Hampl proposed the following answer: see the manual e.g. https://sikulix-2014.readthedocs.io/en/latest/interaction.html#starting-and-stopping-other-applications-and-bring-them-to-front https://sikulix-2014.readthedocs.io/en/latest/appclass.html -- You received this question notification because your team Sikuli Drivers 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 #689020]: Checking shortcut keys for opening a tool window
Question #689020 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689020 Status: Open => Answered Manfred Hampl proposed the following answer: Are you sure that ALT still has to be pressed while typing "a"? Maybe you shoudl try keyDown(KeyModifier.ALT) type("m") keyUp(KeyModifier.ALT) type("a") wait(3) Eventuelly you need a small delay between "m" and "a" keyDown(KeyModifier.ALT) type("m") wait(0.5) type("a") keyUp(KeyModifier.ALT) We do not know what your program does and how that is implemented. You have to test a bit yourself. And - by the way - "still not working" does not provide any insight to us. What happens if you try? Does a wrong window open, or does it type the chararcters to a wrong window, or does absolutely nothing visible on screen, or ...? -- You received this question notification because your team Sikuli Drivers 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 #688992]: Number recognition
Question #688992 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688992 Status: Open => Answered Manfred Hampl proposed the following answer: region.text() returns a string. If you want to compare that with a number, you have to convert the string to a number first. myValue = int(region.text()) if myValue < 1000: #do this else: #do that (Remark, if region.text returns a non-numeric string, then int(...) will fail with ValueError unless you put it into a try - except.) -- You received this question notification because your team Sikuli Drivers 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 #688887]: Click() Implementation in Code
Question #67 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/67 Status: Open => Answered Manfred Hampl proposed the following answer: The repository that you are referring to is outdated. See the README.md (bottom half of that page): !!!This Sikuli X-1.0rc3 IS NO LONGER SUPPORTED !!! Link to the current repository: https://github.com/RaiMan/SikuliX1 Code for click(): https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/script/Mouse.java#LC250 -- You received this question notification because your team Sikuli Drivers 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 #688883]: onAppear handler will be called again
Question #63 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/63 Status: Open => Needs information Manfred Hampl requested more information: Is there a typo error handlerX vs. handerX ? onAppear("image1", hander1) def handler1(event): -- You received this question notification because your team Sikuli Drivers 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 #688872]: Get build number of .exe file
Question #688872 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688872 Status: Open => Answered Manfred Hampl proposed the following answer: How would you do that without sikuli? Probably: File explorer - navigate to the .exe file - right mouse button - properties - details And these steps can of course be automated using sikuli. -- You received this question notification because your team Sikuli Drivers 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 #688868]: get current keyboard Layout
Question #688868 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688868 Status: Open => Answered Manfred Hampl proposed the following answer: What is "the problem" that needs to be solved? How would you know about the keyboard layout without sikuli? -- You received this question notification because your team Sikuli Drivers 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 #688843]: How to click on current date using sikuli?
Question #688843 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688843 Status: Open => Answered Manfred Hampl proposed the following answer: I see two possibilities: 1. If the position of the current date is always the same on the screen (e.g. 150 pixels from the top, 30 pixels from the left), then you use that position as your click target. https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.click click(Location(x,y)) (replace x and y by the desired coordinates) 2. If you know the date format that is used to indicate the current date on the screen, then you can construct a string of today's date in this format and try to find it on the screen. https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.find find(time.strftime(%m/%d/%Y)) (adapt the format string as applicable; "import time" probably required at the beginning of the script) -- You received this question notification because your team Sikuli Drivers 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 #688770]: Division not working in Sikuli with Python
Question #688770 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688770 Manfred Hampl proposed the following answer: The behavior of integer divisions has changed between python2 and python3. In python2 dividing an integer by an integer (5/2) results in an integer (=2) (fraction of result cut off). In python3 dividing an integer by an integer (5/2) results in a float result (=2.5). There is now a//b giving an integer result. Maybe this is the explanation of the difference. -- You received this question notification because your team Sikuli Drivers 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 #688202]: Running out of memory??
Question #688202 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688202 Status: Open => Needs information Manfred Hampl requested more information: If this occurs "after a few hours of running", then I assume that there is some kind of memory leak. I suspect that some part of the program allocates memory and doesn't free it any more, and does this in a loop, consuming all available memory over the course of time. (The culprit can be both the sikuli program and your script.) Does the system still react in that status? Can you execute free -m ? -- You received this question notification because your team Sikuli Drivers 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 #687686]: Random click region (no images)
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 https://sikulix-2014.readthedocs.io/en/latest/location.html Try locx = r.x + int(r.w * random.random()) locy = r.y + int(r.h * random.random()) click(Location(locx, locy)) -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Answered Manfred Hampl proposed the following answer: In comment #12 I asked "Can you provide a simplified version of your script - as short as possible but still failing, and provide the full text?" You haven't done this so far, so I cannot help further. And again: Please do not send e-mail replies with history! Please visit https://answers.launchpad.net/sikuli/+question/687415 and look how the question document is cluttered with needless text. -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Answered Manfred Hampl proposed the following answer: But that definition (which isn't my proposal) is missing in your comment #13 Repeating RaiMan's command #8: please do not reply with history! -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Needs information Manfred Hampl requested more information: Where is the definition of test_if_char ? -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Answered Manfred Hampl proposed the following answer: In the failing lines you have time_lefti instead of time_left_i -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Needs information Manfred Hampl requested more information: Can you provide a simplified version of your script - as short as possible but still failing, and provide the full text? -- You received this question notification because your team Sikuli Drivers 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 #687415]: IDE: How to solve/track strange problems
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Needs information Manfred Hampl requested more information: What is the definition of get_time_left? I only find a def for get_time() At the end of the "if" line you need a colon. The indentation is inconsistent. -- You received this question notification because your team Sikuli Drivers 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 #687415]: Strange problem or a bug in Sikuli
Question #687415 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687415 Status: Open => Needs information Manfred Hampl requested more information: What is the last output before that error message? I assume it should be the output of print("Time Left i...",time_left_i) -- You received this question notification because your team Sikuli Drivers 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