Created
February 2, 2010 01:53
-
-
Save martymcguire/292276 to your computer and use it in GitHub Desktop.
A script for handling USB Remote events on my Canon SD300 running CHDK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rem SETUP: | |
| rem * Place in CHDK/SCRIPTS/ on your SD card | |
| rem * Load the script in the Scripting Parameters | |
| rem menu and turn Enable Remote on in Remote Parameters | |
| rem | |
| rem USAGE: | |
| rem 1. Start the camera (and enable CHDK it doesn't autoload) | |
| rem 2. Switch to record mode and disable the flash | |
| rem 3. Switch to <ALT> mode and click Shoot to start the script | |
| rem 4. The camera should shoot whenever USB power is detected. | |
| title Remote button | |
| press "shoot_half" | |
| while 1 | |
| wait_click 1 | |
| if is_key "remote" then click "shoot_full" | |
| wend | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment