Quote:
Originally Posted by DustyPorViva
Wouldn't you just detect when the 'Apply' button was clicked instead?
|
You can change things, and click the X on the window and those changes still save. I imagine the OK button just closes it as well.
But really why just check the window, when you can check an exact feature. If your script only cares about light effects:
PHP Code:
// Another case where I don't know the name :P
LightEffectsEnabledCheckBox.onAction() {
// Do stuff.
}