Oct 08, 2013; 15:22
Witherell, Mary Beth
Re: [FMPro] FMPA12 (Mac) Saving a pdf to an external drive script step
have you tried formatting the external drive to Mac OS X Extended format? YOu can do this with disk utility. Most pre-formated external drives are NTFS.
On Oct 8, 2013, at 2:13 PM, jfleet.fmforums@hailmail.net wrote:
> For years I have an FMP script which created a pdf to a particular folder on my Mac, but recently I moved the folder to an external drive and, despite resetting the file path, the script won't work. Instead I get this message:
>
> "filename,pdf" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk"
>
> The external drive is marked "ignore ownership on this volume" so I don't think it is a permissions issue, and the drive has 100s of Gb spare. I can create the pdf manually into the folder but this is tedious.
>
> So here is the script which works, saving to a folder in the Documents on my main internal drive:
> _________________
>
> Perform Script [ =93PDF Name=94 ]
> Print Setup [ Orientation: Portrait; Paper size: 8.27" x 11.69" ]
> [ Restore; No dialog ]
> Enter Preview Mode
> Set Variable [ $filename; Value:XX Invoices 2010::PDF Name & ".pdf" ]
> Set Variable [ $filepath; Value:XX Invoices 2010::Invoice Path ]
> Set Variable [ $theFile; Value:"file:/" & Right(Get(DocumentsPath);Length(Get(DocumentsPath))-1) & "VAT & Tax/Invoice & Timesheet
> pdfs/Invoices 2012 =83/"& $fileName ]
> Save Records as PDF [ File Name: =93$theFile=94; Automatically open; Current record ]
> [ Document - Title: XX Invoices 2010::PDF Name; Compatibility: Acrobat 5 and later ]
> [ Pages - Number Pages From: 1; Include: Specific Pages; Start Page: 1; End Page: 1 ]
> [ Security - Printing: High Resolution; Editing: Any except extracting pages; Enable copying; Enable Screen Reader ]
> [ Initial View - Show: Pages Panel and Page; Page Layout: Single Page; Magnification: 100% ]
> [ Restore; No dialog ]
> Enter Browse Mode
>
> __________________
>
> Invoice path field contains: /Users/XX/Documents/VAT & Tax/Invoice & Timesheet pdfs/Invoices 2012 =83
>
> PDF Name field contains: 0755 XX-YY-26Mar13 (created by PDF name script)
> ____________________
>
> This script does not work, saving to an external drive:
>
> Perform Script [ =93PDF Name=94 ]
> Print Setup [ Orientation: Portrait; Paper size: 8.27" x 11.69" ]
> [ Restore; No dialog ]
> Enter Preview Mode
> Set Variable [ $filename; Value:XX Invoices 2013::PDF Name & ".pdf" ]
> Set Variable [ $filepath; Value:XX Invoices 2013::Invoice Path ]
> Set Variable [ $theFile; Value:"file:/" & Right(Get(DocumentsPath);Length(Get(DocumentsPath))-1) & "Volumes/G XX Work/VAT & Tax
> 2013/Invoice & Timesheet pdfs/Invoices J 2013/"& $fileName ]
> Save Records as PDF [ File Name: =93$theFile=94; Automatically open; Current record ]
> [ Document - Title: XX Invoices 2013::PDF Name; Compatibility: Acrobat 5 and later ]
> [ Pages - Number Pages From: 1; Include: Specific Pages; Start Page: 1; End Page: 1 ]
> [ Security - Printing: High Resolution; Editing: Any except extracting pages; Enable copying; Enable Screen Reader ]
> [ Initial View - Show: Pages Panel and Page; Page Layout: Single Page; Magnification: 100% ]
> [ Restore; No dialog ]
> Enter Browse Mode
> Set Zoom Level
> [ 150% ]
> ____________________
>
> Invoice path field contains: /Volumes/G XX Work/VAT & Tax 2013/Invoice & Timesheet pdfs/Invoices J 2013
>
> PDF Name field contains: 0783 XX-YY-08Oct13 (created by PDF name script)
> ____________________
>
> Would appreciate some help solving this perplexing problem as I have spent most of today trying various ways of solving it.
>
> TIA
>
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list FMPro
> FMPro@lists.lassosoft.com
> To unsubscribe, E-mail to: <FMPro-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <FMPro-request@lists.lassosoft.com>
Mary Beth Witherell
University of Virginia
Weldon Cooper Center for Public Service
meh4q@virginia.edu
#############################################################
This message is sent to you because you are subscribed to
the mailing list FMPro
FMPro@lists.lassosoft.com
To unsubscribe, E-mail to: <FMPro-unsubscribe@lists.lassosoft.com>
Send administrative queries to <FMPro-request@lists.lassosoft.com>
Oct 08, 2013; 15:10
jfleet.fmforums
Re: [FMPro] FMPA12 (Mac) Saving a pdf to an external drive script step