← Back to team overview

sikuli-driver team mailing list archive

[Bug 1280995] Re: [request] want to detect Abort when I use setFindFailedResponse(PROMPT)

 

Hello,

Maybe, I don't understand, but why, in this case, you're not use the
try:... except FindFailed:... solution ?

the setFindFailedResponse(PROMPT) seem to be use precisely to have an
human action, if you put some code after, where is the utility to use it
?

Don't take my question in the wrong way, I'm just asking. ;-)

Regards.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1280995

Title:
  [request] want to detect Abort when I use
  setFindFailedResponse(PROMPT)

Status in Sikuli:
  Fix Committed

Bug description:
  Hey,

  When setFindFailedResponse(PROMPT) is set, and the script is run, if
  an image isn't found, a popup will show the image that's not found and
  give the user 3 options: Skip, Retry or Abort. Is there any way to
  detect when the user clicks on Abort, or any of the 3 for that matter?
  I need to execute some code if the script stops due to this.

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1280995/+subscriptions


References