Cool! I knew there had to be a simple way. All the letters already
exist in Word so it should be a breeze to turn them into HTML. I
like this solution as it let's the user edit the letter if they later
need to. Thanks!
(Will read the current newsletter shortly regarding the merge option :-
Hi Shari,
Using the htmlText property is probably the way to go, but I just want
to point out the you can put text into a position in a field without
losing any formatting.
put "bla" into word 2 of fld x
put "bla" into char 1 to 4 of fld x
put "bla" before fld x
put "bla" after fld x
All t
Tereza Snyder wrote:
set the htmlText of fld "bodyText" to merge(the uFormText of field
"bodyText")
Presto!
Wow. That's cool.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
On Aug 20, 2008, at 9:20 PM, Shari wrote:
I'm more than willing to use actual HTML if need be, or create an
RTF file and have Rev open it, read it, replace the text, and paste
it into the card for printing. I've just never done any of this so
I'm kind of muddling.
I wonder if I could
Shari wrote:
I wonder if I could create the template letter in Word, have Word turn
it into HTML for me, and store the HTML file in a folder... have Rev
open the file, read it, change it, and paste it into the field, then print?
That's what I usually do. Create your styled text letter, using
The entire field loses it's formatting, not just the changed word.
Every word in the field becomes plain text.
I used: replace xyz with newText
I had put specific text that would frequently be updated into the
field, so I used placeholder text to swap out.
Basically what I'm trying to do is
Hi Shari,
Probably, Sarah wanted (or could have wanted) to write this:
put the textStyle of word 3 of fld "Formatted" into tStyle
put "new" into word 3 of fld "Formatted"
set the textStyle of word 3 of fld "Formatted" to tStyle
If you want to append text to a field, you can do this:
put number
On Thu, Aug 21, 2008 at 9:14 AM, Shari <[EMAIL PROTECTED]> wrote:
> If I've got a field with nicely formatted text, some bold, some underlined,
> etc., is there a way from within a script to change a word in that field
> without losing the formatting?
Untested, but how about storing the textStyle,
If I've got a field with nicely formatted text, some bold, some
underlined, etc., is there a way from within a script to change a
word in that field without losing the formatting?
Shari
--
Dogs and bears, sports and cars, and patriots t-shirts
http://www.villagetshirts.com
WlND0WS and MACl