CHDK Forum

Using CHDK => General Help and Assistance on using CHDK stable releases => Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes) => Topic started by: StevenD on 28 / March / 2009, 12:33:48

Title: Running Scripts on A570IS?
Post by: StevenD on 28 / March / 2009, 12:33:48
Is there any docs on how to run scripts on A570IS?

Tried to follow fe50's instructions for sx10 but did not work. http://chdk.setepontos.com/index.php/topic,2468.msg30870.html#msg30870 (http://chdk.setepontos.com/index.php/topic,2468.msg30870.html#msg30870)
"- select "BADPIXEL.LUA", press FUNC/SET
- start the script with the SHUTTER !
- wait until you see "press SET to save....."
- press FUNC/SET to store the badpixel.bin automatically in the right place"

When pressed shutter only took a photo.

Thanks

Steve
Title: Re: Running Scripts on A570IS?
Post by: fudgey on 28 / March / 2009, 14:36:55
A shutter press while in ALT mode starts the currently loaded script.

So, start up your camera normally, shortly press the alt key (whatever it is in your camera) to enter ALT mode and then fully press shutter.

You know you're in ALT mode when there's some text in blue background in the bottom part of the screen, unless CHDK for your camera has bugs/problems with screen refreshes.


The above will probably make the default script start unless you've managed to load another script. Pressing func/set while in ALT mode will bring up the script menu where you can load up another one and change settings for the currently loaded script. However, this menu has nothing to do with starting the script.


ALT mode is NOT like the ALT key on your computer. It's more like the CAPS LOCK key. Basically ALT mode is there for configuring CHDK, using some CHDK shortcut keys and for running scripts. It's not for everyday photography, and CHDK does most of its magic outside ALT mode.
Title: Re: Running Scripts on A570IS?
Post by: StevenD on 30 / March / 2009, 08:56:46
Hi fudgey,

This was my Newbie problem.  Found after much searching that I did not understand what badpixel.lua script really does. "Just run the script: it automatically takes 2 pictures, calculates the badpixel data and then it creates the badpixel.bin file. This procedure takes ~ 20-30 s of time, at the end of the process you can save the file with the SET button. " http://chdk.wikia.com/wiki/Badpixel_removal (http://chdk.wikia.com/wiki/Badpixel_removal)

Thanks for your help!

StevenD