Attaching or linking emails
Ethan J. A. Schoonover
e at ejas.net
Mon Mar 27 18:52:03 PST 2006
Working on kGTD email connectivity already ;)
Ethan J. A. Schoonover
----------------------------------
e at ejas.net
GMT+8
On 28 Mar 2006, at 9:46 AM, Kai von Fintel wrote:
> On 3/12/06, Simon <donkeyotay at gmail.com> wrote:
>
>> Hi All,
>> Is there anyway to link to emails in Mail.app. At the moment I'm
>> saving emails as text files then linking. This is tedious but I need
>> to be able to track emails for projects.
>> Best wishes
>> Don
>
> Hi, I'm coming late to this thread. As someone else mentioned,
> MailTags can link to the individual file that contains an email
> message. So, it must be possible. Indeed, it is. Some googling
> revealed a script that I modified a bit. When you're in Mail and have
> a message selected, this script will use Spotlight to find the
> corresponding file and put its URL in the clipboard. Switch to OO3 and
> paste the link. I assume that more fancy scripts would do the
> insertion into OO3. If anyone develops such a thing (in particular for
> interaction between Mail and kGTD), please post it here.
>
> Here's the script:
>
> tell application "Mail"
>
> set theSel to selection
> set theMsg to item 1 of theSel
> properties of theMsg
> message id of theMsg
> set msgID to id of theMsg
> log msgID
>
> set theScript to "mdfind -onlyin ~/Library/Mail " & quote & "
> kMDItemFSName == " & msgID & ".emlx" & quote
> set theMsgFile to do shell script theScript
>
> set the clipboard to ("file://" & theMsgFile)
>
> end tell
>
> -- Based on a script from
> http://homepage.mac.com/brettgross/AppleScripts/AppleScripts_Mail/
> AppleScripts_Mail.html
>
> All the best,
>
> Kai
> http://semantics-online.org/fintel
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users
More information about the OmniOutliner-Users
mailing list