Jump to content
Server Maintenance This Week. ×

script to send text from FMP field via email


This topic is 6160 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I need a script to send an email to a person and take, at random, the text out of a specific field in a FMP 6 data base.

I am not good at scripting and so far my attempts have failed.

Does anybody have any ideas?

Here is the mail script I use that works fine to sent fixed text:

set theSubject to "Subject" --change me

set theBody to "Body" --change me

set theTarget to "[email protected] " --change me

tell application "Mail"

set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody}

tell newMessage

make new to recipient at end of to recipients with properties {address:theTarget}

set sender to "Me " --change me

end tell

send newMessage

end tell

Link to comment
Share on other sites

Greetings grumbachr

It has two URL commands in the library.

- getURL v :P Open a FileMaker Pro database using a URL specification

- getURL string : The URL specification for the FileMaker Pro database in the form "FMP5://[host]/filename"

is this what you are looking for?

And thanks for thinking with me.

Link to comment
Share on other sites

This topic is 6160 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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