I'm testing a script at work and for 99% of people (including me) it works fine - these people only have InDesign CS4 installed. However, people who have all the CS4 programs installed get an error when the script tries to execute this line of code:
var myFStylesAppFull = app.fonts.everyItem().fontStyleName;
Any ideas why this is happening?
I have checked your code and its not showing error here.
Please check OS version with working script OS version.
They probably have corrupt fonts.