Oh, in case anyone is curious, here is the AutoIT code for the dimming toggle function. You will need to use Powerstrip to create a DAY and a NIGHT setting (change contrast/brightness values to your liking for each mode) and then assign a hot key to each one as follows (or change the keystroke in my script to match yours)
=> night: ctrl-alt-;
=> day: ctrl-alt-'
Code:
; Definition:
; 0 = night
; 1 = day
$var = IniRead("config.ini", "STATUS", "LastMode", "1")
If $var=1 Then
;switch to NIGHT
Send("^!;")
IniWrite("config.ini", "STATUS", "LastMode", "0")
Else
;switch to DAY
Send("^!'")
IniWrite("config.ini", "STATUS", "LastMode", "1")
EndIf
EDIT: AutoIT rules!

Originally Posted by
justintime
David,
Is there any way to associate a button to an application or script? To be clear, I do NOT want to EMBED an application... I just want it to run! (it is a self executable script that I created in AutoIT).
The script I created toggles between 2 different brightness/contrast modes that I configured through powerstrip. Works beautifully, but I cant find a way to 'execute' it from within CF.

Bookmarks