Just tried fudgey's script and all I get is ***STARTED*** after I push the shutter. I put it into <alt> mode, press and release the shutter while pointed at infinity, and get ***STARTED***. Then I move until I'm pointed at something closer and it never focuses. I've tried in P and AUTO, I've tried pressing and releasing the shutter, and just pressing and holding. I think I'm missing something, or the script doesn't work.Keep trying guys it looks like we're getting close!!
I tried the new script and got: uBasic:30 unk stmtSo I figured, that must be the N on line 30 - it doesn't like upper case at all. I changed the whole script into lower case and ran it again. Now I get "starting" in the viewfinder and no uBasic errors, but I can't get it to fire. I left it at the default settings 26 for distance and 2 for range, and it just sits there for about 2 minutes then shuts off. It does focus during that 2 minutes so something is happening, but not what we want.
The only thing I can think of is that your build is ancient enough not to support capitalized variables in ubasic. ...
I tried your script just now and when I half-press the shutter I get some numbers at the top that I can't interpret (R1/R2/...) and when I push it all the way I get "starting" and the camera hangs until I turn it off.
When I enable DoF as you suggested (thanks for the instructions!) it's weird - when I point at an object about 25 feet away it says SD 1.8 ... 1.8 what?? It's way more than 1.8 meters away. Not only that, if I focus on the same object four times I get four different values: 1.8, 1.3, 2.0, 1.5.