Re: [Sikuli-driver] [Question #146640]: import some-script.sikuli: needs from sikuli.Sikuli import * in some-script.sikuli

2011-06-08 Thread Rajesh
Question #146640 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/146640 Description changed to: Hi Raimund I am not sure if I am doing anything incorrect here. ( followed the info provided in Question #144742 and reuse code and images document ) #File # 1 . myLib def check():

Re: [Sikuli-driver] [Question #146640]: import some-script.sikuli: needs from sikuli.Sikuli import * in some-script.sikuli

2011-06-08 Thread Rajesh
Question #146640 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/146640 Rajesh posted a new comment: The error message is still displaying after adding from sikuli.Sikuli import * in first line -- You received this question notification because you are a member of Sikuli Driv

Re: [Sikuli-driver] [Question #160788]: Help coding a simulated mouse movement, in a drop box like event

2011-06-08 Thread Mel Adajar
Question #160788 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160788 Description changed to: Hi, i'm just learning to use this product. I am trying to figure out how to code this. I'm at the point where I can open up a firefox web browser, type in the url, go to page. >From

[Sikuli-driver] [Question #160788]: Help coding a simulated mouse movement, in a drop box like event

2011-06-08 Thread Mel Adajar
New question #160788 on Sikuli: https://answers.launchpad.net/sikuli/+question/160788 Hi, i'm just learning to use this product. I am trying to figure out how to code this. I'm at the point where I can open up a firefox web browser, type in the url, go to page. >From the page I can rt.click on a

Re: [Sikuli-driver] [Question #155205]: how to run a script *not* from the 1st line, but from other line

2011-06-08 Thread Pablo Frank
Question #155205 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/155205 Status: Answered => Solved Pablo Frank confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drive

[Sikuli-driver] [Question #160752]: Cannot make sikuli even go to yahoo from google

2011-06-08 Thread asksikuli
New question #160752 on Sikuli: https://answers.launchpad.net/sikuli/+question/160752 I just try to go to yahoo with google chrome and it fails to paste the url at step 6 why ? see picture below http://i.stack.imgur.com/Hi9Xw.jpg -- You received this question notification because you are a m

Re: [Sikuli-driver] [Question #160681]: How to change/set the Similarity for a String to be searched? --- Not possible!

2011-06-08 Thread RaiMan
Question #160681 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160681 Summary changed to: How to change/set the Similarity for a String to be searched? --- Not possible! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #160681]: How To search a string in Screen or Region & How to change/set the Similarity for a String to be searched?

2011-06-08 Thread RaiMan
Question #160681 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160681 Status: Open => Answered RaiMan proposed the following answer: A given text with find("some text") is either found or not. You cannot define any similarity. I think, we have already discussed your requi

[Sikuli-driver] [Question #160681]: How To search a string in Screen or Region & How to change/set the Similarity for a String to be searched?

2011-06-08 Thread Saorabh Singh
New question #160681 on Sikuli: https://answers.launchpad.net/sikuli/+question/160681 I want to search a string in my Emulator Screen,I am using Sikuli in Java. i Tried below method's but all returned null: s is object of screen & String to be searched in region is passed as String. 1) Region Q

[Sikuli-driver] [Bug 794489] [NEW] Windows: Management Console (mmc) windows block Sikuli mouse actions

2011-06-08 Thread RaiMan
Public bug reported: tested on Win7 (32Bit and 64Bit) A mmc window blocks any Java robot actions (this is the Java feature internally used to simulate the mouse actions), as long as the mmc window has focus. This is the fact, no matter how you manage to get a mmc-window to the front. So it is n

Re: [Sikuli-driver] [Question #160674]: Sikuli can't click on Microsoft Management Console Windows

2011-06-08 Thread RaiMan
Question #160674 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160674 Linked to bug: #794489 https://bugs.launchpad.net/bugs/794489 "Windows: Management Console (mmc) windows block Sikuli mouse actions" -- You received this question notification because you are a

Re: [Sikuli-driver] [Question #160674]: Sikuli can't click on Microsoft Management Console Windows

2011-06-08 Thread RaiMan
Question #160674 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160674 Status: Open => Answered RaiMan proposed the following answer: I got your mail, understood what you are trying to do and tested with Win 7 32Bit. I have to admit, that the mmc window blocks any Java rob

Re: [Sikuli-driver] [Question #158940]: To fix an error

2011-06-08 Thread RaiMan
Question #158940 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/158940 Status: Open => Answered RaiMan proposed the following answer: this does not do what you expect: addImagePath("CC:\\Users\\268263\\Desktop\\download files_life insurance\\images\\") imgPath=list(

[Sikuli-driver] [Bug 794424] Re: Sikuli keeps throwing exception when I try to access every member in os.environ

2011-06-08 Thread RaiMan
follow up (intentionally sent ;-) Try the following in the IDE: out = "" for key in d: out += key + " ### " + d[key] + "\n" f = file("log.txt", "w") f.write(out) f.close() and have a look at the file content. -- You received this bug notification because you are a member of Sikuli Drivers, w

[Sikuli-driver] [Bug 794424] Re: Sikuli keeps throwing exception when I try to access every member in os.environ

2011-06-08 Thread RaiMan
same configuration - no problems. I guess you run it in the IDE. There are still some weird situations, where the IDE reports errors like Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException In this case there might be some content in one of your environment entries that makes

Re: [Sikuli-driver] [Question #160674]: Sikuli can't click on Microsoft Management Console Windows

2011-06-08 Thread Jacobo S . Arvelo Estévez
Question #160674 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160674 Status: Needs information => Open Jacobo S. Arvelo Estévez gave more information on the question: Sorry, Im sending you an email with more information and one screenshot of the problem. Thanks in advanc

Re: [Sikuli-driver] [Question #160674]: Sikuli can't click on Microsoft Management Console Windows

2011-06-08 Thread RaiMan
Question #160674 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160674 Status: Open => Needs information RaiMan requested more information: pls. describe what you are trying and/or paste a code snippet. do not understand what you mean with: ... Sikuli stuck and can't click

[Sikuli-driver] [Question #160674]: Sikuli can't click on Microsoft Management Console Windows

2011-06-08 Thread Jacobo S . Arvelo Estévez
New question #160674 on Sikuli: https://answers.launchpad.net/sikuli/+question/160674 Im using Sikuli 1.0rc2 on Win7 x64 box. Im trying to automatize some post installation configuration. Many of them are on MMC windows, like the firewall (in advance mode) and users accounts. The problems is t

Re: [Sikuli-driver] [Question #159564]: Neither type nor paste works for Java app

2011-06-08 Thread RaiMan
Question #159564 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/159564 Status: Open => Answered RaiMan proposed the following answer: Ok, I am back and hope I can help ;-) -- 1. App definitely works theApp = r"C:\Program Files\Mozilla Firefox\firefox.exe" version 1: App.

[Sikuli-driver] [Bug 794424] [NEW] Sikuli keeps throwing exception when I try to access every member in os.environ

2011-06-08 Thread Landy
Public bug reported: My code is quite simple import os d = os.environ for key in d: print key, d[key] When I execute the simple code, Sikuli frequently (2 out of 3 tries) reports exceptions below: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.tex

Re: [Sikuli-driver] [Question #158974]: How to hover on cascading menu that disappears with loss of application window focus

2011-06-08 Thread RaiMan
Question #158974 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/158974 Status: Open => Answered RaiMan proposed the following answer: --1. if you want to use find() based on captured menu entry images: you have to restrict the find operations to the area where it matches wi

Re: [Sikuli-driver] [Question #159582]: Sikuli to unlock the computer

2011-06-08 Thread RaiMan
Question #159582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/159582 RaiMan proposed the following answer: Might have misunderstood your intention. So if you want to catch the moment, when the machine locks and then unlock it and run a script: you need a script, that watches

Re: [Sikuli-driver] [Question #159634]: sftp Sikuli

2011-06-08 Thread RaiMan
Question #159634 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/159634 Status: Open => Answered RaiMan proposed the following answer: I would recommend using the Java sshtools: http://sourceforge.net/projects/sshtools/ the Python modules might all be based on C-language, t

Re: [Sikuli-driver] [Question #159582]: Sikuli to unlock the computer

2011-06-08 Thread RaiMan
Question #159582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/159582 Status: Open => Answered RaiMan proposed the following answer: Try to regularly trigger events in your script (e.g. use Python module thread to implement it in parallel), that prevent that the machine lo

Re: [Sikuli-driver] [Question #160030]: [HowTo] sort matches returned from findAll()/Finder.find()

2011-06-08 Thread RaiMan
Question #160030 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160030 Summary changed to: [HowTo] sort matches returned from findAll()/Finder.find() Description changed to: possible solution: SikuliScript/Jython/Python: see comment #1 Java: see comment #11

Re: [Sikuli-driver] [Question #160030]: String returned from findAll() function are not in order of their occurrence in Screen

2011-06-08 Thread RaiMan
Question #160030 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/160030 RaiMan posted a new comment: How to sort matches returned by findAll() in Java? Step 1: collect the matches into an array (aMatches in this example) with a for loop using hasNext()/next() Step 2: define a