Subject: | |
From: | |
Reply To: | |
Date: | Mon, 14 Jun 2010 22:19:16 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 15:49 -0400 14/6/10, Bill Steele wrote:
>On Jun 10, 2010, at 6:58 PM, Deivy Petrescu wrote:
>
>>Check what you get.
>>By the way I used "make new signature at the end of ..."
>>
>>
>>
>>Deivy Petrescu
>>[log in to unmask]
>
>You're right. There are signatures there that don't appear in the
>preference pane or the pulldown. So how do I get them to show up?
Perhaps line 3 of this script (I have Mail v.2.1.3). Impossible here
to give content to a signature -- as if I needed any further reasons
never to use Mail.
tell application "Mail"
delete (every signature whose name is "Temp")
set choose signature when composing to true
set _sig to make signature at beginning with properties
{name:"Temp", content:"bye!"}
properties of _sig
--=> {class:signature, content:missing value, name:"Temp"}
set properties of _sig to {content:"bye!"}
properties of _sig
--=> {class:signature, content:missing value, name:"Temp"}
try
set content of _sig to "bye!"
on error e
return e
end try
--=> "NSInternalScriptError"
try
return content of _sig
on error e
return e
end try
--=> "NSInternalScriptError"
end tell
JD
|
|
|