Re: Eudora script stopped working
Re: Eudora script stopped working
- Subject: Re: Eudora script stopped working
- From: Bill Briggs <email@hidden>
- Date: Tue, 25 Feb 2003 20:39:53 -0400
At 5:14 PM -0700 25/02/03, Doug McNutt wrote:
set theGroupName to "Allowed"
set theRecipient to ""
tell application "Eudora"
set theToField to field "To:" of message 0
set theRecipient to characters 5 thru end of theToField
get addresses of nickname theGroupName
set theGroup to addresses of nickname theGroupName
set theGroup to theGroup & "," & theRecipient
set addresses of nickname theGroupName to theGroup
end tell
Try this and you'll be okay.
- web
set theGroupName to "Allowed"
set theRecipient to ""
tell application "Eudora"
set theToField to field "To:" of message 0
set theRecipient to text 5 thru -1 of theToField -- replaced line
get addresses of nickname theGroupName
set theGroup to addresses of nickname theGroupName
set theGroup to theGroup & "," & theRecipient
set addresses of nickname theGroupName to theGroup
end tell
_______________________________________________
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.