I'm pleased to release a new feature in DOFIZ.
In addition to helping manually focus bracket, the latest version has a semi-auto focus bracketing feature.
I call it semi auto as its functionality sits between using the DOFIZ focus feedback to manually focus bracket and, say, using my fully auto focus bracketing script: https://chdk.fandom.com/wiki/Landscape_Focus_Bracketing_:_perfect_near_to_far_focus_brackets
You can access this feature by toggling to it in Alt mode.
Once set, you must also set the Canon custom timer to 2 shots, with any delay you wish; and be in MF mode.
Then focus on the nearest object of interest. Assuming you are focusing at less than half the hyperfocal, DOFIZ will tell you the focus step it will take in a two bracket focus sub-set, ie an image at the current location and one at the step distance. The step distance is calculated to ensure the first image's far DoF is equal to the second image's near depth of field. DOFIZ also positions focus at the step distance beyond the second image's point of focus, which is less that the second image's far depth of field. Thus DOFIZ never creates focus gaps.
Here is a test image I just took on my G5X. Seven brackets, including a manually set infinity shot, ie beyond the hyperfocal. All I had to do is keep pushing my remote until the 2-image sub-brackets had covered the depth of field.
The usual caveat from me: I write my scripts for my own use, but share freely. I do welcome feedback, especially aimed at making DOFIZ better.
You can download DOFIZ from here: https://gist.github.com/pigeonhill/21920aaed39500a75c6bba30f2f5f697
I've also updated the scripts page: https://chdk.fandom.com/wiki/DOFIZ:_DOFIC_with_Tv,_ISO_or_Focus_Bracketing