Hi all,

I posted this question before and got a couple of helpful replies,
which I sincerely appreciate.


However, for the life of me, I can not get the
solutions suggested to work.

Using the exact method below, I get the following message:
"$file_name" can not be created on this disk.
Use a different name, make more room on the disk,
unlock it or use a different disk."

I am really unsure what is wrong as I can specify my desktop
as the file path in the script where you specify the filepath,
and use the same filename for the pdf, and it works fine--no error.

That suggests that my $fiel_name is generating an incorrect filepath,
but when I compare the filepath generated by the calculation,
to the one generated when I just select a file on my desktop,
they are the identical.

What am I doing wrong?

Thank you for any help.

Sue



On Jan 6, 2010, at 11:27 AM, Jeff Almquist wrote:

Hi Sue,

I accomplish this by first setting a variable ("$file_name"), with the following:

Case ( Abs ( Get ( SystemPlatform ) ) = 1 ; "filemac:" ; "filewin:" ) &
Get ( DesktopPath ) & your_file_name_calculated_from_record_data

Then I just use that "$file_name" variable as the "Output File Path List" in the "Specify output file" setting of both the initial "Save Records as PDF" step and any subsequent "Save Records as PDF" steps when I want to "Append to existing PDF".

Jeff

On Jan 6, 2010, at 11:06 AM, Sue wrote:

Hi Folks,

I have written some scripts that have a "Save Records as PDF" step and subsequent steps that also have the "Save Records as PDF" with the "Append to existing pdf" option selected.

I am able to use the script if I set the Specify Output File to a specific file name on a specific computer, but I need multiple users (using the file via Filemaker Server) to be able to use the script and have the generated pdf saved to the desktops on their own computers, and have the "append to existing pdf" steps then save to the file that was created on their computer.

I suspect there is a way to do this without individually identifying all their computers as options in the Specify Output File.

Can anyone tell me how to accomplish this, or refer me to a web page that explains how to do this?

Thanks very much for any help!

Sue

Reply via email to