A new KAP script for CHDK has been published by waterwingz on the CHDK site:http://chdk.wikia.com/wiki/KAP_&_UAV_Exposure_Control_Script
The main purpose of the script is to manage all of the exposure settings so that a fast target shutter speed is maintained, thereby maximizing picture sharpness. The variables are managed independently for each picture, which provides flexibility for variable lighting conditions not available from a simple Tv mode setting. The script also provides the usual intervalometer parameters, as well as parameters for exposure compensation, zoom, fixed focus at infinity, and USB run/pause control. The hope is that you can set all these parameters in advance, and just start the script running when you launch rather than having to change camera settings manually.
The script works for cameras with any combination of adjustable iris and/or ND filter. It will run under CHDK versions 1.2 and 1.3, but in either case build 3149 or later is required.
This project grew out of previous discussions on CHDK's Custom Auto ISO function, which works in a manner similar to the new script, except that it does not manage the aperture setting.
I've been working with waterwingz for a couple weeks on this script, and I think it's pretty good, but any input on needed changes or fixes would be appreciated, either here or in the CHDK forum.
I hope the script will be useful.