Re: Scripting mail.app
Re: Scripting mail.app
- Subject: Re: Scripting mail.app
- From: Olivier Destrebecq <email@hidden>
- Date: Tue, 19 Feb 2002 11:39:39 -0600
get content of compose message 1 of message editor 1
this will get you the content of the first compose message window.
Get the name of the front window and then find the message editor whose
compose message has for subject the name of the window (since the name
of the window is the subject of the mail)
hope this help, olivier
On Tuesday, February 19, 2002, at 10:30 AM, Michelle Steiner wrote:
>
I finally switched to OS X, and for the time being am using mail.app.
>
(I tried Powermail and have too many issues with it.)
>
>
The dictionary doesn't seem to be of much help. How do I access a
>
received message?
>
>
With a message open and in the front window, I find
>
>
get message of front window
>
returns an error
>
>
get document of front window
>
returns nothing, not even an empty list
>
>
however,
>
get name of front window
>
returns the window's name.
>
>
I'm trying to write a script that will remove quote carets from the
>
front of each quoted line of text. I wrote one for emailer, so I
>
figure to modify the code to access the message, and use the same code
>
that does the stripping.
>
>
any help would be apreciated.
>
>
Thanks,
>
>
--Michelle
>
_______________________________________________
>
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.
_______________________________________________
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.