The strange thing is, that some of the click() and wheel() simply get lost, although I have long sleep() between the calls.
#undef CAM_KEY_PRESS_DELAY#define CAM_KEY_PRESS_DELAY 120
I am running SX200IS with the newest build. Some time ago I had a much older CHDK installed, and everything worked well. Also the display is not updated reliable any more, sometimes it simply stucks while the script is still running. Is there any chance to find out what the reason for it might be?
Hey thanks a lot! It took me more than 6 hours to deal with that thing. Actually Ione moment after posting this I stumpled upon press() and release(), I did not know them until now. I wrote my own button() function which uses press and release with some delay inbeteween, now it works like charme.
In the end I had some more issues with it. The press/release workaround did not work when sending them as a command-chain via ptp, so in the end I redefined the static values for the delay as you suggested. Thanks for that!
Started by Piszny RAW Shooting and Processing
Started by Microfunguy « 1 2 » General Discussion and Assistance
Started by hokolomon « 1 2 » Script Writing
Started by Razor512 « 1 2 3 » Script Writing
Started by Karmaschinken General Help and Assistance on using CHDK stable releases