M
macroapa
Hi,
I have a list of fonts and what I want to do is run some code over the
open document to see if it contains any fonts that are NOT in my list
and then return TRUE if it only contains fonts in my list of
acceptable fonts and FALSE if it contains other fonts,
I guess I need to hold the 'acceptable' fonts in some form of array
and then have a loop that checks the first font in the document to see
if it is in the array and if that passes then move onto the next font
it finds in the document.
I reckon I could probably handle the checking within an array, but I
dont quite no how to find out what fonts are in the open document in
the first place.
Any help would be much appreciated.
Thanks.
I have a list of fonts and what I want to do is run some code over the
open document to see if it contains any fonts that are NOT in my list
and then return TRUE if it only contains fonts in my list of
acceptable fonts and FALSE if it contains other fonts,
I guess I need to hold the 'acceptable' fonts in some form of array
and then have a loop that checks the first font in the document to see
if it is in the array and if that passes then move onto the next font
it finds in the document.
I reckon I could probably handle the checking within an array, but I
dont quite no how to find out what fonts are in the open document in
the first place.
Any help would be much appreciated.
Thanks.