getting filename properties using word VBA

F

FotoArt

hello everyone

I need to execute some code after checking the font used in the filename.
(it may be in arabic or english)
How do I get this infomation. I couldnt find it in FSO.
I need at least know the filename is not written in english.

Any help in the right direction will be very much appreciated.

thanx
ahmed
 
P

Peter Jamieson

It isn't really the font you need to check, but you probably need to
check each character in the file name to see if it falls into the
Unicode character ranges used by Arabic - e.g. if any of the characters
is in the range 0x060C to 0x06ED or 0xFB50 to 0xFDFB at least some of
the filename is in the Arabic script.

Peter Jamieson

http://tips.pjmsn.me.uk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top