I am trying to create a script in which I can press a key combination (ex. Ctrl-8) and change the exposure compensation from 0 to -3, capture the image, and change back to 0.
This is where I am at with my limited coding knowledge:
Code: Select all
set view_exposure 0
set pict_exposure -3
KeyPress <Control-Key-8> {
dcc set exposurecompensation $pict_exposure
dcc capture
after 1000
dcc set exposure compensation $view_exposure
}
I would be happy to break this into two parts in which two separate key bindings change exposure compensation between 0 and -3. Either would make work more efficient for me.
Thank you.