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'm getting stuck with a "where is the application?" dialog. Can anyone help me eliminate it and improve my script?

Thanks.

"tell application " & """ & "Entourage" & """ & "

On my computer it's "Microsoft Entourage"

  • Author

Thanks! Last thing with this script: multiple attachments! How should a second, third etc attachment be added to my emailattachment field? First attachment looks like this and works like a charm:

HD:Applications:FileMaker Developer 7:EmailImages:example1.jpg

Thanks.

I don't know. Looking at MS Entourage's AppleScript Dictionary, under class "message" I see:

attachment by numeric index, satisfying a test

Nothing about "as a list of alias", which you sometimes see if multiple files can be added.

Though, after the class "attachment" it says: plural form: "attachements"

So there are "attachments," but it doesn't say if you can put more than one on a message. I'd just try it.

attachments { alias "full file path", alias "another file path" }

and see whether it works. (Or just "file path", no "alias." I don't know, don't use Entourage.)

This is not written as in a FileMaker calculation; this is how it's written in AppleScript, or a Perform AppleScript step; which is how I do it; though either way is fine. But I'll leave the """ and

You could also look at http://www.macscripter.net, and search for "Entourage" in the ScriptBuilders section. There are lots of Entourage scripts there.

  • Author

ScriptBuilders was my first stop, not many scripts for the simple task of sending mail. By the way, a directory can be attached (which is helpful) - Entourage compresses it into an archive using your prefs. I'm trying to attach multiple files that will appear as individual files (i.e., display in a savvy email app).

Thanks again.

  • Author

Stringing along attachments isn't working - Entourage doesn't understand why it's getting a separator followed by (what it sees as) gibberish. Does anyone have anything to say about possibility of creating mail message with first attachment and running second script to ADD attachments one at a time?

Fenton - where can I find Entourage's Applescript dictionary?

Thanks!

You can find its AppleScript Dictionary, along with all other dictionaries (whether you want them or not :-] by opening Script Editor, then File, Open Dictionary... Unfortunately it shows practically every application on your hard drive, in a slowish list. Not bad once it all draws though. Or you can drag the Entourage app onto the Script Editor icon in the Dock.

I don't about Entourage. The ability to add mutiple attachments is not a new thing. You say "stringing along." Does that mean an AppleScript list? {"value1", "value2"} That's the only acceptable way to pass multiple values in AppleScript.

Compressing the files into one archive sounds like a good option. I don't know quite how to do that with AppleScript. Maybe someone does?

You know there's also a free email OSAX (Scripting Addition), also available at macscripter, named XMail. Then you don't really need Entourage. Of course, then it wouldn't keep the Out mails or anything. But if you're doing that in FileMaker anyway...

Here's what it can do. Notice "list of file specification" for list of attachments:

send mail

to a list of string -- the recipients of the mail

from string -- the author of the mail

subject Unicode text -- the subject of the mail

body Unicode text -- the body of the mail

SMTP server string -- the smtp server to send the mail (smtp.foobar.com)

[username string] -- your login if the server require an authentication

[password string] -- your password if the server require an authentication

[authentication plain/login/crammd5/anonymous/auto] -- the type of authentication mechanism to use

[ssl boolean] -- wether you want to use SSL encryption

[ssl verification verify none/verify peer] -- what kind of SSL verification to do with your certificates

[pem certificate file specification] -- where is your PEM certificate, can be left blank if using 'verify none'

[pem certificate directory file specification] -- where is your directory containin PEM certificate, can be left blank if using 'verify none'

[timeout string] -- abort after how many seconds ? (default is 60 seconds)

[port string] -- the port on which runs the SMTP server (25 is the default)

[cc a list of string] -- the list of cc recipients of the mail {cc1,cc2,

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.