[Sikuli-driver] [Question #197639]: Suggestions for scaling problems

2012-05-17 Thread bengalih
New question #197639 on Sikuli: https://answers.launchpad.net/sikuli/+question/197639 Hello Again! Rai and I had a lot of discourse while developing my app to automate Netflix controls which I posted here: https://answers.launchpad.net/sikuli/+question/193849 Unfortunately, Netflix has just rel

Re: [Sikuli-driver] [Question #195612]: Passing command line argument using sikuli-script.jar does not work

2012-05-04 Thread bengalih
Question #195612 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195612 Status: Answered => Solved bengalih confirmed that the question is solved: Rai's syntax was correct (need the -r). Unfortunately using the ide.bat instead of script.bat means that any error out

[Sikuli-driver] [Question #195612]: Passing command line argument

2012-05-01 Thread bengalih
New question #195612 on Sikuli: https://answers.launchpad.net/sikuli/+question/195612 I'm sorry to ask this because I see several similar questions but I have read them and still am not able to get a result. Executing from command prompt on Windows: C:\Users\myuser> java -jar "c:\Program Files

Re: [Sikuli-driver] [Question #195343]: Trapping error for Region.wait ?

2012-04-30 Thread bengalih
Question #195343 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195343 Status: Solved => Open bengalih is still having a problem: if NextEpisodeRegion.exists("logo.png",8): OK...duh...it was late and i was focusing on region.find for some reason and didn&#x

Re: [Sikuli-driver] [Question #195343]: Trapping error for Region.wait ?

2012-04-30 Thread bengalih
Question #195343 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195343 Status: Answered => Solved bengalih confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Driv

Re: [Sikuli-driver] [Question #195342]: Optimal way to scan constantly in main loop

2012-04-30 Thread bengalih
Question #195342 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/195342 Status: Answered => Open bengalih is still having a problem: Rai This seems to work... while True: wait(1) # search once every five seconds while not TestEpisodeRegion.exi

[Sikuli-driver] [Question #195343]: Trapping error for Region.wait ?

2012-04-29 Thread bengalih
New question #195343 on Sikuli: https://answers.launchpad.net/sikuli/+question/195343 code: if NextEpisodeRegion.wait("logo.png",8): If the logo is not found, the following exception is presented: Exception in thread "Thread-4" Line 61, in file test.py at org.sikuli.script.Region

[Sikuli-driver] [Question #195342]: Optimal way to scan constantly in main loop

2012-04-29 Thread bengalih
New question #195342 on Sikuli: https://answers.launchpad.net/sikuli/+question/195342 I'm trying to determine the most optimal way to scan for an image on the screen constantly and then perform an operation when found. My application defs are all triggered by hotkeys so I have a main loop as: w

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-26 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: I wasn't inferring you thought I was a fool...I had hoped it was a rhetorical question as I am pretty confident I have shown some degree of competence with my initial s

Re: [Sikuli-driver] [Question #194235]: Limitations of Env.addHotkey ?

2012-04-25 Thread bengalih
Question #194235 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194235 Status: Answered => Open bengalih is still having a problem: Should I then create a bug report on this? Or are you able to transfer this into a bug? -- You received this question notification beca

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-25 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: Well - it is your call of course. :) I have told you previously that I am not a programmer by trade, but I hope at this point in the conversation you would not take me for a

Re: [Sikuli-driver] [Question #194344]: Sikuli folder in root directory? --- not possible with rc3(930)

2012-04-22 Thread bengalih
Question #194344 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194344 bengalih posted a new comment: Thanks guys...I swear I did do a cursory search, but I must have overlooked it! Luckily, I am using a wrapper script, so I will check in that to ensure not on a root drive

Re: [Sikuli-driver] [Question #194235]: Limitations of Env.addHotkey ?

2012-04-22 Thread bengalih
Question #194235 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/194235 bengalih gave more information on the question: So on my US QWERTY laptop keyboard "." is unshifted key and ">" is shifted value. I have tried: Env.addHotkey(".", Ke

[Sikuli-driver] [Question #194344]: Sikuli folder in root directory?

2012-04-21 Thread bengalih
New question #194344 on Sikuli: https://answers.launchpad.net/sikuli/+question/194344 This may be a bug, but perhaps I am missing something. I am unable to get sikuli to run if the .sikuli folder is stored on the root of a drive. For example: C:\>java -jar "c:\Program Files (x86)\Sikuli X\siku

[Sikuli-driver] [Question #194235]: Limitations of Env.addHotkey ?

2012-04-20 Thread bengalih
New question #194235 on Sikuli: https://answers.launchpad.net/sikuli/+question/194235 I won't go into too much detail yet, because although I have done A LOT of testing, i haven't been well documenting my tests. But, two problems I have been having: Registering an Env.addHotkey of the following

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-20 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: Before I look into it any further, I just want to qualify your quote: "So if you know your monitor setup..." Does this mean that there would not be a way to det

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-19 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: So does this mean that I need to: a) Find out what screen the Netflix window is running on? I assume somehow with the App class...but I don't see how this is easily don

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-18 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: I like the change to the screen region routines I do use the DRY approach in my VBscripting, but wasn't sure exactly how to pass those in the Python subroutine..

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-17 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: Revised code is below. I believe I have taken into account all your suggestions, let me know if you think further optimization or clarification is necessary. The only

Re: [Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-17 Thread bengalih
Question #193849 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193849 bengalih posted a new comment: 1) Thank YOU for the comprehensive feedback! 2) I use the "\Program Files\" directory pretty much exclusively when I talk about where things get installed. I fe

Re: [Sikuli-driver] [Question #193287]: Running javaw.exe or java.exe with hidden console together with AutoIt

2012-04-16 Thread bengalih
Question #193287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193287 bengalih posted a new comment: Rai, I posted an example/question like you suggested here: https://answers.launchpad.net/sikuli/+question/193849 If you are so inclined you can link to it from your examples

[Sikuli-driver] [Question #193849]: [EXAMPLE] XBMCFlix-o-mate Automating Netflix Silverlight Controls

2012-04-16 Thread bengalih
New question #193849 on Sikuli: https://answers.launchpad.net/sikuli/+question/193849 Here is a link to my application developed primarily with Sikuli: http://forum.xbmc.org/showthread.php?tid=129091 It is called XBMCFlix-o-mate because it is designed to be a helper application to XBMCFlix whic

Re: [Sikuli-driver] [Question #193287]: Running javaw.exe or java.exe with hidden console together with AutoIt

2012-04-13 Thread bengalih
Question #193287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193287 bengalih posted a new comment: I wish I had kept better notes while I was working through regarding the biggest problems I had with the documentation. I think part of the problem is that since I am not a

Re: [Sikuli-driver] [Question #193287]: Running javaw.exe or java.exe with hidden console together with AutoIt

2012-04-12 Thread bengalih
Question #193287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193287 bengalih posted a new comment: Thanks Rai - I'm very much a dilettante with coding. I have no formal training and my experience is mostly from looking at examples and learning how to piece things tog

Re: [Sikuli-driver] [Question #193287]: Problems when running javaw.exe or java.exe with hidden console

2012-04-11 Thread bengalih
Question #193287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193287 Status: Open => Solved bengalih confirmed that the question is solved: Ok Rai - Update - this was all my fault :) I had some code in my AutoIt script to check for the FIRST run of this program t

Re: [Sikuli-driver] [Question #193287]: Problems when running javaw.exe or java.exe with hidden console

2012-04-11 Thread bengalih
Question #193287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/193287 Status: Answered => Open bengalih is still having a problem: Thanks for your quick response. Unfortunately when you ask me to be more specific, I'm not sure what I can offer... The problem see

[Sikuli-driver] [Question #193287]: Problems when running javaw.exe or java.exe with hidden console

2012-04-11 Thread bengalih
New question #193287 on Sikuli: https://answers.launchpad.net/sikuli/+question/193287 I am writing a script to automate a gui. I am not a python guru and have found Sikuli a little bit lacking in that it has no way to natively check for a window without making that window take focus. Because o