Aussie John Posted July 21, 2014 Share Posted July 21, 2014 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 Link to comment Share on other sites More sharing options...
ggt667 Posted July 21, 2014 Share Posted July 21, 2014 I have not used AppleScript much, but I take for granted you would have to loop through the array of selected files. Link to comment Share on other sites More sharing options...
Aussie John Posted July 22, 2014 Author Share Posted July 22, 2014 I am hoping to mimic the standard "add attachment" in Mail which allow multiple selections Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3538 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 accountSign in
Already have an account? Sign in here.
Sign In Now