get_shooting is the command you need. If the shooting is in progress get_shooting returns 1 else 0. When using scripts I would switch off the image review.msl
The 'click "button" ' does not seem to register. Any thoughts?
If I run the following: shoot :wait if get_shooting then goto "wait" endif click "button"The 'click "button" ' does not seem to register. Any thoughts?
Quote from: sas4740 on 01 / August / 2011, 13:43:10The 'click "button" ' does not seem to register. Any thoughts?What "button" do you use in your script ? --> http://chdk.wikia.com/wiki/UBASIC/TutorialScratchpad#Camera_Operation_Commands
Quote from: sas4740 on 01 / August / 2011, 13:43:10If I run the following: shoot :wait if get_shooting then goto "wait" endif click "button"The 'click "button" ' does not seem to register. Any thoughts?shoot actually takes care of waiting on get_shooting for you already, you only need a get_shooting loop if you are doing the key presses yourself. If some additional delay is needed, you'll have to have a fixed sleep for that.What camera are you using ?
:loopa=get_shootingif a=0 thenclick "shoot_full"endifgoto "loop"end
Started by mattkime LUA Scripting
Started by zeno General Discussion and Assistance
Started by gvanhau General Help and Assistance on using CHDK stable releases
Started by rmackay9 General Discussion and Assistance
Started by kyndal « 1 2 3 » Script Writing