For those that value getting the best out of your Canon ML enhanced camera, you may be interested in the latest version of my Auto HFD script: download it from the right.
This version first optimizes the aperture for maximum depth of field, before moving the lens to the HFD position.
The lens must report focus distance and be in AF mode. The camera does not need to be in LV, but can be. Also the lens position can be anywhere and the aperture set to any value.
The script will run by simply pressing the MENU key, followed by the INFO key (but you can change these two keys if you wish).
After the script has run, you need to tweak the exposure or run the auto ETTR via ML or the ML auto bracketing for a fully optimized capture.
As usual, I welcome feedback on the script, which I have tested on my 5D3.