Results 1 to 1 of 1
  1. #1
    Adding attachments into front outgoing message of Apple
    Hi ALL,

    I want to add attachments into mail compose window of Apple If compose window is already open, then i want to add attachments into existing draft window / outgoing message window.

    set newMessage to (a reference to (make new outgoing message))
    tell newMessage
    tell content
                    repeat with theItem in argv
                        set filename to theItem as POSIX file
                        make new attachment 
                            with properties {file name:filename} 
                            at after the last word of the last paragraph
                    end repeat
                end tell
                set visible to true
             end tell
    The above code snippet always opens a new mail compose window and add attachments into that window. How do I add attachments into existing outgoing message window?

    Last edited by Raz0rEdge; 02-28-2018 at 11:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to zoom in an OUTGOING Mail message??
    By auriga in forum Switcher Hangout
    Replies: 1
    Last Post: 06-12-2010, 10:41 PM
  2. attachments
    By pdbms in forum macOS - Apps and Games
    Replies: 0
    Last Post: 02-15-2009, 09:43 PM
  3. Adding mutliple attachments in mail?
    By birdhouse360360 in forum iOS and Apps
    Replies: 6
    Last Post: 08-14-2008, 08:43 AM
  4. -- Attachments
    By DoubleCap in forum macOS - Apps and Games
    Replies: 1
    Last Post: 06-14-2007, 09:54 AM
  5. Mail app attachments
    By The Mim in forum macOS - Apps and Games
    Replies: 6
    Last Post: 04-24-2005, 02:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts