Thanks for the answers. I have one more question regarding the focus. Say I want to store the focus in a variable like this:
x = 0
press( "shoot_half" )
get_focus( x )
release( "shoot_half" )
Note, in lua you need to use
x=get_focus()
If you are relying on camera AF, you need to wait for the focusing to complete before getting the value. To do this, use a loop like
press("shoot_half")
repeat
sleep(10)
until get_shooting() == true
... get your values here
get_shooting() will become true when all the canon AF and AE functions have done their job. If you go on to press shoot_full, it will only go false again once the exposure is pretty much finished.
Some general comments on getting and setting these kinds of values from script:
If you use the set_XX96 functions (and also the focus functions AFAIK), you must call them
before starting the half press. If you want to set these values during the half press you have to set the propcase values directly, if the particular feature is controllable by propcases (and getting it at exactly the right stage in the shooting process may be tricky.)
Note that there may be some variation in behavior depending on whether the camera is in a mode that allows manually setting of the particular value (e.g. M, Tv, Av etc. canon modes)
For what you describe with focus, you may want to use canons own AF lock feature, as described in the canon manual, but using emulated button presses.