Boolean focus_acquired()
Return the status of the latest set-focus command.
focus_acquired()
function indicates that the specified position was not acquired,
it tries again, this time with a lower precision.
set_focus 10, 0.5
until $acquired(focus)
if(!$focus_acquired()) {
print "Trying again with less focusing precision"
set_focus 10, 1.0
}
set_focus() command
are unobtainable, the focusing procedure eventually gives up
trying. The focus_acquired() function can be used to
determine whether it succeded or failed.