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.

Featured Replies

I created a script that creates a .PDF file in a specific location using a variable ($FilePath) to the file path:
"filemac:/Macintosh HD/Users/me/Documents/Letters/" & "You_" & List::CourseFaculty & "_" & List::CourseQtr & List::CourseYear & ".pdf"

This works fine and the PDF is created in the location specified. However, I am trying to figure out a way to script the Send Mail step (at a later date) to go to the $FilePath and attach the file created based on the employee name (same as above). I tried to simply list the variable $FilePath in the attach > file path, but with no luck

 

Have you tried making your variable global? 

$$FilePath I stead of $FilePath? Just don't forget to clear the global variable when you don't need it anymore.

  • Author

Yes, but the same result. It may be a system issue. Even when I put in a direct path to an existing file, it appears to stall: It will add the recipients, but not the subject or message (or the attachment). If I uncheck the attachment box and run again, it will contain the subject and message.

Edited by crazybake
reran without attachment checkbox

That does not sound normal.

Are you running the script on a desktop or the server?

Also, do you have any plug-ins that could interfere?

  • Author

Just on the desktop and with no plug-ins. I am using Send Mail with a desktop client (not specifying the SMTP server) with Outlook 2016 and have not checked to see if there are any issues.

Is this running on a Mac or a Windows machine?

If you look at the profiles (left) it reveals that all off the posters are on a Macintosh, why?

Probably because the developer is on a Mac but that doesn't mean that the problem is happening on a Mac.  Also, Outlook is mentioned and Outlook is far more popular on Windows which makes me ask for clarification.

2 hours ago, Ted S said:

Outlook is far more popular on Windows which makes me ask for clarification

Outlook and FileMaker do not always play well together. Did your read the link posted by Agnes Riley?

1 hour ago, Lee Smith said:

Outlook and FileMaker do not always play well together. Did your read the link posted by Agnes Riley?

I did. In fact I experience the Outlook 32 bit vs 64 bit problem first-hand which is why I asked whether this is happening on Windows or Mac.

The author's original post suggests that it is a Mac problem (filemac:Macintosh...) but it doesn't hurt to confirm. Maybe he doesn't realize that Windows and Mac use a different syntax.

Create an account or sign in to comment

Important Information

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

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.