• 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: "Stockly, Ed" <email@hidden>
  • Date: Tue, 05 Jan 2010 18:34:26 -0800
  • Thread-topic: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard

Just at first glance, the last line won't get executed with the rest of the
script since it's outside the perform mail action handler.

Try moving it to after the "end tell" line and see if that works.

HTH,

ES


On 1/5/10 6:31 PM, "email@hidden"  wrote:

>
> 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
> end perform mail action with messages
> end using terms from
>
> set the clipboard to theSubject
>

 _______________________________________________
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

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

  • Prev by Date: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
  • Next by Date: Re: Newbie apple mail quesion - Putting the Subject of the active email on the Clipboard
  • Previous by thread: 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