Re: Mail.app message
Re: Mail.app message
- Subject: Re: Mail.app message
- From: John Delacour <email@hidden>
- Date: Mon, 11 Aug 2003 18:42:07 +0100
At 1:17 pm -0300 11/8/03, Marcus Rodrigues wrote:
Why can't I put my signature on this message?????? Please take a
look at my code and tell me where am I going worng:
tell app "Mail"
set p to {visible:true, message signature:first signature}
make outgoing message with properties p
end
'message signature' is a property of 'outgoing message' and not of
'content'; 'content' has no properties.
Your 'tell content..." is meaningless -- content of WHAT?
You can do it in two stages if you like
tell app "Mail"
set p to {visible:true}
set _message to make outgoing message with properties p
set message signature of _message to signature 1
end
JD
tell application "iChat"
set myStatus to (get status) as string
set mySM to get status message as string
end tell
tell application "Mail"
try
set theSignature to signature 1
set thisMessage to make new outgoing message with
properties {content:"My iChat status is " & myStatus & "." & return
& "My status message is " & mySM & "." & return & return,
visible:true}
tell content
set message signature to theSignature at
after last paragraph
end tell
end try
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.