I am still using 4Dwrite and need to eventually convert to 4DwritePro but did 
not find the time to start this yet. I have a process on the server ( 64 bits) 
that send email containing a 4Dwrite document. Since I am on 64 bits.  I cannot 
use any of the old 4D write command. So I am converting my 4Dwrite template to 
4DwritePro and this worked just fine.

wpArea:=WP New([EMAIL_TEMPLATE]TEMPLATE_)                       
ST SET OPTIONS(wpArea;ST Expressions display mode;ST Values)
WP EXPORT VARIABLE(wpArea;$str;wk mime html)

Now I want to simply find and replace some text in the 4DwritePro document 
before exporting in mime html. I am looking for a simple find and replace (WR 
find in the old 4D write). I have spent more than 2 hours trying to find a way 
with the documentation without success. I know this should be obvious but 
cannot find it. So I am asking for help as I cannot lose all this time on a 
simple command. 

Also anyone can anyone refer me a good and complete 4DwritePro example so I can 
learn a bit quicker. Learning from the documentation is simply a waste of time.

Luc Devar
Thanks,

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to