Using Filemaker pro advanced.
I have an invoice database.
I want to make a script that will save the invoice as a pdf and name it with the invoice number & company code.
I've achieved that, but I can only save it to my desktop using the (DesktopPath) code.
How do I make it save the pdf to a specific folder on my mac?
Set Variable [$filePath; Value:Get ( DesktopPath ) & INVOICES::invoiceNumber &" " & Clients table::CoCode & ".pdf"]
Save Records as PDF [Restore; No dialog; "$filePath"; Current record]