Re: applescript-users digest, Vol 3 #110 - 14 msgs
Re: applescript-users digest, Vol 3 #110 - 14 msgs
- Subject: Re: applescript-users digest, Vol 3 #110 - 14 msgs
- From: "Jason W. Bruce" <email@hidden>
- Date: Tue, 05 Feb 2002 13:45:40 +0000
Andrew Hinton asked:
>
Now to figure out how to make an attached memo with an email's body text in
>
it....wheee!
>
>
--ach
tell application "Outlook Express"
set upperlimit to count of every message of folder 1
repeat with loopvariable from 1 to upperlimit
set subjectvariable to subject of message loopvariable of folder 1
set contentvariable to content of message loopvariable of folder 1
set datevariable to time received of message loopvariable of folder
set sendervariable to display name of sender of message loopvariable
of folder 1
sendToPalm(subjectvariable, contentvariable, datevariable,
sendervariable) of me
end repeat
end tell
to sendToPalm(subjectvariable, contentvariable, datevariable,
sendervariable)
tell application "Palm Desktop"
create new memo with {title:subjectvariable, creation
date:datevariable, body:sendervariable &
"\r " & contentvariable}
try
set lastmemo to count of every memo
attach memo lastmemo to to do 5
end try
end tell
end sendtopalm
Jason W. Bruce