• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting the default signature in Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the default signature in Entourage


  • Subject: Re: Setting the default signature in Entourage
  • From: Chris Garaffa <email@hidden>
  • Date: Tue, 26 Oct 2004 23:43:32 -0400

On Oct 26, 2004, at 10:44 PM, Paul Berkowitz wrote:

On 10/26/04 7:04 PM, "Chris Garaffa" <email@hidden> wrote:

(And first make sure that signature 1 is really the one you want.
Check its
name.)
It is, unless there's a chance that with a signature file guaranteed to
contain only one signature it could throw an error. Just to make sure,
I tried:
set sigRef to (first item of every signature)
Which returns the same error.

Just try

    get name of signature 1

Does that work? You're sure there actually _is_ a signature 1?
I'm sure. That returns "TracyLocke.com" which is the name of the signature that's set up in the Signatures file the app copies over before launching Entourage.

Unless there' some bug with Exchange accounts I don't know about, that
should work when you later specify the default signature choice.

Looks like this is a bug with Exchange accounts specifically. I just tried creating a new POP account, with the relevant signature code looking like this: set sigRef to signature 1 make new POP account with properties{ (*POP-related stuff here*), default signature type: other, default signature choice: sigRef}

I wish I'd caught that before they released 10.1.6, maybe a fix could
have made it in.

10.1.6 is just a security release. I'll check to see if it works with Entourage 2004.

But there's a way around it with 10.1.6: Exchange accounts, although they
have extra properties, are really implemented as IMAP accounts. Furthermore
(don't know if it was a bug or not) you can actually access them as IMAP
accounts by AppleScript. So try this: after you make the account without the
signature choice, see if you can then


    set theAcct to IMAP account (gLastName & "'s Exchange Account")
    set default signature choice of theAcct to signature 1

I _know_ you can set the default signature choice of an IMAP account just
fine (as with POP).

Almost. No error this time, but the signature is still set to "None." Before the set default signature line, I inserted
display dialog (name of signature 1) as string, which gave me the correct signature name.
I also tried
set default signature choice of theAcct to first signature whose name is "TracyLocke.com", which is the name of the signature. Still no luck.



Enjoy this while you can. ;-) Entourage 2004's Exchange accounts are not
also IMAP accounts, and they have far, far fewer AppleScript properties (so
far). I will have an opportunity soon to see if I can create an Exchange
account in 2004, and will see if default signature choice now can be set.

I'm curious to see if this works, as we're scheduled to move to 2004 sometime in the first quarter of '05.


Thanks again Paul

--
Chris Garaffa
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Setting the default signature in Entourage
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Setting the default signature in Entourage (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: applescript's text item delimiters
  • Next by Date: Re:Dice
  • Previous by thread: Re: Setting the default signature in Entourage
  • Next by thread: Re: Setting the default signature in Entourage
  • Index(es):
    • Date
    • Thread