I downloaded the scripts from the User written scripts on the CHDK wiki. The focusrange.bas script runs, but does not change focus. I have the focus set on manual and between shots the focus distance indicator on the right side of the screen does not change position.
Ah, another "golden" oldie badly in need of an upgrade. Did you delete the section of that script that only works for a G12? (That code could easily be cleaned up to work with any camera .... ).
Can you write down the exact messages that appear on your LCD screen as the script runs?
Or alternatively, add this line where the G12 code was deleted :
print_screen 5
run the script, and post the resulting log file called
LOG_0005.TXT from the
CHDK/LOGS folder on your SD card.
FWIW, of all the script on that wiki page, the only one I'd suggest using these days is fabris" :
Foc_Stak - 1.1.lua