July 21, 201411 yr 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
July 21, 201411 yr I have not used AppleScript much, but I take for granted you would have to loop through the array of selected files.
July 22, 201411 yr Author I am hoping to mimic the standard "add attachment" in Mail which allow multiple selections
Create an account or sign in to comment