Can't get existing message
I'm trying to update a current email message that's new, to add the contents of my clipboard. The clipboard has a url. Essentially it's an "add current url to my email right here" script. This is what I have:
tell application "Safari" to set myLoc to the URL of document 1
set the clipboard to myLoc
tell application "Mail"
-- set the content of myM to (myContent + (the clipboard rule type string))
set myTarget to message of window 1 as outgoing message
set myStuff to the content of myTarget
tell myTarget
set content of myTarget to (myStuff & myLoc & return & return)
end tell
end tell
Any ideas what I'm doin wrong?
Thanks.
G5 1.8, Blackbook 2.0, Mac Pro 2.8 (8c), iMac 17 2.0, Touch2, Shuffle2, iPod40, Mac OS X (10.6.4), iPhone? Heck I'm still giggly about MultiFinder!