Hello Forum its me,
Trying to answer my own question I found this old email response from the
knowledgeable David Sweet and he appears to have been addressing a very
similar question.

David wrote...

"Try this one ...


var pathName = "..\\resources\\";
var x = new FusionProResource(pathName + "MyFile.pdf", "graphic");
    x.name = (pathName + "MyFile.pdf");
    x.pagenumber = 2;
if (x.exists) {
    return x;
} 

This will return the second page of a pdf file named "MyFile.pdf". 
Sometimes we have a field in our instance file that lists the pdf name and
we parse out the page that we need when necessary.  


I tried creating a rule from the script that he included and changed the
"MyFile.pdf" to my actual resource pdf which is "X01.pdf", but I get this
error message 

Error: In CreateResource(), resource "..\resources\XO1.pdf" does not exist

Using variables and creating pathnames is a bit fancy for me so I don't know
where to go from here.  Still searching, thanks.

Dan



-----Original Message-----
From: Dan Parisen [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 07, 2007 1:38 PM
To: FusionPro Users Forum
Subject: [fusionpro] Multiple Page file template question

Hello Forum Folks,
I have a template with a drop down library of PDF files with anywhere from 1
to 4 pages for the user to choose from.  I need the template to function so
that when the user chooses for example a 4 page file that it will then
preview all four pages in sequence.  

Right now I have a multiple page template but what is happening is that when
I choose any of the multiple page files it is repeating page 1 multiple
times instead of giving me page 1, page 2 and page 3, etc. sequentially.  I
have utilized unused body pages which are triggered based on a users choice
but this is different - I want the user to simply select the file he wants
from the drop down and regardless of how many pages it is to see an accurate
proof.  Any help will be appreciated.  Thanks.

Dan Parisen
J&M Reproduction




--
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
--


--
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