Hey guys
I’m trying to click on the “Update Effect” button (Environment and Effects window -> Effects tab).
I used a script that shows the hwnd parent/child to know exactly the ID I have to use:
So I tried this:
UIAccessor.PressButtonByName 1118740P "Update Effect"
but it returns: false.
I also tried another way:
envEffectsDialog.Open()
env_hwnd = windows.getChildHWND 0 “Environment and Effects” parent:#max
a = UIAccessor.PressButtonByName env_hwnd "Update Effect"
print a
but it returns undefined
Help please! 
