What happens if you do a click "shoot_half" instead of a shoot ?
If I didn't screw up below, the answer is no. No matches (Set!=B4, Set!=Aft) when the following was run (on A800):
@title focusTest script
print "Focus Test2!"
for f=95 to 100
set_focus f
press "shoot_half"
sleep 1000
b=get_focus
release "shoot_half"
g=get_focus
print "Set=",f," B4=",b," Aft=",g
next f
end
I then re-ran the original focus test (just in case there were user errors involved in the procedure) and things match (SetTo==Actual).
<later edit>
Uhm... I did screw up! I noticed a difference between the two scripts (delay after set_focus).
The following works (Set==B4, Set==Aft). "sleep 500" required after set_focus!:
@title focusTest2 script
print "Focus Test2!"
for f=95 to 100
set_focus f
sleep 500
press "shoot_half"
sleep 1000
b=get_focus
release "shoot_half"
g=get_focus
print "Set=",f," B4=",b," Aft=",g
next f
end
I then tried reducing the sleep 500 to sleep 50 and that failed again (Set!=B4, Set!=Aft).