Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - clubsoda

#1
Hello :)

I try to write a lua script that will simulate a halfshutter button press every 16 seconds (infinite loop) while the camera (6d) is turned on.
The reason for that is that i want the lightmeter to stay on in video mode. It is turning of after 16 seconds. I want to use it all the time so i tried to write a lua script.

Now comes the problem. I am a scripting noob  :'(

This is my script right now but it is not working as expected because nothing actually happens after the camera has loaded it (at least that works):


-- AutoHalfShutter by clubsoda
-- Simulates the HalfShutter button every 16 seconds

function autohalfshutter()
    while( true )
    do
       key.press(KEY.HALFSHUTTER)
       sleep(16)
    end
end




I hope someone could help me out and tell me what is wrong or even help me writing a working script for my problem.

PS: I know of the sticky shutter feature but it sadly interfers with my workflow

THX in advance :)