@c_joerg
Replacement
M3 arrived and experimentation restarted 😀
First observation is that call_event_proc("EFLensCom.FocusSearchNear") requires a much longer sleep than MoveFocus, ie to get repeatable upper and lower focus values.
With MoveFocus I find I can 'get away' with sleep(15), ie 15 microseconds. If I use, say, 5, then the upper and lower values vary from run to run.
With FocusSearchNear I need to multiple the sleep by, say, 20, ie get up to 300.
The above observation is from simply repeating my test script, ie move to near then to a stated focus, ie upper, say, greater than the requested distance.
Knowing the above, I can now move on to the next stage and write a demo focus bracketing script.