• 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
Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard


  • Subject: Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 5 Jan 2010 21:24:16 -0700

On Jan 5, 2010, at 7:41 PM, email@hidden wrote:

Thanks Ed, I tried this and the are no errors but pasting do not have the subject in the clipboard

---------

using terms from application "Mail"
on perform mail action with messages theSelectedMessages
tell application "Mail"
set eachMessage to item 1 of theSelectedMessages
set theSubject to subject of eachMessage
end tell
set the clipboard to theSubject
end perform mail action with messages
end using terms fromm

Taking it out of mail actions, and running it from Applescript Editor works.  Don't know whether that will help you isolate the problem, though.

tell application "Mail"
set theSelectedMessages to the selection
set eachMessage to item 1 of theSelectedMessages
set theSubject to subject of eachMessage
end tell
set the clipboard to theSubject

-- Michelle

-- 
Windows Vista: Viruses, Intrusions, Spyware, Trojans, and Adware.


 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard (From: "Stockly, Ed" <email@hidden>)
 >Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Use AS operators dinamically
  • Next by Date: Re: Just say no ?
  • Previous by thread: Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
  • Next by thread: Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
  • Index(es):
    • Date
    • Thread