RE: [framescript-users] Conditional Catalog?
- View SourceHi Alex,
> -----Original Message-----you can make a new condition format:
> From: Alex Maynes [mailto:a_e_maynes@...]
> Is there any way to get a list of the conditions available to set in a
> document? I'd like to run a script to set specific conditions to
> "show" and all other conditions to "hide". I know I can build a list
> of conditions used in a document, but is there any way to set
> conditions that are not used?
New ConditionFormat Name('myCondFmtName') DocObject(vDoc) NewVar(oCondFmt);
To test, if a condition format already exists you can use:
Get Object Type(CondFmt) Name('Hidden') NewVar(oCondFmt) DocObject(vDoc);
If (oCondFmt = 0)
New ConditionFormat Name('Hidden') DocObject(vDoc) NewVar(oCondFmt);
Than you can set the condition format properties.