Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

After generating an email WITH an auto attachment via Filemaker script I want the user to add extra attachments of their choice.

 

the following script has two problems;

1: Deletes the auto generated attachment

2: Will only add one email (multiple selections not allowed)

 

set the_files to (choose file with prompt "Select file to attach to Email. Sorry, ONE FILE ONLY." without invisibles)
 
tell application "Mail"
tell front outgoing message
 
make new attachment with properties {file name:the_files} at before the first paragraph
 
set visible to true
end tell
activate
end tell
 
Any thoughts? thanks
Posted

I have not used AppleScript much, but I take for granted you would have to loop through the array of selected files.

Posted

I am hoping to mimic the standard "add attachment" in Mail which allow multiple selections

This topic is 3778 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.