[check] want to detect Abort when I use setFindFailedResponse(PROMPT)

Bug #1280995 reported by RaiMan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

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.

RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.2.0
Revision history for this message
obiwan-92 (obiwan-92) wrote :

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.

RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.0.1
status: Fix Committed → In Progress
summary: - [request] want to detect Abort when I use setFindFailedResponse(PROMPT)
+ [check] want to detect Abort when I use setFindFailedResponse(PROMPT)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.