CHDK Wiki
Register
No edit summary
No edit summary
Line 13: Line 13:
 
* Enter the [[CHDK_firmware_usage#Script_menu|script menu]], load the script, adjust the parameters to your liking and leave the menu.
 
* Enter the [[CHDK_firmware_usage#Script_menu|script menu]], load the script, adjust the parameters to your liking and leave the menu.
 
* While still in [[CHDK_firmware_usage#.3CALT.3E_mode|<ALT>]] mode just press the {{button|shutter}} button and the script will start. A [[CHDK_firmware_usage#Script_mini-console|mini console]] will be displayed while you run the script.<br>
 
* While still in [[CHDK_firmware_usage#.3CALT.3E_mode|<ALT>]] mode just press the {{button|shutter}} button and the script will start. A [[CHDK_firmware_usage#Script_mini-console|mini console]] will be displayed while you run the script.<br>
:Note: It's best to turn off ''Review'' in the normal camera menu. Other settings like "x sec" or "hold" can interfere with the execution of scripts.
+
:Note: It's best to set the ''Review'' parameter in the normal camera menu to "off", other values like "x sec" or "hold" can interfere with the execution of scripts.
 
* You may interrupt a running script by just pressing the {{button|shutter}} button again. Or pause a running script by exiting <ALT> mode, if paused the script will resume right where it left off when re-entering <ALT> mode.
 
* You may interrupt a running script by just pressing the {{button|shutter}} button again. Or pause a running script by exiting <ALT> mode, if paused the script will resume right where it left off when re-entering <ALT> mode.
   

Revision as of 22:38, 26 June 2008

Script

The Script Menu

Script

Running a Script - Exposure Bracketing


The CHDK allows you to automate your camera by running "scripts", small and simple programs written in a short-hand version of BASIC. There are scripts for exposure bracketing, focus bracketing, intervalometer and many more.


(What's that?)


How to run a script:

  • Download or write your own script and place it in the CHDK/SCRIPTS/ folder of your SD-card, (name and extention are not important).
  • Enter the script menu, load the script, adjust the parameters to your liking and leave the menu.
  • While still in <ALT> mode just press the shutter button and the script will start. A mini console will be displayed while you run the script.
Note: It's best to set the Review parameter in the normal camera menu to "off", other values like "x sec" or "hold" can interfere with the execution of scripts.
  • You may interrupt a running script by just pressing the shutter button again. Or pause a running script by exiting <ALT> mode, if paused the script will resume right where it left off when re-entering <ALT> mode.


You can download pre-made scripts here:





  • User Written Scripts - Discussion ... Posts about: Writing your own scripts, comments about scripts on this page: problems, bugs, improvements, help converting them to other cameras, etc.
  • Links to Other Scripts Found on the Net!
If you have found any interesting scripts for CHDK out there in net-land, please share their links here. If enough are added or found we'll add another page or list them with the other user-written scripts here in CHKD-Wikiland.
[waycool_script link placeholder]


If you want to modify existing scripts or write your own:

Scripting Tutorial Discussion ... Posts about help with scripting syntax, unique uBASIC problems found, tutorial sections that need help, etc.