Does that mean I have to switch it manually before the script will work?
No.
First of all, decide which mode you are going to use that also supports manual focusing.
On my A620, I set the dial to 'Manual'.
That requires three presses of the multicontroller 'down' button to enter manual-focusing mode, other modes may only require two presses.
Load the following script (copied to a file named 'Opthalmo.bas for example) and set it to auto-start on power-up :-
@title Opthalmoscope
sleep_for 1000
click "down"
sleep_for 1500
click "down"
sleep_for 1500
click "down"
sleep_for 1500
set_zoom_to 3
sleep_for 1500
set_focus_to 65000
enable_usb_download
" Switch to Playback"
end
NOTE: These are SDM 'plain English' script comands that are not in the basic CHDK.
In my case, after switching to playback, the programme 'WIA-Loader' automatically starts :-
Image uploadingIn your case, the image-capture programme should start (if that is currently selected for the USB 'on connect' event).
If you would like to try this, send me a personal message with suitable email address.
I assume firmware is 100b.
David