Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: Extract text from email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Extract text from email



Hey!

The script I just got is all colored and everything.

How'd you do that?

Ken

> ----------
> From: 	Michelle Steiner
> Sent: 	Monday, September 13, 2004 3:41 PM
> To: 	Applescript Users
> Subject: 	Re: Extract text from email
>
> <<File: ATT139430.txt>>
>
>
> On Sep 13, 2004, at 9:59 AM, Michelle Steiner wrote:
>
>
> 	You should be able to take it from there.
>
>
> Here is my final answer:
>
> tell application "Mail"
> 	set theSelectedMessages to selection
> 	tell the content of item 1 of theSelectedMessages
> 		tell (the first paragraph whose first word is "File")
> 			set u to characters 13 thru 17 as string
> 		end tell
> 	end tell
> end tell
>
> --
> "Beware the march of ideas."
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.