noob Q: After loading a script, how to unload or revert to default / no script? - General Help and Assistance on using CHDK stable releases - CHDK Forum
supplierdeeply

noob Q: After loading a script, how to unload or revert to default / no script?

  • 6 Replies
  • 9909 Views
Advertisements
Hi folks,

CHDK is awesome and so are many of you! I'm enjoying a lot of time taking this all in.

I'm wondering about this - after I load a script from my card, how can I unload it? Restoring defaults will accomplish this, but loses all the other settings I may have specified.

I didn't try it, but would it work to make an empty file / script and call it default.bas and load that in lieu of whatever is currently running?

Thanks for any help you can offer-

« Last Edit: 07 / May / 2008, 07:49:36 by clevermonkey »

*

Offline vine

  • ***
  • 124
  • A560
    • my chdk page
Why would you ever want to "unload" a script? Just leave the alt mode and the script will be disabled.
my photo map

my chdk page with tutorials, scripts and more

>> finally back from vacation (was a bit longer than intended) <<

Hmm. I guess that makes sense. I suppose I was looking for parity in my life... If I load it, I need to unload it and get back to my baseline :) .

I think I hear you saying that there's no way to do this, and that I shouldn't be wanting to do it in any case. I'll accept that with serenity.

Thanks for a quick response!

*

Offline fbonomi

  • ****
  • 469
  • A570IS SD1100/Ixus80
    • Francesco Bonomi
If you REALLY want to, delete (or rename) the script from the SD card, so that at next boot CHDK won't find it and will revert to the default script.

but ... it's definitely not worth the hassle.


*

Offline fudgey

  • *****
  • 1705
  • a570is
Put a simple script that does nothing on your card and load it if you don't want anything to happen when you accidentally start the script... which is something beginners do very often, at least I did.

Hey there,  I realize this is an old discussion.  Just wanted to chime in and show my support for clever monkey's question.  I believe there are good reasons for unloading a script. 

For example I like to take time lapse shots.  I also like to take long exposure shots at night with a shutter speed of 100+ seconds.  If I have loaded an intervalometer script earlier in the day there is no way to access shutter speed overrides and NOT access the intervalometer script, well, without changing memory cards or physically removing the script from the memory card.  I could change the intervalometer parameters to 1 picture and 0 interval but the script still takes time to run and process in the background which can lead to lengthy time periods of waiting for the camera.

It seems logical to me that there should be a way to unload a script so that it doesn't bog down camera processing time between shots, if overrides need to be accessed apart from scripts.

Does that make sense?  Thanks in advance for any input.
-Nate

*

Offline reyalp

  • ******
  • 14119
For example I like to take time lapse shots.  I also like to take long exposure shots at night with a shutter speed of 100+ seconds.  If I have loaded an intervalometer script earlier in the day there is no way to access shutter speed overrides and NOT access the intervalometer script, well, without changing memory cards or physically removing the script from the memory card.
This is not correct.

Pressing the shutter in alt mode *always* runs a script. That's what it does, it has no other function. If you haven't selected one, it runs one that's hard coded in CHDK. You cannot take a picture in alt mode without running a script. To use overrides, you set your settings in the menu and then leave alt mode to actually shoot. Having a script loaded does not affect normal function, aside from using a very small amount of memory.

If you really want to revert for the default script, you can load default.bas from the chdk script directory (or any zero size file).
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal