. - Script Writing - CHDK Forum supplierdeeply

.

  • 3 Replies
  • 2630 Views
*

Offline PS

  • ***
  • 157
  • A610 1.00f
.
« on: 20 / February / 2008, 20:07:40 »
Advertisements
.
« Last Edit: 01 / February / 2009, 13:14:43 by PS »

Re: Help: simple self-timer with unlimited number of shots
« Reply #1 on: 20 / February / 2008, 22:12:09 »
Deleted
« Last Edit: 22 / April / 2008, 12:35:20 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PS

  • ***
  • 157
  • A610 1.00f
.
« Reply #2 on: 21 / February / 2008, 11:05:02 »
.
« Last Edit: 01 / February / 2009, 13:14:27 by PS »

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: Help: simple self-timer with unlimited number of shots
« Reply #3 on: 21 / February / 2008, 13:32:28 »
Why
Code: [Select]
for n=1 to a
click "shoot_full"
next n
end
takes only 1 shot?

Because the script makes the first click to start the shot, and the rest 'clicks' are in the time while the picture is taking. The 'shoot' command waits for the process is finished, but 'click' does not.
Try inserting 'sleep ###' command after the 'click' command and play with the delay.
« Last Edit: 21 / February / 2008, 13:34:11 by GrAnd »
CHDK Developer.