> What I need to accomplish:
> 1. Look for the signature and if it is there return it. (I have this
> working)
> 2. If it is not there return the name in the script font. (I have the
> formatted text, but don't know how to link the text rule to the
graphic
> rule.


You can do this quite easily. First, to make life even easier, ensure
that the file name for each signature is the same as the person's last
name. For example, Smith.jpg, Jones.jpg, etc. Also, the following
assumes that the images are in the same folder as your templaet:

1. Use a text frame instead of a graphic frame.
2. Write the following rule:

        SigPic = CreateResource(Field("Lname") + ".jpg","graphic",true);
        if(SigPic.exists)
                return '<graphic resource="' + SigPic + '">';
    
        else
                return '<f name="name of script font">' + Field("Fname")
+ ' ' + Field("Lname");

3. Make sure "Treat returned strings as tagged text" is checked in the
rule editor. 

________________________________


Rob Domaschuk
Training and Communications Developer


        The word 'politics' is made up of the words 'poli' meaning
'many'
        in Latin, and 'tics' as in 'bloodsucking creatures'.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!


Variable text on a curve and soft drop-shadows for variable text


LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade

New licenses available for $599 each at:
http://fusionpro.printable.com/store/

All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED]
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to