New Script-Writer Needs Assistance... - Script Writing - CHDK Forum

New Script-Writer Needs Assistance...

  • 4 Replies
  • 3196 Views
New Script-Writer Needs Assistance...
« on: 28 / April / 2009, 20:54:55 »
Advertisements
Hi.

I just downloaded CHDK for my PowerShot A460.  My primary reason is to force it to start up in Burst mode for remote triggering.

I've written a very rudimentary script to do this - all it does is click the appropriate buttons to get the mode changed.  But I'm having a problem with the ending...

The last two lines of my script are...

exit_alt
end

When I do this, I get a message on the screen that reads - 'uBasic Line 16 parse error'

Now... when I remove the exit_alt statement, it works.  But since it remains in Alt mode, when I press the shutter button - the script starts again.

I figure I'm doing something wrong - I just don't know what it is.   :o

*

Offline reyalp

  • ******
  • 14118
Re: New Script-Writer Needs Assistance...
« Reply #1 on: 29 / April / 2009, 01:06:21 »
What version of CHDK are you using ?
Don't forget what the H stands for.

Re: New Script-Writer Needs Assistance...
« Reply #2 on: 29 / April / 2009, 08:13:19 »
This is the one I downloaded...

a460-100d-0.9.8-755

Is there another one I should be using...?  I'm *extremely* new to this.

*

Offline reyalp

  • ******
  • 14118
Re: New Script-Writer Needs Assistance...
« Reply #3 on: 30 / April / 2009, 02:07:17 »
No, that's the right version. I was thinking you might be using a very old version without exit_alt.
Don't forget what the H stands for.


Re: New Script-Writer Needs Assistance...
« Reply #4 on: 30 / April / 2009, 11:17:23 »
Turns out that it doesn't matter anymore.  I discovered that the A480 retains the programmed options - like burst mode - between uses.  I've already modified it for remote use, and testing will begin shortly.  I'll be keeping my A460 as a general-purpose camera, though I'll likely keep CHDK and play with it a bit.

Thanks for responding, though...

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal