Obviously I'd like to avoid having to do that, but I suppose that will await someone figuring out what this bug is and how to fix it.
Nope, an initial sleep command does not work.However, modifying the script as follows does work; added a single extra shoot before doing the set_zoom a. If I do that then it will do the set_zoom a correctly before doing the next shoot command. Weird huh ? Obviously I'd like to avoid having to do that, but I suppose that will await someone figuring out what this bug is and how to fix it. I'm not skilled enough to do so myself.rem Test@param a Zoom Step@default a 2 cls print "Set when ready..." print " ":check_again wait_click is_key k "set" if k=1 then goto "ok" goto "check_again":ok shoot set_zoom a sleep 1000 press "shoot_half" sleep 1000 shoot release "shoot_half"
if get_mode = 0 then goto "in_rec" sleep 1000 set_record 1:wait_rec sleep 100 if get_mode <> 0 then goto "wait_rec":in_rec
On the A480 it is interesting; if I use set_zoom X with the variable X set to 2, the script runs about half the time and the other half the time it crashes miserably and the camera shuts down. In the instances where the camera shuts down, the zoom has an initial quick zoom out and then seems to continue to zoom out in slow motion until the camera turns off.
Started by xylene2301 Script Writing
Started by yardleydobon LUA Scripting
Started by gabriele.forni RAW Shooting and Processing
Started by Bernd R Feature Requests
Started by waterwingz General Discussion and Assistance