Skip navigation
Currently Being Moderated

Find and Replace text and change font help needed.

Sep 9, 2013 8:32 PM

Tags: #framemaker10 #extendscript #scripts

I am completely new to Scripting and I'm sure this is quite simple but I do not know where to start.

I have a FM template that is populated with "raw" text from a database.

Within the text are several characters (+, @, *, $, # and %).

I need to replace these characters with symbols from a different font e.g.:

Each instance of:

"+" to be replaced with Wingdings 2 font - Lowercase t

"@" to be replaced with Wingdings 2 font - Lowercase u

"*"  to be replaced with Wingdings font - Uppercase E   etc.

 

I would like to automate the process and believe a script would enable me to do this.

 

I have tried looking on the forum, but can not find anything suitable to help me (or I'm looking in the wrong place).

 

Any help would be greatly appreciated.

 

Cheers

 

Kev

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points