Re: [Sikuli-driver] [Question #177997]: IDE: Not used images are purged when saving script --- solution

2011-11-11 Thread RaiMan
Question #177997 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177997 RaiMan proposed the following answer: I just went back to your stuff and checked: all key images are matched with a score of .99 in the shape you currently have (as little background as possible). If you

Re: [Sikuli-driver] [Question #177997]: IDE: Not used images are purged when saving script --- solution

2011-11-11 Thread RaiMan
Question #177997 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177997 RaiMan posted a new comment: Sorry, forget the comment about the dictionary :-( You are using it already. I was a little bit distracted by the class HwKey. Nevertheless, I would use the calculation

Re: [Sikuli-driver] [Question #173063]: Is there any import files which we use to create a custom log file like the Tempfile module

2011-11-11 Thread RaiMan
Question #173063 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173063 Status: Open = Answered RaiMan proposed the following answer: shutil.move first copies the file to the new destination and then it tries to delete the source file. The second step (delete source file)

Re: [Sikuli-driver] [Question #178370]: how to call/import a function in one script to another script

2011-11-11 Thread RaiMan
Question #178370 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178370 Summary changed to: how to call/import a function in one script to another script Description changed to: i have a global function in one of my script and i need to call/import into one of my another

Re: [Sikuli-driver] [Question #178370]: how to call/import a function in one script to another script

2011-11-11 Thread RaiMan
Question #178370 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178370 Status: Open = Answered RaiMan proposed the following answer: the basic template is (it is Sikuli's extension of the standard Python import): *** main.sikuli from sub import * # using/call myFunction()

[Sikuli-driver] [Bug 888715] Re: X 1.0 rc3 IDE will not start on XP SP3

2011-11-11 Thread RaiMan
try to reset the registry container where Sikuli stores the information to restore the situation of the last session (you might have moved or deleted a .sikuli that was opened in a tab, when you stopped the IDE the last time). see faq 1766 ** Summary changed: - X 1.0 rc3 IDE will not start on

Re: [Sikuli-driver] [Question #178333]: Load Custom Jython Classes in Sikuli Interactive Mode

2011-11-11 Thread RaiMan
Question #178333 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178333 Status: Open = Answered RaiMan proposed the following answer: Yes, Jython path does not matter for Sikuli, when you use it as it comes (it has its own Jython packed together in sikuli-script.jar)) you

Re: [Sikuli-driver] [Question #177873]: Sikuli Script integration with Java in Eclipse

2011-11-11 Thread RaiMan
Question #177873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177873 Status: Open = Answered RaiMan proposed the following answer: -- Did you use Sikuli-IDE.bat to start the IDE? If not, then try this first. -- if this does not help, add -Dsikuli.console=false the

Re: [Sikuli-driver] [Question #176372]: [error] Error message: UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in position 25-27: truncated \xXX

2011-11-11 Thread Launchpad Janitor
Question #176372 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/176372 Status: Needs information = Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Needs information' state without activity for the last 15 days. -- You

Re: [Sikuli-driver] [Question #177997]: IDE: Not used images are purged when saving script --- solution

2011-11-11 Thread Jiang Yangdong
Question #177997 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177997 Jiang Yangdong posted a new comment: i've read you replies, and i just test my codes i sent you again, after reboot my PC, it ran OK. But with same code, it ran fail yesterday. it troubles me a lot now.

Re: [Sikuli-driver] [Question #177654]: Stop a loop

2011-11-11 Thread RaiMan
Question #177654 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177654 RaiMan proposed the following answer: Uuups, you have to think the other way round: The driving master is the script. This loops through the directory structure and tells the app by clicking and typing,

Re: [Sikuli-driver] [Question #177997]: IDE: Not used images are purged when saving script --- solution

2011-11-11 Thread RaiMan
Question #177997 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177997 Status: Answered = Needs information RaiMan changed the question status: I changed the status to Needs information, so it is save against expiring. Come back whenever it makes sense. Use the button

Re: [Sikuli-driver] [Question #177997]: IDE: Not used images are purged when saving script --- solution

2011-11-11 Thread RaiMan
Question #177997 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177997 RaiMan posted a new comment: It might be necessary to use the absolute full path for the script to run. -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #178333]: Load Custom Jython Classes in Sikuli Interactive Mode

2011-11-11 Thread Derek Rushing
Question #178333 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178333 Status: Answered = Solved Derek Rushing confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Bug 889204] Re: camera button crashes sikuli...

2011-11-11 Thread Juliana Gressens
It's a wonderfull idea, but it must works... -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/889204 Title: camera button crashes sikuli... Status in Sikuli: New Bug description: Just open

[Sikuli-driver] [Bug 889204] [NEW] camera button crashes sikuli...

2011-11-11 Thread Juliana Gressens
Public bug reported: Just open sikuli and try to capture some image with the camera button; it crashes the sikuli. ** Affects: sikuli Importance: Undecided Assignee: Juliana Gressens (juliana-gressens) Status: New ** Changed in: sikuli Assignee: (unassigned) = Juliana

[Sikuli-driver] [Bug 888715] Re: X 1.0 rc3 IDE will not start anymore on XP SP3

2011-11-11 Thread hugelandmonster
RainMan Removing HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\sikuli\ide fixed the problem. Thank you! -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/888715 Title: X 1.0 rc3 IDE will not start

[Sikuli-driver] [Bug 889204] Re: camera button crashes sikuli...

2011-11-11 Thread RaiMan
pls. more info. system, version, ... if Windows: try Sikuli-IDE.bat to start ** Changed in: sikuli Assignee: Juliana Gressens (juliana-gressens) = (unassigned) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli.

Re: [Sikuli-driver] [Question #177994]: Comparing screenshots dynamically

2011-11-11 Thread Hari Kiran Vankayala
Question #177994 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/177994 Status: Answered = Solved Hari Kiran Vankayala confirmed that the question is solved: Hi Raiman, This is working finally. Small correction, in the above code there is one extra brace. img =

[Sikuli-driver] [Question #178456]: Running multiple sikuli scripts at once

2011-11-11 Thread Hari Kiran Vankayala
New question #178456 on Sikuli: https://answers.launchpad.net/sikuli/+question/178456 Hi Raiman, I want to run multiple sikuli scripts at a time so I searched 166618 helped me in the below code. import os dir = /Users/hari/Desktop/Automation/Sikuli Scripts scripts = [script1, script2]

[Sikuli-driver] [Question #178459]: Test Results log

2011-11-11 Thread Hari Kiran Vankayala
New question #178459 on Sikuli: https://answers.launchpad.net/sikuli/+question/178459 Hi Raiman, On running multiple scripts at once, I want to get their test results in html or any other format. Can you please give a solution for this. Thanks in Advance, Hari. -- You received this question

Re: [Sikuli-driver] [Question #178456]: Running multiple sikuli scripts at once

2011-11-11 Thread RaiMan
Question #178456 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178456 Status: Open = Answered RaiMan proposed the following answer: execfile(os.path.join(scriptPath, script+.py)) bracket missing at end ;-) -- You received this question notification because you are a

Re: [Sikuli-driver] [Question #178456]: Running multiple sikuli scripts one after the other

2011-11-11 Thread RaiMan
Question #178456 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178456 Summary changed to: Running multiple sikuli scripts one after the other -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #178459]: Test Results log

2011-11-11 Thread RaiMan
Question #178459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/178459 Status: Open = Answered RaiMan proposed the following answer: You need Python's unittest module: http://docs.python.org/library/unittest.html Here a Testrunner is mentioned, that produces html output.