Re: [Sikuli-driver] [Question #198162]: not able to run sikuli in redhat

2012-05-23 Thread Manfred Hampl
Question #198162 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/198162 Project: Ubuntu = Sikuli -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. ___

Re: [Sikuli-driver] [Question #198162]: not able to run sikuli in redhat

2012-05-23 Thread Manfred Hampl
Question #198162 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/198162 Status: Open = Answered Manfred Hampl proposed the following answer: The part of the error message wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch) might indicate, that you

Re: [Sikuli-driver] [Question #266455]: Region arguments seem to be mixed up?

2015-05-05 Thread Manfred Hampl
Question #266455 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/266455 Manfred Hampl proposed the following answer: see http://sikulix-2014.readthedocs.org/en/latest/region.html A Region is a rectangular area on a Screen and is defined by 1.its upper left corner (x, y) being

Re: [Sikuli-driver] [Question #267648]: ASCII

2015-06-02 Thread Manfred Hampl
Question #267648 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267648 Status: Open = Answered Manfred Hampl proposed the following answer: You might try myApp = u'Corregedoria-Geral da Justiça de Santa Catarina - Internet Explorer' -- You received this question

Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)

2015-06-06 Thread Manfred Hampl
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 Status: Open = Needs information Manfred Hampl requested more information: Are you able to predict in which part of the screen the new image will appear or is this unpredictable? -- You received

Re: [Sikuli-driver] [Question #276120]: Expecting set null

2015-12-18 Thread Manfred Hampl
Question #276120 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/276120 Status: Open => Answered Manfred Hampl proposed the following answer: According to http://sikulix-2014.readthedocs.org/en/latest/region.html#Region.exists Region.exists(...) needs a pattern obj

Re: [Sikuli-driver] [Question #279596]: Clarification and information required on Sikulix new version

2015-12-18 Thread Manfred Hampl
Question #279596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/279596 Status: Open => Answered Manfred Hampl proposed the following answer: For the second question: If this is Python source, then the comparison operator is "=="! ... if (var1==var2): ... --

Re: [Sikuli-driver] [Question #277502]: When add screenshot sikuli get close and error occur.

2016-01-05 Thread Manfred Hampl
Question #277502 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277502 Status: Open => Needs information Manfred Hampl requested more information: Please provide the output of the following diagnostic commands: uname -a lsb_release -crid dpkg -l | egrep -i '[ope

Re: [Sikuli-driver] [Question #277502]: When add screenshot sikuli get close and error occur.

2015-12-23 Thread Manfred Hampl
Question #277502 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277502 Status: Open => Needs information Manfred Hampl requested more information: Have you checked the prerequisites? See http://www.sikulix.com/quickstart.html especially the note below the header "

Re: [Sikuli-driver] [Question #277502]: When add screenshot sikuli get close and error occur.

2015-12-24 Thread Manfred Hampl
Question #277502 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277502 Status: Open => Needs information Manfred Hampl requested more information: What operating system is this? -- You received this question notification because your team Sikuli Drivers is an ans

Re: [Sikuli-driver] [Question #277502]: When add screenshot sikuli get close and error occur.

2015-12-25 Thread Manfred Hampl
Question #277502 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277502 Status: Open => Needs information Manfred Hampl requested more information: Which version of Linux e.g Ubuntu, RHEL, ...? -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #295488]: runScript("powershell E:\\a.bat") Error

2016-06-22 Thread Manfred Hampl
Question #295488 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295488 Manfred Hampl posted a new comment: @RaiMan: I know that this instruction is already part of your first comment. I tried to give more details, because the original poster apparently needs them. -- You

Re: [Sikuli-driver] [Question #295488]: runScript("powershell E:\\a.bat") Error

2016-06-22 Thread Manfred Hampl
Question #295488 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295488 Status: Open => Needs information Manfred Hampl requested more information: Can you change your e:\a.bat file to do a change directory command as first step? e.g. cd /d e:\ start Monitor --

Re: [Sikuli-driver] [Question #295488]: runScript("powershell E:\\a.bat") Error

2016-06-23 Thread Manfred Hampl
Question #295488 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/295488 Status: Open => Answered Manfred Hampl proposed the following answer: You have two possibilities for starting commands and scripts: 1. the command (or script) is located in a directory that is p

Re: [Sikuli-driver] [Question #284705]: stuck in some place :(

2016-02-08 Thread Manfred Hampl
Question #284705 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/284705 Manfred Hampl proposed the following answer: It seems to me that the value of the noore variable is never changed and will always be 0. So the test "if noore == 1" will always be false. -- Yo

Re: [Sikuli-driver] [Question #283771]: Sikuli error while opening excel sheet

2016-01-28 Thread Manfred Hampl
Question #283771 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/283771 Status: Open => Needs information Manfred Hampl requested more information: Open the file explorer, navigate to the file, do a right click on it, select properties, switch to the tab "Details&

Re: [Sikuli-driver] [Question #283771]: Sikuli error while opening excel sheet

2016-02-01 Thread Manfred Hampl
Question #283771 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/283771 Status: Open => Needs information Manfred Hampl requested more information: I wanted that you navigate to the excel file, and tell what you see for name and folder path. -- You received this quest

Re: [Sikuli-driver] [Question #287177]: Breaking out of a Loop with keyboard Input not working!

2016-02-29 Thread Manfred Hampl
Question #287177 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/287177 Status: Open => Answered Manfred Hampl proposed the following answer: Maybe a typo error: Probably should be assignment "A = 10" after "print('BREAK KEY ACTIVATED!')" instead

Re: [Sikuli-driver] [Question #283771]: Sikuli error while opening excel sheet

2016-01-27 Thread Manfred Hampl
Question #283771 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/283771 Status: Open => Answered Manfred Hampl proposed the following answer: 'C:\\Users\rupayan.nath\\Desktop\\Disqualify_offers_export' does not contain a file extension. Are you sure that this file does

Re: [Sikuli-driver] [Question #293503]: Region(x, y, w, h) - what are w and h?

2016-05-09 Thread Manfred Hampl
Question #293503 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/293503 Status: Open => Answered Manfred Hampl proposed the following answer: Remark, in the example below http://doc.sikuli.org/region.html#creatingaregionsettingandgettingattributes there is code us

Re: [Sikuli-driver] [Question #303536]: calling the values from the variables instead of hard coding

2016-07-27 Thread Manfred Hampl
Question #303536 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/303536 Status: Open => Answered Manfred Hampl proposed the following answer: http://sikulix-2014.readthedocs.io/en/latest/interaction.html#input describes a possibility to request username and password f

Re: [Sikuli-driver] [Question #323987]: Defined function is looping

2016-08-05 Thread Manfred Hampl
Question #323987 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/323987 Status: Open => Needs information Manfred Hampl requested more information: I see two different but similarly named variables, vSet and vSets, is that on purpose? vSets is never set! -- You recei

Re: [Sikuli-driver] [Question #327431]: Can we able to automate Google map using Sikuli

2016-08-07 Thread Manfred Hampl
Question #327431 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/327431 Status: Open => Answered Manfred Hampl proposed the following answer: How would you do that manually? Start a web browser Open Google Maps click in the google map search box enter the search t

Re: [Sikuli-driver] [Question #464203]: App.open() not working on Windows Server 2012

2017-02-20 Thread Manfred Hampl
Question #464203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/464203 Status: Open => Answered Manfred Hampl proposed the following answer: Maybe http://stackoverflow.com/a/10558351 helps -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #365318]: How to Upgrade new version of Ubantu Operating System ?

2016-08-26 Thread Manfred Hampl
Question #365318 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/365318 Status: Open => Answered Manfred Hampl proposed the following answer: Please close as a duplicate of https://answers.launchpad.net/sikuli/+question/365223 -- You received this question notificat

Re: [Sikuli-driver] [Question #612996]: Is it possible to import extern dll file in sikuli script?

2017-04-06 Thread Manfred Hampl
Question #612996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/612996 Status: Open => Answered Manfred Hampl proposed the following answer: https://sourceforge.net/p/jython/mailman/jython- users/thread/71b0d374-5fd3-4c03-95cd-320e07f04...@gmail.com/ might help --

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-07-28 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Manfred Hampl posted a new comment: You cannot give more than one cell address to sheet.cell_value() and similar functions, but you have to use some kind of loop statements. something similar

Re: [Sikuli-driver] [Question #654029]: import xlrd method not copying numbers

2017-07-28 Thread Manfred Hampl
Question #654029 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654029 Status: Open => Answered Manfred Hampl proposed the following answer: see https://answers.launchpad.net/sikuli/+question/653759 Try ... celltype = sheet.cell_type(40,33) value = sheet.cell_value(40

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: As far as I know the parameters are sheet.cell_value(row,column) In which row(s) and column(s) are your data? If it is row 40

Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Manfred Hampl
Question #654090 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654090 Status: Open => Answered Manfred Hampl proposed the following answer: Sorry, it is not possible for me to provide a sample script. I do not know any details about the program that you want to cont

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

2017-08-02 Thread Manfred Hampl
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 Status: Open => Answered Manfred Hampl proposed the following answer: It seems to me that your code snippet in comment #1 is nonsense. In the first if you have "break" in both the "t

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-02 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: You need to have the statements text_file.write(value) ## Here i am passing the column 33 values=2 executable quer

Re: [Sikuli-driver] [Question #655234]: Multiple else if

2017-08-03 Thread Manfred Hampl
Question #655234 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655234 Status: Open => Answered Manfred Hampl proposed the following answer: The message at the bottom states that it is an indentation error. All "elif" statements must be at the same inde

Re: [Sikuli-driver] [Question #655234]: Multiple else if

2017-08-03 Thread Manfred Hampl
Question #655234 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655234 Status: Open => Answered Manfred Hampl proposed the following answer: There seem to be some extra quotes and parentheses in the line before. -- You received this question notification because y

Re: [Sikuli-driver] [Question #655234]: Multiple else if

2017-08-04 Thread Manfred Hampl
Question #655234 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655234 Status: Open => Answered Manfred Hampl proposed the following answer: I assume sleep(0.01) isn't long enough, and the multiple clicking will be interpreted as doubleclick. -- You recei

Re: [Sikuli-driver] [Question #656216]: How to set observe() to run in background forever?

2017-08-16 Thread Manfred Hampl
Question #656216 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656216 Status: Open => Answered Manfred Hampl proposed the following answer: see http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.observeInBackground "The observation is run in the ba

Re: [Sikuli-driver] [Question #656054]: 2 dimensional virtual slider

2017-08-16 Thread Manfred Hampl
Question #656054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656054 Status: Open => Answered Manfred Hampl proposed the following answer: Just some ideas: (Please clarify: are there two independent crosshairs for vertical and horizontal alignment or is it a sin

Re: [Sikuli-driver] [Question #654244]: Waiting for image, type command, then waits again

2017-08-13 Thread Manfred Hampl
Question #654244 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654244 Status: Open => Answered Manfred Hampl proposed the following answer: For a random letter you can use python standard functions. Something like myList=["a","s","d"

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-13 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Open => Answered Manfred Hampl proposed the following answer: Your new code will loop forever in lines 13-15 You probably need a "break" inside this loop to continue processing bel

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-12 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Status: Open => Answered Manfred Hampl proposed the following answer: Your code will only loop i the first "while true:" loop YOu have to put a "break" statement into the first

Re: [Sikuli-driver] [Question #655511]: Waiting to do 1 of 2 actions

2017-08-14 Thread Manfred Hampl
Question #655511 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655511 Manfred Hampl proposed the following answer: In addition to my previous comment: You are right, the program will loop in the first while block: A break statement will only escape the innermost loop. So

Re: [Sikuli-driver] [Question #656054]: 2 dimensional virtual slider

2017-08-17 Thread Manfred Hampl
Question #656054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656054 Status: Open => Answered Manfred Hampl proposed the following answer: Developing such program without having access to the real system is almost impossible. I am trying to outline the skele

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

2017-07-11 Thread Manfred Hampl
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Manfred Hampl posted a new comment: As already written in question https://answers.launchpad.net/sikuli/+question/647320 If you are using Sikuli 1.1 and higher, the documentation is there http://sikulix

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

2017-07-11 Thread Manfred Hampl
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Manfred Hampl posted a new comment: Your link and my link are pointing to the same document, just to a position that is a few paragraphs (about 3 pages) different. Generally I see two options for you: 1

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

2017-07-09 Thread Manfred Hampl
Question #647264 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647264 Manfred Hampl posted a new comment: (Remark: I do not know about the frequency of re-searching, I assume RaiMan can answer that.) -- You received this question notification because your team Sikuli Drivers

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

2017-07-09 Thread Manfred Hampl
Question #647264 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647264 Status: Open => Answered Manfred Hampl proposed the following answer: Read the manual http://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=timeout#Region.wait ... If PS is specif

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

2017-07-11 Thread Manfred Hampl
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Status: Open => Answered Manfred Hampl proposed the following answer: You might need a construction like this looping statement (for... or while... etc.): try: find("path-

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

2017-07-08 Thread Manfred Hampl
Question #646899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646899 Status: Open => Answered Manfred Hampl proposed the following answer: You need to get better in python basics. You have to understand the difference between using variables (no brackets) and call

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

2017-07-08 Thread Manfred Hampl
Question #646899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646899 Manfred Hampl proposed the following answer: Oops, sorry, now I ommitted brackets, it must of course be ml = Env.getMouseLocation() total = ml.getX() + centerX print ml.getX() print total -- You received

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

2017-07-10 Thread Manfred Hampl
Question #647305 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647305 Status: Open => Answered Manfred Hampl proposed the following answer: As already written in another question asked by you: You need to get better in python basics. https://docs.python.org/2/tutor

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

2017-07-10 Thread Manfred Hampl
Question #647320 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/647320 Status: Open => Answered Manfred Hampl proposed the following answer: I assume that you are using Sikuli 1.1 The correct documentation for this version is there: http://sikulix-2014.readthedocs.io

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

2017-07-07 Thread Manfred Hampl
Question #646899 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646899 Status: Open => Answered Manfred Hampl proposed the following answer: What is centerX - a function or an integer variable? It it is an int, then you must not add brackets "()" and the s

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

2017-07-07 Thread Manfred Hampl
Question #646890 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/646890 Status: Open => Answered Manfred Hampl proposed the following answer: Is it a forward slash / or a backslash \ ? What exactly do you want to do? Drag an image from the mouse location half the w

Re: [Sikuli-driver] [Question #649155]: Set Password

2017-07-17 Thread Manfred Hampl
Question #649155 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/649155 Status: Open => Answered Manfred Hampl proposed the following answer: There is no logic in your program to validate the code that has been entered. You need to compare the entered va

Re: [Sikuli-driver] [Question #653759]: How to fetch the cell value of excel sheet

2017-07-27 Thread Manfred Hampl
Question #653759 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653759 Status: Open => Answered Manfred Hampl proposed the following answer: See the last paragraph of faq 2208 *** looking for docs xlrd1 is based on the original xlrd - download from here h

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-07-28 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: If the value in cell row 33 column 31 is "exec ... 50);" then you just have to do text_file.write(sheet.cell_value(32,

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-07-28 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: How do the contents of the excel file map to the elements of the line? What does the excel cell contain? the EMP_ID or the EMP_N

Re: [Sikuli-driver] [Question #654029]: import xlrd method not copying numbers

2017-07-28 Thread Manfred Hampl
Question #654029 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654029 Status: Open => Answered Manfred Hampl proposed the following answer: You have to convert the numeric value into a string. masuo has already given an example how to identify the type of the value f

Re: [Sikuli-driver] [Question #654025]: How to get click event value

2017-07-28 Thread Manfred Hampl
Question #654025 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654025 Status: Open => Answered Manfred Hampl proposed the following answer: See the documentation http://sikulix-2014.readthedocs.io/en/latest/interaction.html#input for getting a string from the popup win

Re: [Sikuli-driver] [Question #645654]: is it possible to make setAutoWaitTimeout() to less than one second, if so how?

2017-06-30 Thread Manfred Hampl
Question #645654 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645654 Status: Open => Answered Manfred Hampl proposed the following answer: From http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.setAutoWaitTimeout "Parameters: seconds – a number, w

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

2017-07-03 Thread Manfred Hampl
Question #645666 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645666 Status: Open => Answered Manfred Hampl proposed the following answer: in https://answers.launchpad.net/sikuli/+question/643830 you had ml = Env.getMouseLocation() print ml print ml.getX() print ml.g

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

2017-07-03 Thread Manfred Hampl
Question #645942 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645942 Manfred Hampl proposed the following answer: Another potential pitfall: what is the value of count before the loop? If you re-use a counter from a previous loop, it might already be > 10 -- You recei

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: If text_file.write(...) already worked in comments #2 and #5, why should it stop working now? Please debug your script by add

Re: [Sikuli-driver] [Question #653769]: How to run a executable query in Oracle -Sql Developer

2017-08-01 Thread Manfred Hampl
Question #653769 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/653769 Status: Open => Answered Manfred Hampl proposed the following answer: You just have to replace for rx in range(sheet.nrows): print "contents: " + sheet.cell_value(rx,33) by fo

Re: [Sikuli-driver] [Question #654252]: While opening a particular script: index out of range error displayed

2017-07-31 Thread Manfred Hampl
Question #654252 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654252 Status: Open => Needs information Manfred Hampl requested more information: Can you post the contents of your script, either here, or in pastebin.ubuntu.com, or somewhere else? -- You recei

Re: [Sikuli-driver] [Question #654090]: How to sort without search option in python

2017-08-01 Thread Manfred Hampl
Question #654090 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654090 Status: Open => Answered Manfred Hampl proposed the following answer: How do you know which line to select? What are the selection criteria? Some ideas: Do a searchall for the empty selection

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

2017-08-02 Thread Manfred Hampl
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 Status: Open => Answered Manfred Hampl proposed the following answer: If you have limited number of images, you could use something like while True: if exists(Pattern("image seen as o

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

2017-08-02 Thread Manfred Hampl
Question #654441 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/654441 Manfred Hampl proposed the following answer: Oops, wrong, instead of "break" you have to use "continue" in case that no image was found to go back to the beginning of the loo

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

2017-08-07 Thread Manfred Hampl
Question #655410 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/655410 Status: Open => Answered Manfred Hampl proposed the following answer: There is a space character in the file name, so you have to put quotes around it C:\Users\Me\Sikuli\runsikulix.cmd -r "C:\

Re: [Sikuli-driver] [Question #656054]: 2 dimensional virtual slider

2017-08-16 Thread Manfred Hampl
Question #656054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656054 Status: Open => Needs information Manfred Hampl requested more information: Ok, the image helps to get a better understanding. Just some thoughts: The crosshair seems to be just a helping aid, you

Re: [Sikuli-driver] [Question #656054]: 2 dimensional virtual slider

2017-08-16 Thread Manfred Hampl
Question #656054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656054 Status: Open => Needs information Manfred Hampl requested more information: How do the crosshair and the target marker really look like? Is the crosshair always at the same screen posit

Re: [Sikuli-driver] [Question #656425]: Checking for a picture faster

2017-08-18 Thread Manfred Hampl
Question #656425 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656425 Status: Open => Answered Manfred Hampl proposed the following answer: 1. A statement like "This does not work." does not stimulate anybody to help further. Can't you tell what happens i

Re: [Sikuli-driver] [Question #656425]: Checking for a picture faster

2017-08-18 Thread Manfred Hampl
Question #656425 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656425 Manfred Hampl proposed the following answer: I do not have the program that you want to control, so I cannot really tell why your script is not doing what you expect. You have to do some debugging yourself

Re: [Sikuli-driver] [Question #656425]: Checking for a picture faster

2017-08-18 Thread Manfred Hampl
Question #656425 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656425 Manfred Hampl proposed the following answer: I do not see the definition of endregion in your latest script. I assume the following might work: Settings.MoveMouseDelay(0.0) endregion = Region (400, 30, 100

Re: [Sikuli-driver] [Question #656054]: 2 dimensional virtual slider

2017-08-17 Thread Manfred Hampl
Question #656054 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656054 Status: Open => Answered Manfred Hampl proposed the following answer: Re: "However once the marker touches or overlaps the crosshair/s it will not match the image of the marker stored i

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

2017-06-20 Thread Manfred Hampl
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Open => Answered Manfred Hampl proposed the following answer: Standard Python syntax https://wiki.python.org/moin/ForLoop for n in range(0, 10): click() -- You received this quest

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

2017-06-21 Thread Manfred Hampl
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Open => Answered Manfred Hampl proposed the following answer: You seem to have misformatted the input. Whitespace is significant in Python. Python groups statements according to the amo

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

2017-06-22 Thread Manfred Hampl
Question #644291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/644291 Status: Open => Needs information Manfred Hampl requested more information: It seems that you have an extra closing bracket somewhere. Are you sure that the error is caused by one of the lines in y

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Manfred Hampl
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Open => Answered Manfred Hampl proposed the following answer: What exactly do you want? Should the process wait for a key-press after each line? In my opinion in such case some kind of po

Re: [Sikuli-driver] [Question #643548]: AssertionError

2017-06-14 Thread Manfred Hampl
Question #643548 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643548 Status: Open => Needs information Manfred Hampl requested more information: The python instruction "assert False" aborts processing by generating an "AssertionError" message. So

Re: [Sikuli-driver] [Question #658022]: Reading content from pop up

2017-09-15 Thread Manfred Hampl
Question #658022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658022 Manfred Hampl requested more information: Can you try the following manually (not using sikuli): Click on the password, press ctrl-a and press ctrl-v, open notepad (or any other simple editor program

Re: [Sikuli-driver] [Question #658022]: Reading content from pop up

2017-09-14 Thread Manfred Hampl
Question #658022 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658022 Status: Open => Needs information Manfred Hampl requested more information: Is the temp password only shown as an image on screen, or can you select and copy the text? -- You received this quest

Re: [Sikuli-driver] [Question #658471]: "IOError: [Errno 13] Permission denied " - I see this error when trying to capture image using shutill

2017-09-21 Thread Manfred Hampl
Question #658471 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658471 Status: Open => Needs information Manfred Hampl requested more information: There are two possible reasons for the error: Either you are missing write access to the C:\Sikuli\ManApp scripts\Imagel

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

2017-09-25 Thread Manfred Hampl
Question #658596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658596 Manfred Hampl proposed the following answer: If I interpret your question correctly, then you are looking for something like print('1st loop') mySimilarity = 1.0 while True: if exists(Pattern

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-10-01 Thread Manfred Hampl
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Manfred Hampl proposed the following answer: You modified ndinev's suggestion in a wrong way. You just have to take it as it is and insert the image names, and this should w

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-10-01 Thread Manfred Hampl
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Manfred Hampl proposed the following answer: If your primary logic is more complicated that just [:wait - click:], then I would like to go back to my recommendat

Re: [Sikuli-driver] [Question #658728]: How to work around an occasional image

2017-09-29 Thread Manfred Hampl
Question #658728 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658728 Status: Open => Answered Manfred Hampl proposed the following answer: Maybe the following approach works: Split the logic into two parts: 1. the main logic, as already programmed by you wait(&quo

Re: [Sikuli-driver] [Question #658613]: issues when using Python logging module in sikuli

2017-09-26 Thread Manfred Hampl
Question #658613 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658613 Manfred Hampl proposed the following answer: I assume that your usage of the logging module is not correct. As far as I know logger.addHandler() needs a handler as its parameter, and not a file name. Maybe

Re: [Sikuli-driver] [Question #656940]: Conditional Check on click image Sikuli events

2017-08-25 Thread Manfred Hampl
Question #656940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656940 Status: Open => Needs information Manfred Hampl requested more information: I do not know hoe to formulate my question that you understand my intention: Forget about Sikuli for a moment, but

Re: [Sikuli-driver] [Question #657024]: Sikuli IDE 1.1.0 is not working properly

2017-08-28 Thread Manfred Hampl
Question #657024 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657024 Status: Open => Answered Manfred Hampl proposed the following answer: Try upgrading to version 1.1.1 -- You received this question notification because your team Sikuli Drivers is an answer cont

Re: [Sikuli-driver] [Question #656940]: Conditional Check on click image Sikuli events

2017-08-28 Thread Manfred Hampl
Question #656940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656940 Status: Open => Answered Manfred Hampl proposed the following answer: Is there something constant that is shown with each execution, e.g. "records created"? Then this could serve for crea

Re: [Sikuli-driver] [Question #656940]: Conditional Check on click image Sikuli events

2017-08-25 Thread Manfred Hampl
Question #656940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656940 Status: Open => Answered Manfred Hampl proposed the following answer: What is shown on the screen when the operation is completed? Is it possible to make a screen shot of that and use in a exi

Re: [Sikuli-driver] [Question #656940]: Conditional Check on click image Sikuli events

2017-08-25 Thread Manfred Hampl
Question #656940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656940 Status: Open => Needs information Manfred Hampl requested more information: If you execute the process manually, how do you know that "the event has completed generating 1000 records"? Yo

Re: [Sikuli-driver] [Question #656425]: Checking for a picture faster

2017-08-20 Thread Manfred Hampl
Question #656425 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656425 Status: Open => Answered Manfred Hampl proposed the following answer: Changing MinSimilarity will not help making processing of the script faster. Key for speeding up the script is making the endreg

Re: [Sikuli-driver] [Question #656425]: Checking for a picture faster

2017-08-17 Thread Manfred Hampl
Question #656425 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656425 Status: Needs information => Answered Manfred Hampl proposed the following answer: A general hint: The smaller the region where you search for the image, the faster the search. E.g. If you k

Re: [Sikuli-driver] [Question #656940]: Conditional Check on click image Sikuli events

2017-08-29 Thread Manfred Hampl
Question #656940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/656940 Status: Open => Needs information Manfred Hampl requested more information: You should create some kind of recipe how you would tell another person how to use that application. "If

Re: [Sikuli-driver] [Question #657348]: Invalid change of AutoWaitTimeout

2017-09-04 Thread Manfred Hampl
Question #657348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657348 Manfred Hampl proposed the following answer: Have you read the docs? http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.exists recommends to set the time to zero if you just want to check

Re: [Sikuli-driver] [Question #657348]: Invalid change of AutoWaitTimeout

2017-09-04 Thread Manfred Hampl
Question #657348 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657348 Manfred Hampl requested more information: Can you identify a smaller part of the target image which is unique enough that you can decide whether it is present on the screen based on that smaller one

Re: [Sikuli-driver] [Question #657192]: Key Attribute of Function key in keyboard

2017-08-31 Thread Manfred Hampl
Question #657192 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657192 Status: Open => Answered Manfred Hampl proposed the following answer: Read the manual. http://sikulix-2014.readthedocs.io/en/latest/keys.html -- You received this question notification because y

Re: [Sikuli-driver] [Question #657192]: Key Attribute of Function key in keyboard

2017-09-01 Thread Manfred Hampl
Question #657192 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/657192 Status: Open => Answered Manfred Hampl proposed the following answer: I assume that you are talking about a laptop that has two functions on some of the F1...F12 keys (sound on/off, internal/exter

  1   2   3   >