Thanks Greg. I like that code better as it would be good for all outputs.
My big question is, where do you find all the BIG words like "IsOutputActive".
Do you just make them up and see what happens?
Every time I get help programming a script it seems to come with a new, as far as I can find, undocumented word.
Where can I find the "Word List"? Once I see the "Word" it is not hard understanding what it does.