Adding an automation object

A

Anthony

I know how to programmatically add an automation object using "References.
Addfromfile "object". However, I don't know what commands you would use to
FIRST test to see if the object is already there before adding. If I add an
automation object that already exists, it gives me an error. So I want to
test to see if it already exists. Something like:

IF Automation object doesn't exist Then
Add it
Else
do nothing.

Thanks
 
Top