Re: [Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-05 Thread arminius
Question #692206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692206 arminius posted a new comment: I give up, been trying for hours. Jython will not execute, it must not be compatible with this version of linux mint. I'll try again in a few months. Thanks for trying

Re: [Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-05 Thread arminius
Question #692206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692206 Status: Answered => Open arminius is still having a problem: That's probably the problem, when I downloaded "jython-standalone-2.7.1.jar" nothing happened when I ran it, and yes I made

Re: [Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-04 Thread arminius
Question #692206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692206 arminius gave more information on the question: either I use "sikulixide-2.0.4.jar" or "sikulix-2.1.0.jar" it doesn't matter, same problem. -- You received this question notificati

Re: [Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-04 Thread arminius
Question #692206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692206 arminius posted a new comment: the "wait" is it's familier light blue. Is what I ment. -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-04 Thread arminius
Question #692206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692206 arminius gave more information on the question: It's really weird, if I fish out some old Sikuli code, then "wait" is it's familier light blue, "if" is navy blue. But any new cod

[Sikuli-driver] [Question #692206]: Best install method for linux mint ver20?

2020-08-04 Thread arminius
New question #692206 on Sikuli: https://answers.launchpad.net/sikuli/+question/692206 The best I've managed is getting "sikulix-2.1.0.jar" to run, but it keeps throwing error messages like "javax.script.ScriptException:" I'm pretty sure it's not installed right. -- You received this question

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Status: Answered => Open arminius is still having a problem: input import os first_part = r'curl -X GET "https://doc.tech.net/latest/characters/ME/assets/?datasource=server=1; -H

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 arminius posted a new comment: Oh, should add that the command returns a JSON, I'm either hoping to save it as an object so I can edit it's data, or I just want to save it in a .JSON file. Whichever

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 arminius posted a new comment: I can't use that till I get home. Is this a likely example? import os p = os.popen('curl -X GET "https://doc.tech.net/latest/characters/ME/assets/?datasource=s

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Description changed to: I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl

Re: [Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
Question #679134 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679134 Description changed to: I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl

[Sikuli-driver] [Question #679134]: Can Sikuli run a curl command on the command line?

2019-03-12 Thread arminius
New question #679134 on Sikuli: https://answers.launchpad.net/sikuli/+question/679134 I've run sikuli without the IDE many times, very familiar with doing that from the command line. Never actually exported a command to the command line though. example of the curl command. curl -X GET

Re: [Sikuli-driver] [Question #673798]: Are image lists possible with Sikuli?

2018-09-13 Thread arminius
Question #673798 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673798 arminius posted a new comment: How embarrassing, I changed the first lines player to images neglected the second line, I promise that wasn't my error, I'm not completely incompetent. -- You received

Re: [Sikuli-driver] [Question #673798]: Are image lists possible with Sikuli?

2018-09-13 Thread arminius
Question #673798 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673798 Status: Answered => Solved arminius confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

[Sikuli-driver] [Question #673798]: Are image lists possible with Sikuli?

2018-09-13 Thread arminius
New question #673798 on Sikuli: https://answers.launchpad.net/sikuli/+question/673798 input images = {1: ("1536849826828.png"), 2: ("1536849837900.png")} first_image = (player[2]) print(first_image) if exists(first_image): print("SAW IT") output 1536849837900.png [error] Image:

Re: [Sikuli-driver] [Question #670975]: Having trouble installing Sikuli on Ubuntu 18.04LTS

2018-07-19 Thread arminius
Question #670975 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670975 Status: Answered => Open arminius is still having a problem: so I followed these instructions "https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/; and now when I right click on the

Re: [Sikuli-driver] [Question #670975]: Having trouble installing Sikuli on Ubuntu 18.04LTS

2018-07-19 Thread arminius
Question #670975 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/670975 Status: Answered => Open arminius is still having a problem: when I right click on the Jar file, it comes up with open with Open JDK Java 11 runtime, I click on that, and nothing happens. It's been

[Sikuli-driver] [Question #670975]: Having trouble installing Sikuli on Ubuntu 18.04LTS

2018-07-18 Thread arminius
New question #670975 on Sikuli: https://answers.launchpad.net/sikuli/+question/670975 I googled around, tried "https://askubuntu.com/questions/223429/how-can-i-get-sikuli-ide-to-work; user@Computer:~$ sikuli-ide sikuli-ide: command not found Tried a few other things, they might all be

Re: [Sikuli-driver] [Question #669822]: How do I make sikuli search only to the left of current mouse position?

2018-06-01 Thread arminius
Question #669822 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669822 Status: Open => Answered arminius proposed the following answer: I'm new at this, so make sure your backed up before you try it, but I managed to get a square region to go left of the mouse locat

[Sikuli-driver] [Question #669556]: how to disable RobotDesktop?

2018-05-23 Thread arminius
New question #669556 on Sikuli: https://answers.launchpad.net/sikuli/+question/669556 "[error] RobotDesktop: checkMousePosition: should be L(808,228)@S(0)[0,0 1920x1080]" The code is being run under administrator privileges. It's faulty, the code is running fine, all Robotdesktop is doing is

Re: [Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-23 Thread arminius
Question #669495 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669495 Status: Open => Solved arminius confirmed that the question is solved: Figured it out. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sik

Re: [Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-21 Thread arminius
Question #669495 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669495 Description changed to: def FIRST_zero_loop(): print('Start of definition FIRST_zero_loop') current_loop = (loop[0]) #zero print('Searching..at the FIRST_zero_loop. Searching at the

Re: [Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-21 Thread arminius
Question #669495 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669495 Description changed to: def FIRST_zero_loop(): print('Start of definition FIRST_zero_loop') current_loop = (loop[0]) #zero print('Searching..at the FIRST_zero_loop. Searching at the

Re: [Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-21 Thread arminius
Question #669495 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669495 Description changed to: def FIRST_zero_loop(): print('Start of definition FIRST_zero_loop') current_loop = (loop[0]) #zero print('Searching..at the FIRST_zero_loop. Searching at the

Re: [Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-21 Thread arminius
Question #669495 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/669495 Description changed to: def FIRST_zero_loop(): print('Start of definition FIRST_zero_loop') current_loop = (loop[0]) #zero print('Searching..at the FIRST_zero_loop. Searching at the

[Sikuli-driver] [Question #669495]: .similar(float_similarity) does nothing

2018-05-21 Thread arminius
New question #669495 on Sikuli: https://answers.launchpad.net/sikuli/+question/669495 def FIRST_zero_loop(): print('Start of definition FIRST_zero_loop') current_loop = (loop[0]) #zero print('Searching..at the FIRST_zero_loop. Searching at the 14th level.') match_percent_address =

Re: [Sikuli-driver] [Question #668758]: Trying to externalize the target offset, the same as I have with the similarity

2018-05-14 Thread arminius
Question #668758 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668758 Status: Answered => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #668667]: Return the dimensions of an image that's just been found

2018-05-08 Thread arminius
Question #668667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668667 Status: Open => Solved arminius confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers is an ans

[Sikuli-driver] [Question #668758]: Trying to externalize the target offset, the same as I have with the similarity

2018-05-08 Thread arminius
New question #668758 on Sikuli: https://answers.launchpad.net/sikuli/+question/668758 So this is an example that works mySimilarity = 0.81 if exists(Pattern(Pattern("1519473014822.png").targetOffset(1,-13)).similar(mySimilarity)): But I'm wanting to do the same with targetoffset

Re: [Sikuli-driver] [Question #668708]: Saving captured image to hard drive using python

2018-05-08 Thread arminius
Question #668708 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668708 Status: Needs information => Solved arminius confirmed that the question is solved: Sorry, I put the image names down wrong. In what I'm trying to do, if you have an image that has been seen a 100 ti

[Sikuli-driver] [Question #668708]: Saving captured image to hard drive using python

2018-05-07 Thread arminius
New question #668708 on Sikuli: https://answers.launchpad.net/sikuli/+question/668708 This is my current working test. import shutil import os screenshotsDir = "C:\Users\ADDRESS_PATH\1stloop" wait(1) mySimilarity = 0.90 Reg = Region(413,242,519,366) search = True

Re: [Sikuli-driver] [Question #668667]: Return the dimensions of an image that's just been found

2018-05-06 Thread arminius
Question #668667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668667 Status: Answered => Open arminius is still having a problem: This is my current working test. import shutil import os screenshotsDir = "C:\Users\ADDRESS_PATH\1stloop&quo

Re: [Sikuli-driver] [Question #668667]: Return the dimensions of an image that's just been found

2018-05-06 Thread arminius
Question #668667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668667 arminius posted a new comment: "But I can't understand you want to capture a new image when an image is found." The images I'm searching for are dynamic, the locations on the screen can change,

Re: [Sikuli-driver] [Question #668667]: Return the dimensions of an image that's just been found

2018-05-05 Thread arminius
Question #668667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668667 Description changed to: So this is an example of the code I'm working with, the real code has twenty images, but I've simplified it to three. mySimilarity = 0.86 count = 0 main_address =

[Sikuli-driver] [Question #668667]: Return the dimensions of an image that's just been found

2018-05-05 Thread arminius
New question #668667 on Sikuli: https://answers.launchpad.net/sikuli/+question/668667 So this is an example of the code I'm working with, the real code has twenty images, but I've simplified it to three. mySimilarity = 0.86 count = 0 main_address

Re: [Sikuli-driver] [Question #668053]: If not exists

2018-05-05 Thread arminius
Question #668053 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668053 Status: Answered => Solved arminius confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #668291]: Sikuli not clicking anymore on screenshots

2018-04-26 Thread arminius
Question #668291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/668291 Status: Open => Answered arminius proposed the following answer: Maybe the match percentage is to low? And it's finding false positives. -- You received this question notification because your t

[Sikuli-driver] [Question #668053]: If not exists

2018-04-18 Thread arminius
New question #668053 on Sikuli: https://answers.launchpad.net/sikuli/+question/668053 if not exists(Pattern("Image A").exact()) or (Pattern("Image B").exact()): popup('THE WRONG KIND') So my program saw Image B, and then it threw up the popup. At first I was confused, but

[Sikuli-driver] [Question #667080]: Notepad++ settings not compatible with Sikuli

2018-03-22 Thread arminius
New question #667080 on Sikuli: https://answers.launchpad.net/sikuli/+question/667080 I copy some code over to notepad++ because I find it has alot more useful features like find and replace. I tab multiple lines then copy and paste the code back to Sikuli IDE, it won't save until I retab

Re: [Sikuli-driver] [Question #660880]: Sikuli popup timeout

2017-11-18 Thread arminius
Question #660880 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660880 Status: Answered => Solved arminius confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #660880]: Sikuli popup timeout

2017-11-18 Thread arminius
Question #660880 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660880 Status: Answered => Open arminius is still having a problem: I tried "popup("autoclosed after 3 seconds", 3)" but it returned with [error] script [ test ] stoppe

[Sikuli-driver] [Question #660880]: Sikuli popup timeout

2017-11-17 Thread arminius
New question #660880 on Sikuli: https://answers.launchpad.net/sikuli/+question/660880 I was looking around for a popup that will kill itself after about 10 seconds, found this. "https://answers.launchpad.net/sikuli/+question/184361; "it is out now and in the docs ;-)" But I can't find it in

Re: [Sikuli-driver] [Question #660875]: Detecting screen changes in a region

2017-11-17 Thread arminius
Question #660875 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660875 Status: Answered => Solved arminius confirmed that the question is solved: not my variable, I found it on a google search and tried to get it to work, but found this one way easier.

[Sikuli-driver] [Question #660875]: Detecting screen changes in a region

2017-11-17 Thread arminius
New question #660875 on Sikuli: https://answers.launchpad.net/sikuli/+question/660875 while True: bigScreenReg = Region(1242,57,123,640) bigScreenReg.highlight(3) r = bigScreenReg r.onChange(100, changed) Settings.isChanged = False r.observe(5) # observing for 5

Re: [Sikuli-driver] [Question #660237]: Move mouse for click method not working since new JRE and Windows update

2017-11-01 Thread arminius
Question #660237 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660237 Status: Open => Needs information arminius requested more information: is Sikuli running with Admin privilege? Cause click will often not work for me if it doesn't. -- You received this quest

Re: [Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat

2017-10-31 Thread arminius
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat

2017-10-31 Thread arminius
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 Status: Answered => Solved arminius confirmed that the question is solved: so sorry, I forgot to thank you for this, that's perfect, you even anticipated the need for the print part. -- You recei

Re: [Sikuli-driver] [Question #660144]: click inconsistencies

2017-10-31 Thread arminius
Question #660144 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660144 Status: Open => Answered arminius proposed the following answer: maybe try while True: if exists(image): click(image) else: wait(5) -- You recei

Re: [Sikuli-driver] [Question #660197]: JAR or EXE file from Sikuli python script

2017-10-31 Thread arminius
Question #660197 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/660197 arminius posted a new comment: I've been able to run SKL files with a BAT file, but I don't know if Sikuli needs to be installed for that to work, someone with more experience should be along soon. -- You

Re: [Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat

2017-09-23 Thread arminius
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 Description changed to: So I have a loop that's looking for an image that slowly changes over time, slowly changes back, so need it to look for them in sequence. Here's an example of what I have with just

Re: [Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat

2017-09-23 Thread arminius
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 Description changed to: So I have a loop that's looking for an image that slowly changes over time, slowly changes back, so need it to look for them in sequence. Here's an example of what I have with just

[Sikuli-driver] [Question #658596]: Lower pattern match within a loop on repeat

2017-09-23 Thread arminius
New question #658596 on Sikuli: https://answers.launchpad.net/sikuli/+question/658596 So I have a loop that's looking for an image that slowly changes over time, slowly changes back, so need it to look for them in sequence. Here's an example of what I have with just two images, there's

Re: [Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-29 Thread arminius
Question #657056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657056 Status: Answered => Open arminius is still having a problem: A I think I know what you mean now. I tried it on the text you've written on this website and got the same error I copied and pasted y

Re: [Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-29 Thread arminius
Question #657056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657056 Status: Answered => Open arminius is still having a problem: I wasn't sure exactly what you ment by asking about font and size. in the Sikuli Preferences under the tab of Text Editing is the Font n

Re: [Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-29 Thread arminius
Question #657056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657056 Status: Answered => Open arminius is still having a problem: errors are [error] script [ Main Tree Path 12 hours ] stopped with error in line 564 [error] TypeError ( 'Region' obj

Re: [Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-28 Thread arminius
Question #657056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657056 Status: Answered => Open arminius is still having a problem: Yes your right, was months ago and I just selected option 1. I've reinstalled and selected option 3, that's gotten rid of most of the err

Re: [Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-27 Thread arminius
Question #657056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657056 arminius gave more information on the question: Accidentally hit submit prematurely before I could put all the error messages in. All of them are [Error] TextRecognizer: init: export tessdata

[Sikuli-driver] [Question #657056]: Text() getting errors

2017-08-27 Thread arminius
New question #657056 on Sikuli: https://answers.launchpad.net/sikuli/+question/657056 Sikuli version is 1.1.1 Windows 7 (Region).text() #(Region) is not a string, it's literally the region. Print text [Error] TextRecognizer: init: export tessdata not possible - run setup with option 3

Re: [Sikuli-driver] [Question #655535]: open .bat file in seperate command prompt

2017-08-13 Thread arminius
Question #655535 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655535 arminius posted a new comment: impossible is it? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #655535]: open .bat file in seperate command prompt

2017-08-09 Thread arminius
New question #655535 on Sikuli: https://answers.launchpad.net/sikuli/+question/655535 So i've always clicked on "runsikulix" and a command prompt came up cause it's a windows command script. that's never been a problem. But my script became extremely long and complicated, so I chopped it up, and

Re: [Sikuli-driver] [Question #655410]: error when trying to run sikuli script from a batch file

2017-08-07 Thread arminius
Question #655410 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655410 Status: Answered => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Driv

[Sikuli-driver] [Question #655410]: error when trying to run sikuli script from a batch file

2017-08-07 Thread arminius
New question #655410 on Sikuli: https://answers.launchpad.net/sikuli/+question/655410 "C:\Users\Me\Sikuli\Executables>C:\Users\Me\Sikuli\runs ikulix.cmd -r C:\Users\Me\Sikuli\red button.sikuli +++ running this Java java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01)

Re: [Sikuli-driver] [Question #655410]: error when trying to run sikuli script from a batch file

2017-08-07 Thread arminius
Question #655410 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655410 Description changed to: "C:\Users\Me\Sikuli\Executables>C:\Users\Me\Sikuli\runs ikulix.cmd -r C:\Users\Me\Sikuli\red button.sikuli +++ running this Java java version "1.8.0_144" Java(TM) SE Runtime

Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-03 Thread arminius
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 arminius posted a new comment: Thanks Manfred you are the man. This came extremely close "while True: if exists(Pattern("image seen as of monday").targetOffset(-16,-58)): print('

Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-03 Thread arminius
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 Status: Answered => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-02 Thread arminius
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 Status: Answered => Open arminius is still having a problem: Keith Fischer Thanks Keith, I wasn't aware that Selenium could work together, figured it was one or the other, I'll look into that, tha

Re: [Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-01 Thread arminius
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 arminius gave more information on the question: it occurs to me I'll probably be mocked for that abridged version of my code up top, was just trying to give an example of what I want it to do. here's

[Sikuli-driver] [Question #654441]: multiple screenshot analysis in a script

2017-08-01 Thread arminius
New question #654441 on Sikuli: https://answers.launchpad.net/sikuli/+question/654441 I've been trying for months to screenshot an alarm on a stock webpage, but the background and foreground are so dyanimc that a screenshot I take get's it's match scaled down to below 30% and then so many

Re: [Sikuli-driver] [Question #649156]: Highlight commands as they run

2017-07-16 Thread arminius
Question #649156 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/649156 Status: Answered => Open arminius is still having a problem: I tried "Debug.user("text with %placeholders", args …)" it threw error messages, like "[error] script [ test ]

Re: [Sikuli-driver] [Question #649156]: Highlight commands as they run

2017-07-16 Thread arminius
Question #649156 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/649156 Status: Answered => Open arminius is still having a problem: I tried this code. "Settings.UserLogs = True Settings.UserLogTime = True Debug.setUserLogFile("C:\Users\Me\Desktop\Sikuli

Re: [Sikuli-driver] [Question #649156]: Highlight commands as they run

2017-07-16 Thread arminius
Question #649156 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/649156 Description changed to: I have a question about the Sikuli IDE itself, I have a script that has multiple lines with similar screenshots, I won't go into why I feel I need to do that, but I'm using "while

[Sikuli-driver] [Question #649156]: Highlight commands as they run

2017-07-16 Thread arminius
New question #649156 on Sikuli: https://answers.launchpad.net/sikuli/+question/649156 I have a question about the Sikuli IDE itself, I have a script that has multiple lines with similar screenshots, I won't go into why I feel I need to do that, but I'm using "while not

Re: [Sikuli-driver] [Question #647320]: Sikuli script from it's own documentation isn't working.

2017-07-11 Thread arminius
Question #647320 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647320 Status: Answered => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #647305]: Error options in Sikuli?

2017-07-11 Thread arminius
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 arminius posted a new comment: My bad, I think this should be right? "http://sikulix-2014.readthedocs.io/en/latest/region.html#exception-findfailed; -- You received this question notification because

Re: [Sikuli-driver] [Question #647305]: Error options in Sikuli?

2017-07-11 Thread arminius
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Status: Answered => Solved arminius confirmed that the question is solved: For newbs who came after me, I found this "http://doc.sikuli.org/region.html#Region.setFindFailed

Re: [Sikuli-driver] [Question #647305]: Error options in Sikuli?

2017-07-11 Thread arminius
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Status: Answered => Open arminius is still having a problem: I've got Sololearn on my phone and Code academy on my desktop, improving my Python as fast as I can. Besides the error is unique to Sik

[Sikuli-driver] [Question #647320]: Sikuli script from it's own documentation isn't working.

2017-07-10 Thread arminius
New question #647320 on Sikuli: https://answers.launchpad.net/sikuli/+question/647320 from "http://doc.sikuli.org/globals.html; at the bottom is MinTargetSize I've copied and pasted "from org.sikuli.script.natives import Vision" but it's returning "[error] ImportError ( No module named natives )"

[Sikuli-driver] [Question #647305]: Error options in Sikuli?

2017-07-10 Thread arminius
New question #647305 on Sikuli: https://answers.launchpad.net/sikuli/+question/647305 Can Sikuli ignore errors and just move to the next line? I have a loop, and 9 times out of 10 it works perfectly, everynow and then it throws an error, I would rather just tell it to move on, or return to the

Re: [Sikuli-driver] [Question #647264]: Does wait(screenshot), 300) only check once? or 300 times?

2017-07-09 Thread arminius
Question #647264 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647264 Status: Answered => Solved arminius confirmed that the question is solved: Well I'm glad that my doubling of the wait time every time it fails isn't a waste of time. Thanks. -- You recei

[Sikuli-driver] [Question #647264]: Does wait(screenshot), 300) only check once? or 300 times?

2017-07-09 Thread arminius
New question #647264 on Sikuli: https://answers.launchpad.net/sikuli/+question/647264 As in does it check the screen once then wait 300 seconds to move on? or does it keep checking? hoping for a change? I'm hoping for the latter. -- You received this question notification because your team

Re: [Sikuli-driver] [Question #646899]: [error] TypeError ( 'int' object is not callable )

2017-07-09 Thread arminius
Question #646899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646899 Status: Answered => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #646890]: averaging numbers

2017-07-07 Thread arminius
Question #646890 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646890 Status: Answered => Solved arminius confirmed that the question is solved: thanks that worked great. yes that is what I'm trying t do. -- You received this question notification because your t

Re: [Sikuli-driver] [Question #646899]: [error] TypeError ( 'int' object is not callable )

2017-07-07 Thread arminius
Question #646899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646899 Status: Answered => Open arminius is still having a problem: ok, I got rid of the brackets. so now it's "ml = Env.getMouseLocation() total = ml.getX+centerX print ml.getX() print total&qu

[Sikuli-driver] [Question #646899]: [error] TypeError ( 'int' object is not callable )

2017-07-07 Thread arminius
New question #646899 on Sikuli: https://answers.launchpad.net/sikuli/+question/646899 centerX = 607 ml = Env.getMouseLocation() total = ml.getX+centerX() print total() But I get the error message that is in the Summary, what does it mean by int? -- You received this question notification

[Sikuli-driver] [Question #646890]: averaging numbers

2017-07-07 Thread arminius
New question #646890 on Sikuli: https://answers.launchpad.net/sikuli/+question/646890 this is the code I'm working with. "ml = Env.getMouseLocation() dragDrop(Env.getMouseLocation(),Location(ml.getX()+centerX\2,ml.getY()+centerY/2)) #Center is X607 Y548" centerX = 607 so it should be whatever

Re: [Sikuli-driver] [Question #646513]: can hover take place within a region?

2017-07-06 Thread arminius
Question #646513 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646513 Status: Open => Solved arminius confirmed that the question is solved: Figured it out, was way easier then I assumed it would be. -- You received this question notification because your team Sik

[Sikuli-driver] [Question #646513]: can hover take place within a region?

2017-07-06 Thread arminius
New question #646513 on Sikuli: https://answers.launchpad.net/sikuli/+question/646513 I have a "hover(Pattern("14412969663.png").similar(0.44).targetOffset(-7,14))" going off but the screenshot it's looking for can change slightly over a perioud of time. lowering the match to far leads to false

Re: [Sikuli-driver] [Question #645666]: drag and drop from mouse current location to center of screen

2017-07-04 Thread arminius
Question #645666 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645666 Status: Answered => Solved arminius confirmed that the question is solved: That worked great, thanks. -- You received this question notification because your team Sikuli Drivers is an answer cont

Re: [Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-03 Thread arminius
Question #645942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645942 Status: Answered => Solved arminius confirmed that the question is solved: thanks, forgot to put a "count = 1" just before it. -- You received this question notification because you

Re: [Sikuli-driver] [Question #645666]: drag and drop from mouse current location to center of screen

2017-07-02 Thread arminius
Question #645666 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645666 arminius gave more information on the question: I need to be able to have it done on the fly though. something like this "hover(Pattern("185693845869.png").targetOffset(29,29)) x1 = ml.getX

[Sikuli-driver] [Question #645942]: "while (count < 10):" loop doesn't seem to be working

2017-07-02 Thread arminius
New question #645942 on Sikuli: https://answers.launchpad.net/sikuli/+question/645942 I have this other code "while (count < 46): click(Pattern("1486584943427.png").similar(0.69).targetOffset(-340,86)) count = count + 1" and it works fine. I tried to turn that into this

[Sikuli-driver] [Question #645666]: drag and drop from mouse current location to center of screen

2017-06-29 Thread arminius
New question #645666 on Sikuli: https://answers.launchpad.net/sikuli/+question/645666 I have code that drags and drops from a location to the center of the screen. "x1 = 300 y1 = 300 x2 = 640 y2 = 512 dragDrop(Location(x1,y1),Location(x2,y2))" is it possible to go from the mouses current

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-26 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Needs information => Solved arminius confirmed that the question is solved: Thanks Manfred Hampl, that solved my question. -- You received this question notification because your team Sik

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-21 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Answered => Open arminius is still having a problem: "count = 1 while (count < 10): click(Pattern("58679475550934.png").targetOffset(-8,-8)) count = count

Re: [Sikuli-driver] [Question #643830]: Print the current mouse cursors location

2017-06-21 Thread arminius
Question #643830 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643830 Status: Answered => Solved arminius confirmed that the question is solved: that solved my problem -- You received this question notification because your team Sikuli Drivers is an answer cont

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-20 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 arminius gave more information on the question: "for n in range(0, 10): click()" returns "[error] SyntaxError ( "mismatched input 'click' expecting INDENT", )"

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-20 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Answered => Open arminius is still having a problem: "count = 1 while (count < 10): click(Pattern("58679475550934.png").targetOffset(-8,-8)) count

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-20 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Description changed to: "click("460450485686722.png") click() click() click() click() click() click() click() click() click()

[Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-20 Thread arminius
New question #644291 on Sikuli: https://answers.launchpad.net/sikuli/+question/644291 "click("460450485686722.png") click() click() click() click() click() click() click() click() click() click() click()

Re: [Sikuli-driver] [Question #644291]: How to get a command to repeat about 10 times

2017-06-20 Thread arminius
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Description changed to: "click("460450485686722.png") click() click() click() click() click() click() click() click() click()

  1   2   >