Lua strangeness

Started by garry23, December 18, 2016, 09:21:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

@A1ex

I thought your half shutter trick was working, but after testing I'm getting strange behaviours in my script.

I put the half shutter 'tweak' here:

function my_shoot() -- to grab an image
camera.shoot(false)
key.press(KEY.HALFSHUTTER)
    msleep(100)
key.press(KEY.UNPRESS_HALFSHUTTER)
end


If I don't have the tweak in my script AND I have Canon review off, all seems to be OK.

If I add the above half shutter trick, as above, the image flashes on and off and, more importantly seems to terminate the script prematurely, but with no error messages.

For now, I will therefore use the script with the Canon review off and not use the trick :-)