Re: [Sikuli-driver] [Question #175622]: Open Same script multiple times

2011-10-21 Thread Harry Readinger
Question #175622 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/175622 Status: Open = Answered Harry Readinger proposed the following answer: The question i guess would be, is there a good reason you must have the same script open multiple times instead of just opening

[Sikuli-driver] [Question #175273]: Change default image path (for saving screenshots)

2011-10-19 Thread Harry Readinger
New question #175273 on Sikuli: https://answers.launchpad.net/sikuli/+question/175273 Wondering if there is a way to tell Sikuli NOT to save screenshots in the scripts directory, but to save them elsewhere (a shared image directory). Mostly for convenience, as it would be nice not to have to

Re: [Sikuli-driver] [Question #174139]: win32api

2011-10-13 Thread Harry Readinger
Question #174139 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174139 Status: Open = Answered Harry Readinger proposed the following answer: I dont know anything about getting win32api to work, but worst case scenario you could go to that file using Explorer and just

Re: [Sikuli-driver] [Question #173873]: indent

2011-10-12 Thread Harry Readinger
Question #173873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173873 Harry Readinger proposed the following answer: i fixed the actual indentation here: def LoggFileHandler(logg): Append2LoggFile(entering LoggFileHandler(+logg+)) if firstTime == 0

Re: [Sikuli-driver] [Question #173986]: Is there a way to have the Messages window from Sikuli after a test pass has finished to be written to a file

2011-10-12 Thread Harry Readinger
Question #173986 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173986 Harry Readinger proposed the following answer: You could also use python logging, although that may be a bit more involved than you need if all you want is print statements outputted to a file, however I

Re: [Sikuli-driver] [Question #173986]: Is there a way to have the Messages window from Sikuli after a test pass has finished to be written to a file

2011-10-12 Thread Harry Readinger
Question #173986 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173986 Harry Readinger proposed the following answer: My system uses the following structure (for reference, you dont have to use this structure): Master Script: -Does the Actual Logging -Does not do the error

Re: [Sikuli-driver] [Question #173986]: Is there a way to have the Messages window from Sikuli after a test pass has finished to be written to a file

2011-10-12 Thread Harry Readinger
Question #173986 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173986 Harry Readinger proposed the following answer: Pre-reqs should just be having python and sikuli installed, and have a Debug.log/Error.log at the paths you specify on the filehandler. as long as the master

Re: [Sikuli-driver] [Question #173986]: Is there a way to have the Messages window from Sikuli after a test pass has finished to be written to a file

2011-10-12 Thread Harry Readinger
Question #173986 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173986 Harry Readinger posted a new comment: Also: I forgot. If ever you need to force a failure condition, for example, if there is a way to tell something failed without throwing a FildFailed (generally how my

[Sikuli-driver] [Bug 857446] Re: Renaming an image in IDE sets similarity to 0.00

2011-10-07 Thread Harry Readinger
Finally managed to nail down a 100% Repro for this issue in RC3(905) on WIndows 7 64 bit (at least for me) Repro: 1)Insert Screenshot into IDE 2)Delete image in-line 3)Ctrl+Z to undo the delete 4)rename the image Notice 0.00 similarity -- You received this bug notification because you are a

Re: [Sikuli-driver] [Question #173326]: How can I reload a relative Import?

2011-10-07 Thread Harry Readinger
Question #173326 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173326 Harry Readinger confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

Re: [Sikuli-driver] [Question #173326]: How can I reload a relative Import?

2011-10-07 Thread Harry Readinger
Question #173326 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173326 Status: Answered = Solved Harry Readinger confirmed that the question is solved: That works, thanks @RaiMan -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #173287]: How do I type() a backslash in Windows?

2011-10-05 Thread Harry Readinger
Question #173287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173287 Harry Readinger posted a new comment: I just tried type(\\) on my windows machine and it worked fine. What type of keyboard are you using? -- You received this question notification because you

[Sikuli-driver] [Bug 868464] [NEW] [Request][IDE] Option to clean up unused screenshots

2011-10-05 Thread Harry Readinger
Public bug reported: I think it would be very convinient to have an option in the IDE that would Compare all .png's in the script.sikuli directory and the ones actually used in the script, and delete any .png's that are not in use. ** Affects: sikuli Importance: Undecided Status:

Re: [Sikuli-driver] [Question #173346]: How can I run an exe file

2011-10-05 Thread Harry Readinger
Question #173346 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173346 Status: Open = Needs information Harry Readinger requested more information: Please post the error message that SIkuli gives you when you try to run your script, That might tell us why the openApp

Re: [Sikuli-driver] [Question #173368]: how to simulate Key Down Combinations ( Win Key + D)

2011-10-05 Thread Harry Readinger
Question #173368 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173368 Status: Open = Answered Harry Readinger proposed the following answer: it would be type(d, Key.WIN) for windows + D NOTE: you must always put the regular key first, so type(Key.WIN, d) wouldn't work

Re: [Sikuli-driver] [Question #172879]: setBundlePath when using Eclipse?

2011-10-03 Thread Harry Readinger
Question #172879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/172879 Status: Needs information = Solved Harry Readinger confirmed that the question is solved: Using a raw string solved the problem. thanks RaiMan -- You received this question notification because you

Re: [Sikuli-driver] [Question #173148]: [IDE] Errors When opening/Closing/Saving a Project

2011-10-03 Thread Harry Readinger
Question #173148 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173148 Harry Readinger posted a new comment: Also if these errors occur when opening a .sikuli file, the file is opened as untitled -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Question #173148]: [IDE] Errors When opening/Closing/Saving a Project

2011-10-03 Thread Harry Readinger
New question #173148 on Sikuli: https://answers.launchpad.net/sikuli/+question/173148 The following is example output of what sometimes shows up when I Open/save/close projects in the Sikuli IDE (1.0rc3 (r905)): java.lang.reflect.InvocationTargetException at

Re: [Sikuli-driver] [Question #173148]: [IDE] Errors When opening/Closing/Saving a Project

2011-10-03 Thread Harry Readinger
Question #173148 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173148 Harry Readinger gave more information on the question: Big Update: This may be a separate issue, but now i can no longer launch the sikuli IDE at all. Here is what I did since posting 1) Restarted my

Re: [Sikuli-driver] [Question #173148]: [IDE] Errors When opening/Closing/Saving a Project

2011-10-03 Thread Harry Readinger
Question #173148 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173148 Harry Readinger gave more information on the question: IDE now launches thanks to https://answers.launchpad.net/sikuli/+faq/1766 Waiting to see if i still have the errors on loading. -- You received

Re: [Sikuli-driver] [Question #173148]: [IDE] Errors When opening/Closing/Saving a Project

2011-10-03 Thread Harry Readinger
Question #173148 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173148 Harry Readinger gave more information on the question: Still have the same errors on loading a file. -- You received this question notification because you are a member of Sikuli Drivers, which

Re: [Sikuli-driver] [Question #165999]: Logging and reporting in project Sikuli

2011-09-30 Thread Harry Readinger
Question #165999 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/165999 Harry Readinger posted a new comment: The python logging class is very easy to set up and I recommend using that for logging. information on python logging is here: http://docs.python.org/library

[Sikuli-driver] [Question #172879]: setBundlePath when using Eclipse?

2011-09-30 Thread Harry Readinger
New question #172879 on Sikuli: https://answers.launchpad.net/sikuli/+question/172879 I have been working on setting up eclipse to be my main Sikuli IDE, I followed the steps outlined in the documentation http://sikuli.org/docx/faq/040-other-ide.html Here is the script I am running: from

Re: [Sikuli-driver] [Question #172860]: While loop

2011-09-30 Thread Harry Readinger
Question #172860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/172860 Status: Open = Answered Harry Readinger proposed the following answer: A few things from my experience: 1) try limiting your find/exists to a region if possible and just observe that region

[Sikuli-driver] [Bug 862673] [NEW] [request] Implement Smart Indenting in IDE

2011-09-29 Thread Harry Readinger
Public bug reported: Request to implement smart indenting to the IDE. If user has tab key insert x spaces instead of a tab, always have the indenting actually indent or dedent only on multiples of x. Example: Assume my tab is replaced with 4 spaces. if my cursor is on the 6th space of the

[Sikuli-driver] [Bug 857446] [NEW] Renaming an image in IDE sets similarity to 0.00

2011-09-23 Thread Harry Readinger
Public bug reported: WIndows 7 64 bit SIkuli x 1.0 RC3 (r905) Renaming an image without adjusting the targeting offset or matching similarity will set the similarity to 0.00 Repro Steps: Open SIkuli IDE, capture any image Click on image and rename it, click OK Observe similarity set to 0.00 **

Re: [Sikuli-driver] [Question #171825]: Importing Sikuli Script

2011-09-21 Thread Harry Readinger
Question #171825 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/171825 Status: Answered = Solved Harry Readinger confirmed that the question is solved: @RaiMan, @Tsung Thanks for the help guys, got it working! -- You received this question notification because you

[Sikuli-driver] [Question #171825]: Importing Sikuli Script, Sikuli Specific functions not defined (in Sikuli IDE)

2011-09-20 Thread Harry Readinger
New question #171825 on Sikuli: https://answers.launchpad.net/sikuli/+question/171825 I am attempting to use a Sikuli Script as a module for other scripts in my automation suite (its actually launching the program, making it a module makes me not have to copy/paste it at the beginning of each

Re: [Sikuli-driver] [Question #171679]: WINDOWS KEY how???

2011-09-19 Thread Harry Readinger
Question #171679 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/171679 Status: Open = Answered Harry Readinger proposed the following answer: you can use type(KEY_WIN, r) that should open the run prompt -- You received this question notification because you are a member