I just noticed that it should be possible to set the playback-switch. Any request on this one?
Huh, I wonder what that is. A secret setting on the mode dial that I never knew was there.
For going to playback mode from record, only line 3 changes when the playback switch is momentarily pressed.
For cross-camera compatibility, wouldn't it be best to allow any input number for the command, then each camera could use the full range of what was available. Each series would only need its own little reference list (like these) of what number means what.
click "mode_dial" xpress "mode_dial" xrelease "mode_dial" x
Here's a test for dialmode-support. It works on* A720, 1.00c* A570, 1.00e + 1.01a(out of time for today, so no a620 or s3, sorry).download: (bin & src) zSHARE - dialmode-test.zip
I tried the a570is 1.00e build, your test script worked perfectly. I added a couple of shoot commands to it, and the camera really seems to shoot in those modes. Nice work!
I first put your script in a subdirectory under scripts/ but I noticed that the file browser (both script selection and the standalone one) is somehow broken.
What? You mean you're going to let some stupid little aliens be smarter than you? See, this is why they always get to invade other planets. They're smarter. Here's your chance to prove them wrong.
I don't know enough about the kind of programming language that you do to know what can or can't be done.
It was just an idea. I recall when trying to help someone with a script we had to refer to a look-up table in the code somewhere for aperture vs. focal length (model dependent). So I thought the same was possible.
Well, my main thinking of the need for click "mode_dial" (instead of just press) was only useful for the play/record toggle on S-series. As that's only a quick press to engage it/change it.Maybe for S-series extra commands could be made for click "playback" and click "record", then it wouldn't ruin your plan?
But as far as writing scripts is concerned, it would be MUCH better to have the mode chosen by a variable than a hard-coded label or number.
My code is based on #269 (+/-2) with some changes I made to test long filename support for DryOS (which is still unfinished) and a little stuff I tested for Microfunguy. It's possible that I broke something.If you can compile chdk yourself, merge platform/a570/kbd.c, include/keyboard.h and core/kbd.c into the current release. No other files were changed for dial-mode control.
Started by Jim
General Discussion and Assistance
Started by J-W
Started by outslider
Started by edisontan
Started by C0NFUS4TR0N
General Help and Assistance on using CHDK stable releases