• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Looking for AppleScripter willing to help …
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Looking for AppleScripter willing to help …


  • Subject: Looking for AppleScripter willing to help …
  • From: Le Stang Jean-Baptiste <email@hidden>
  • Date: Wed, 21 Feb 2007 19:41:56 +0100

For a long time I've been missing a function in Mac OS X which is the ability to select several files using the Finder and send a mail to someone using the selected files as attached files. I've written so far the contextual menu necessary to handle the file selection and the recipient selection and to create the mail and its attached files in Mail but I think that many of you are using other mail clients.
The mail creation part of the my contextual menu is based on AppleScript so that I could integrate many other mail clients with my contextual menu. So far I'm looking for people that would be interested by writing a handler that would receive a string (the recipient) and a list of alias (the attachments) for the following mailers : Entourage, Eudora, Mailsmith (and any other scriptable mailer that you could think of)


Here is for example what is necessary to create the mail in Mail :

to SendNewMessage(theRecipient, theFiles)
tell application "Mail"
activate
set the new_message to make new outgoing message with properties {visible:false}
tell the new_message
make new to recipient at end of to recipients with properties {address:theRecipient}
repeat with aFile in theFiles
tell content
make new attachment with properties {file name:aFile} at after last paragraph
end tell
end repeat
end tell
set visible of new_message to true
end tell
end SendNewMessage


Thanks in advance,

--
Le Stang Jean-Baptiste
http://lestang.org/osax/



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Looking for AppleScripter willing to help Š
      • From: Emmanuel <email@hidden>
    • [OT] Re: Looking for AppleScripter willing to help Š
      • From: Emmanuel <email@hidden>
    • Re: Looking for AppleScripter willing to help Š
      • From: Matthew Smith <email@hidden>
    • Re: Looking for AppleScripter willing to help …
      • From: Michelle Steiner <email@hidden>
    • Re: Looking for AppleScripter willing to help Š
      • From: Jeramey Valley <email@hidden>
  • Prev by Date: Re: FileMaker--how to match and flag IDs in two tables
  • Next by Date: Re: Looking for AppleScripter willing to help Š
  • Previous by thread: How to script Photoshop CS2 to make a smart object out of a layer selected?
  • Next by thread: Re: Looking for AppleScripter willing to help Š
  • Index(es):
    • Date
    • Thread