max9 gamma and lut adjust script

i search many way with gamma enable script in max
but there is no good way in max
i would like to use

(UIAccessor.GetWindowText hWND ............

winodw handle

with that , i would like to acess preference
and i would like to enable gamma , affect color etc ,...
is that possible ?