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

Scripts to create and attach docs to emails

Featured Replies

Does anyone know how to have FMP create a doc automatically from a field's contents, and then attach it to an email? (I can do the email part, just need to know how to have FMP auto-create a doc, preferably Word or PDF, from a text field).

Also, once it's created, the best way to name, identity, and attach the newly created doc to the email?

Trying to get this running on OSX (10.2.3), Email, and FMP6

If anyone has experience with this, that would be great. Thanks.

For OS X, check out the thread...

http://www.fmforums.com/threads/showflat.php?Cat=&Board=UBB20&Number=45677&Forum=All_Forums&Words=Creating%20a%20PDF%20w%2Fapplescript&Match=Entire%20Phrase&Searchpage=0&Limit=25&Old=1year&Main=45677&Search=true#Post45677

  • Author

Thanks, that info was handy. I still need to know if it's possible to create a script (in FMP or applescript) to automatically attach the created file to an auto-generated email, all from within FMP.

I can take care of the auto-generated email, just need to find a way to attach a file to said email (automatically).

all ideas welcome.

Thanks.

You can just save your attachment to the same location everytime and

send using Send Mail script step. Alternatively, you can use applescript

to add the attachment to a Mail message. [For an example, look for the

Create New Mail Message.scpt script in the Library:Scripts:Mail Scripts

folder on your hard drive.]

the way I do on Mac OS8.6 with FM Pro 5.5 is printing the file in pdf format. Without dialog the file will always be saved to the same specified name in the same specified folder.

Then I get the function "AttachAssign" of SMTPit to get the path to the file and the rest of the script is executed using SMTPit.

So I do need 2 plugins. I tried within FM but encountered some problem with the set attachment included in the function send mail of scriptmaker. See threads on the forum :

Clickhere

You can just save your attachment to the same location everytime and send using Send Mail script step. Alternatively, you can use applescript to add the attachment to a OutLook Express message.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.