Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-07-01 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Status: Answered = Open

eduardobedoya is still having a problem:
Hi Rainman please could you tell me, what are exit() parameters??
I've tried to read about that from here with no clue 
http://doc.sikuli.org/globals.html
it seems that are numbers? like 1??
Thanks Advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-07-01 Thread RaiMan
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

RaiMan posted a new comment:
Uuuups 

your comments vanished very fast ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-07-01 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Status: Open = Solved

eduardobedoya 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 contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-05-28 Thread eduardobedoya
New question #267500 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267500

Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as image not found and only then stop 
script

I have used...

try:
reg.click(Image)
except
App.setClipboard(image not found)

which is the best way to achieve this? thanks advanced.


-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-05-28 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Description changed to:
Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait time stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as image not found and only then stop 
script

I have used...

try:
reg.click(Image)
except
App.setClipboard(image not found)

which is the best way to achieve this? thanks advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-05-28 Thread eduardobedoya
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Description changed to:
Hi,
Currently Im using...
reg.click(Image) (if image doesn't appear within default wait time stop script)
and
reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script)
I remember the default wait was about 3 seconds

How can I tell sikuli that
if image doesn't appear set clipboard as image not found and only then stop 
script, (it's necessary to stop script after clipboard change)

I have used...

try:
reg.click(Image)
except
App.setClipboard(image not found)

which is the best way to achieve this? thanks advanced.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #267500]: If image not found, set clipboard to img not found

2015-05-28 Thread RaiMan
Question #267500 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267500

Status: Open = Answered

RaiMan proposed the following answer:
try:
reg.click(Image)
except
App.setClipboard(image not found)
exit()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp