Have found a new variant of CHDK called StereoData Maker (SDM). This is a light weight version of CHDK and it supports Kite Aerial Photography(KAP). Using this I can control the camera to run scripts by varying the length of the power pulse I send down the USB cable. NB The monitor is only accurate to about 10ms so significant variation and slowness is required for satisfactory results.