Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Naming PDF File

Featured Replies

Ok, I've scripted FMPro to print a file as a PDF, it does so and saves it onto my desktop.

The name is the name of the file, ie "Sales Line Item"

I want the name to automatically be my field "invoice ID#" If I could put text infront or behind that great, but the key thing is the name being the invoice number.

Then I want to script it to save that file, not to my desktop but to a folder that I designate.

I spent a day search different plug ins and script but have not found anything yet and beleive that FMPro can do anything.

If I can't do this I might have to start using QuickBooks, UGH!

Joseph

Print the file to disk as a PDF. Copy the file to another you designate, using Send Message. Then print that file using Send Message, again.

  • Author

I'm not sure I follow. What is Send Message, I can't seem to find it as a FMPRo Scripting step or AppleScript

On Mac OS X you have access to a built-in PDF printer, available within FileMaker, in the Print step dialog, Save as PDF.* You can therefore create a FileMaker script to save a PDF directly to your desktop.

*I believe this is there by default in Jaguar; it is in Panther. If not, let us know. There is a way to create it.

This is for a single-user file. A client on a multi-user file cannot export to "the" desktop directly, because each user has his own desktop. This is handled automatically by the OS, and can be found by AppleScript, but not by FileMaker, who only knows fixed paths.

There are folders which every OS X computer has, usually in the same place. One which all users have access to is the "Users/Shared" folder. So you can export from FileMaker to that, and AppleScript can find the pdf file and move/rename it.

Printpdfonly.zip

josephkola: I just checked--Send Message is only available for Windows! So do as Fenton says.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.