Hi Ching,
Here is what I have done but the loop breaks after the first letter in the
string. Where have I gone wrong?
Var2=".gif"
Var3="bal_"
str= Field("First Name")
for (counter = 0; counter <= str.length; counter++)
{
chr = str.charAt(counter)
return Resource(Var3 + chr + Var2)
}
Brian
----- Original Message -----
From: "Ching Yue" <[EMAIL PROTECTED]>
To: "FusionPro Users Forum" <[email protected]>
Sent: Tuesday, October 23, 2007 4:16 PM
Subject: [fusionpro] RE: switch text to images
Hi Brian,
You could use a loop that goes through each character of the first name,
make a string that has that character plus the string ".jpg" to get the
image name.
You will end up with a list of different image names.
You can then use this list as the image file names.
Hope this helps.
Ching Yue
Printable Technologies, Inc.
-----Original Message-----
From: Brian White [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 3:11 PM
To: FusionPro Users Forum
Subject: [fusionpro] RE: switch text to images
Hi Mark,
Thanks for the help. What I was looking for is if a person's first name
is "Dan" what would print would be three images that would correspond to
each letter of the name (ie: "a" = a.jpg, "d" = d.jpg, "n" = n.jpg).
Rgds,
Brian
----- Original Message -----
From: "Mark Layton" <[EMAIL PROTECTED]>
To: "FusionPro Users Forum" <[email protected]>
Sent: Tuesday, October 23, 2007 2:16 PM
Subject: [fusionpro] RE: switch text to images
if (Field("Position") != "" && Field("Role") != "")
{
return Resource("bullet");
}
if (Field("Position") != "" && Field("EMail") != "")
{
return Resource("bullet");
}
if (Field("Role") != "" && Field("EMail") != "")
{
return Resource("bullet");
}
return "";
rule i wrote this morning - you could do the same - that is checking
various txt fields if empty and returning a graphic
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 23, 2007 10:38 AM
To: FusionPro Users Forum
Subject: [fusionpro] switch text to images
Is it possible to read a string of text from a data field and use images
based on the letters in the text field?
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro
Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--
This O'Neil Printing message may contain confidential and/or proprietary
information,
and is intended for the person/entity to whom it was originally
addressed.
Any use by others is strictly prohibited.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Calling all FP Web Users!
Do you have a question or lots of knowledge to share about FusionPro
Web?
If so, join our Printable Web to Print Users' Forum today!
Send email to [EMAIL PROTECTED] to find out how!
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
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
--