shoot error. When I terminate shoot with a semicolon to allow more commands on one line, it fails.
QUESTION: What resources do you currently have available that would allow me to do this? Or something equivalent? Could you please give me an example using your currently available resources? I am open to other better suggestions than my pseudocode.
shoot -tv=2 -sv=200mdl -fmatch=%.[JD][PN]G$ DCIM <path to download to>rm -fmatch=%.[JD][PN]G$ -nodirs DCIM
!cli:execute('shoot -tv=2 -sv=200');cli:execute('mdl -fmatch=%.[JD][PN]G$ DCIM <path to download to>');...
"Note this does not do any error checking"
This parameter would add the ISO conversion so that -sv values can be translated that we discussed earlier....And at the beginning of shoot somewhere ..... sv = map_iso(sv, camera);
Can you please give me your thoughts?
function myshoot(tv, av, sv, destdir) !cli:execute('shoot -tv=tv -av=av -sv=sv') !cli:execute('mdl -fmatch=%.[JDC][PNR][G2]$ DCIM destdir') !cli:execute('rm -fmatch=%.[JDC][PNR][G2]$ -nodirs DCIM') end
> !myshoot(1/8,5.6,400,'C:\')error: compile failed:[string "myshoot(1/8,5.6,400,'C:\')"]:1: unfinished string near '<eof>'> !myshoot(1/8,5.6,400,C:\)error: compile failed:[string "myshoot(1/8,5.6,400,C:\)"]:1: '<name>' expected near '\'What am I doing wrong?
Help ....... here is my crude attempt ..... the reason why it's crude right now is that I have to concentrate on getting the basic functionality working so I can do the next phase which is integration testing in the camera-instrumentation control platform. I just need something (a single call) to work for now.Code: [Select]function myshoot(tv, av, sv, destdir) !cli:execute('shoot -tv=tv -av=av -sv=sv') !cli:execute('mdl -fmatch=%.[JDC][PNR][G2]$ DCIM destdir') !cli:execute('rm -fmatch=%.[JDC][PNR][G2]$ -nodirs DCIM') endWhen I say variations of !myshoot(1/8,5.6,200,"C:\") I get these kind of messages:> !myshoot(1/8,5.6,400,'C:\')error: compile failed:[string "myshoot(1/8,5.6,400,'C:\')"]:1: unfinished string near '<eof>'> !myshoot(1/8,5.6,400,C:\)error: compile failed:[string "myshoot(1/8,5.6,400,C:\)"]:1: '<name>' expected near '\'What am I doing wrong?
cli:execute('shoot -tv='..tv..' -av='..av..' -sv='..sv)
cli:execute(string.format('shoot -tv=%s -av=%s -sv=%s',tv,av,sv))
cli:print_status(cli:execute(....
Started by smilem General Help and Assistance on using CHDK stable releases
Started by SticK « 1 2 ... 70 71 » Creative Uses of CHDK
Started by SticK CHDK Releases
Started by andrew.stephens.754365 General Help and Assistance on using CHDK stable releases
Started by reyalp RAW Shooting and Processing