• 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: applescript-users digest, Vol 3 #273 - 15 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 3 #273 - 15 msgs


  • Subject: Re: applescript-users digest, Vol 3 #273 - 15 msgs
  • From: email@hidden (Gerd)
  • Date: Fri, 22 Mar 2002 00:28:13 +0100

Hallo Michelle,

i also used Claris Emailer befor and have certain difficulties to change my scripts into 'Mail'.

Message: 1
Date: Wed, 20 Mar 2002 13:05:51 -0700
To: cricket <email@hidden>
Subject: Re: scripting 'mail' from OS X
From: Michelle Steiner <email@hidden>

What I'm trying to do is convert an email script that unwraps text with
hard returns in it. But I can't figure out how to identify the message
to the script, if it's a received message.

--Michelle



With help of some people I found out that this is working:

set a to 1

tell application "Mail"
get content of message a of mailbox "box1" of account "personal accounts" whose is deleted is false
set y to result as text
set a to a + 1
end tell

So you get the content into y and can put the text in some text editor.
Is it this what you wanted?

regards

Gerd
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Speakable items
  • Next by Date: Save some time converting umlauts and special characters to HTML
  • Previous by thread: Re: Speakable items
  • Next by thread: Save some time converting umlauts and special characters to HTML
  • Index(es):
    • Date
    • Thread