Users from old forum should register again, the old credentials no longer are valid

Change Exposure with Key Binding.

Post Reply
histotechie
Posts: 1
Joined: Thu Nov 09, 2017 4:26 pm

Change Exposure with Key Binding.

Post by histotechie » Thu Nov 09, 2017 4:33 pm

Good Morning,

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
	
	}
Can someone help me get this functioning? The key binding is non-responsive.

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.

Change Exposure with Key Binding.

Advertisment
 

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest