I nedd some help

I having trouble learning this whole scripting language. What I am trying to do is activate systems preferences and set the brightness setting to 100%. But whenever I try and script it I get nothing but errors. Can anyone help me?

Thanks

LEE

This should be posted in the OS X forum. Search over there for references about UI scripting. That is what you’ll need to do.