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.

Error or not error ?

Featured Replies

Hello,

I use ScripMaster and the SendEmail with  attachment script ;  I had no problems until I installed Printer Switch plugin myFMbutler. This pi creates the pdf file attached to the email; I get an error message (see screenshot). However the message is sent with his attachment and this explains the topic title !

What can I do to avoid that message ?

Thanks and regards

Noël

Capture d’écran 2016-01-16 à 11.49.24.png

What it means is that for some reason the function is expecting a file parameter which according to that tis empty, and Groovy doesn't know what to do with it. It can't tell whether what you are sending is a string or an actual file path

Have you amended the script at all?? Can you post an example of the code and how you are creating the parameters to pass to it?

 

  • Author

Hello John

I have not made any modification to the code of the script given in samples with ScriptMaster ; I just registered the function and defined a variable in fileMaker. After creating various folders (by other SM scripts as createFolderFile...) I generate the pdf file in PrinterSwitch. Finally the path  $pathPS looks like  on Mac :

Quote

/Users/ND/Documents/DATAS_FIGON/RECUS_DEP/2016/Lerda_Suzanne13_01_2016.pdf

Then I defined a variable as

Quote

SendEmailWithAttachments( loufigoun 2::mail_assoc ; producteurs 2::mail_producteur ; "Votre apport du " & depots 2::date_depot ; "Vous souhaitant bonne réception" ; "smtp.free.fr" ; $pathPS )

Every thing runs fine but that message ; indeed an error management at the beginning of the filemaker script avoids the message to appear... But I should be happy to know why it appears !

Noël

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.