Jump to content

Font id script


Recommended Posts

Hi have found this script that lists the font id because I wanted to format my text style of drawing.

Run this script on any text and with the output add this to your text property node.

Thank to Jullian Carr

----------(Copy script below into a document script palette):---------------

{?1997 Julian Carr Design

This command returns the font ID number of a selected text block}

Procedure TextInfo;

BEGIN IF (FSActLayer<>NIL)&(NumSObj(ActLayer)=1)& (GetType(FSActLayer)=10) THEN Message(Concat('The Font ID Number is : ',GetTextFont(FSActLayer, 0))) ELSE AlrtDialog('Please select one text block of the desired font.');

END;

RUN(TextInfo);

----------------End of Script ----------------------

Edited by Alan Woodwell
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...