Urgent! Please help!!!! - page 2 - Script Writing - CHDK Forum

Urgent! Please help!!!!

  • 11 Replies
  • 2535 Views
Re: Urgent! Please help!!!!
« Reply #10 on: 27 / February / 2012, 21:07:01 »
Advertisements
I played around with the EXIF tagger script tonight.  Its nicely done but ...  for tomari's application,  I'm not too sure how to get a usable script working.  The problem is, when he wants to "tag" a photo, the following steps would be necessary with any script :

1) Press the <ALT> key (or key sequence) to enter ALT mode.
2) Press the shutter button to launch the script
3) The script sets itself as ready for the next picture - puts the "!" symbol on the LCD and exits <ALT> mode.
4) Take the picture
5) Press the <ALT> key (or key sequence) again to enter ALT mode.
6) Press the shutter button to launch the script
7) The script "tags" the EXIF of the most recently taken picture, removes the "!" symbol from the LCD and then exits <ALT> mode.

Lots of key strokes to get a simple result.

However, if you just want to have a script running all the time,  the shutter button becomes unusable during that time.  You could use another key to trigger a picture under script control or a USB remote switch.   Using that method, you avoid all the going in and out of <ALT> mode stuff shown above.

Is this any easier ?



Ported :   A1200    SD940   G10    Powershot N    G16

Re: Urgent! Please help!!!!
« Reply #11 on: 28 / February / 2012, 03:05:15 »
I'm not sure, but maybe this would be possible - run script in ALT mode. Script before at each iteration checks wheter ALT mode is on or off and if ON then adds "!" on the screen, takes picture and adds tag to the picture. If ALT is off then just takes picture.

This way to switch behavior you'd need to just press ALT button. Seems good, however I'm not sure, wheter script can take a shoot out of ALT mode? Script itself runs out of ALT mode (for egzample I know it will display prints in console) but I've never tried take a shoot.
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics