Question #235864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235864
tjonnyc posted a new comment:
I usually use the 2-part if-exists / if-not-exists method:
def FunctionName(n):
Region(500,300,125,40)
if exists(Condition.png):
{do something
Question #238124 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238124
Status: Solved = Open
tjonnyc is still having a problem:
One more question, if you don't mind...
Can sub-scripts hold constants without actions? I.e. can I have a bunch
of SomeItem = Location(1000,500
New question #239537 on Sikuli:
https://answers.launchpad.net/sikuli/+question/239537
How would you make a script go to the end of the sequence, if a certain
condition is met?
Here's what I have now:
def SubRoutine1(n):
{some code}
...
def SubRoutine20(n):
{some more code}
...
def
Question #238124 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238124
Status: Answered = Solved
tjonnyc confirmed that the question is solved:
Thanks, I got it to work! Brilliant!
--
You received this question notification because you are a member of
Sikuli Drivers
Question #238712 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238712
Status: Answered = Solved
tjonnyc confirmed that the question is solved:
OK, going to try upgrading to the latest version.
BTW, as I just found out, the issue is not the length of the script -
had
Question #238124 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238124
Status: Answered = Open
tjonnyc is still having a problem:
...whoa.
That's a bit more complicated than I expected, but I'll play around with
it.
To possibly simplify the situation: I don't need
New question #238712 on Sikuli:
https://answers.launchpad.net/sikuli/+question/238712
Upon trying to save a (very long, 1300 lines) script, I get the following:
ava.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
New question #238124 on Sikuli:
https://answers.launchpad.net/sikuli/+question/238124
I'm trying to combine several scripts into 1, but it's not working right.
Could someone provide an example of a Sikuli script that includes other scripts
** imported from files **, so I can reverse-engineer
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636
Status: Needs information = Open
tjonnyc gave more information on the question:
If I run that line, all I get is
##
--
You received this question notification because you are a member of
Sikuli
New question #237084 on Sikuli:
https://answers.launchpad.net/sikuli/+question/237084
I would like to prompt the user for a number, then use that number to run a
particular loop a specific number of times.
1.) Pop up a question: How many times to run?
2.) Read input - integer from 1 to 9.
Question #236636 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236636
Status: Answered = Open
tjonnyc is still having a problem:
Tried it, still nothing.
1.) Other OCR programs have no problem recognizing the text (took
screenshot, MS Office OCR and CorelDraw OCR
New question #236636 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236636
I'm trying this code, which I got from the answer to another thread (marked as
solved):
myReg= Region(100,100,500,600)
myReg.highlight(2)
myText = myReg.text()
print myText
There is definitely text there, but
New question #236513 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236513
Let's say I have a counter loop:
-
for a in range(100):
{do something}
{do something else}
I would like to display a pop-up /
New question #236516 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236516
I have a small script that performs some actions in a web-based application. A
cornerstone of this script is waiting for an event complete message, and
proceeding to the next step. Here's the simplified code:
Question #236513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236513
Status: Answered = Open
tjonnyc is still having a problem:
There is plenty of screen space to hold a display/popup/overlay, without
interfering with the web app. The app is 1000x700, and my monitor
Question #236513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236513
Status: Answered = Open
tjonnyc is still having a problem:
OK, that could work. But a more flexible / reliable solution would be
pasting the counter value into Google Docs - since I could access it
from
Question #236516 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236516
Status: Needs information = Open
tjonnyc gave more information on the question:
The browser window is open visible. Each tab can be switched to at any
time.
The app is running concurrently, and may
Question #235487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235487
Status: Answered = Open
tjonnyc is still having a problem:
The code:
reg = selectRegion(Region(1364,281,75,18))
print reg.text()
Produces the following error:
[info] Sikuli vision engine loaded
Question #235487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235487
Status: Answered = Open
tjonnyc is still having a problem:
Thank you for the answer.
However, it's not working out.
var_name = myRegion.text()
Fails with NameError: name 'myRegion' is not defined
Question #235487 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235487
Status: Answered = Open
tjonnyc is still having a problem:
1.) OK, that got rid of the errors on recognizing the text...
The last issue is, what's the correct syntax for pasting the text?
2.) Re
New question #235487 on Sikuli:
https://answers.launchpad.net/sikuli/+question/235487
Here's what I would like to accomplish:
1.) Select a region on the screen.
2.) Do OCR on the text within that region.
3.) Switch to a different tab in the browser.
4.) Click on a specific location.
5.) Paste
Question #234579 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234579
Status: Answered = Solved
tjonnyc confirmed that the question is solved:
Thank you SO much! It worked PERFECTLY!
--
You received this question notification because you are a member of
Sikuli Drivers
New question #234579 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234579
My script needs to log in to several accounts, each in a separate browser tab.
I already took care of opening the browser, opening multiple tabs, and starting
the web app in each tab.
Now, I would like to use
23 matches
Mail list logo