well j13l ... the scripts are working very well on your S5IS?
here is how my SX110 IS reacting:
@zoom-in, 4" exposure time, the camera starts exposure, zooms-in, reach the max zoom-in then start zoom-out (set_zoom(0)), even if the exposure time was not finished. i think thet the sequence
repeat
sleep(1)
until get_shooting() ~= true
helps for longer exposure.
@zoom_out, my camera start zooming-in and it crashes at maxim zoom. the LCD turns off, the lens remains in max zoom position, the protective device over the lens remains open, and i need to press the on/off button to switch on the camera.