Title: Re: Entourage Script for a Single Contact
Thanks, Paul:

tell the application "Microsoft Entourage"

    set windowName to name of window 1
    
    try
       set theContact to contact windowName
   on error
       beep
       display dialog "Address Book Entry must be kept Open!"
        return
   end try

works perfectly.

    Peter

On 3/2/03 12:57 PM, "Peter Wait" <[EMAIL PROTECTED]> wrote:

Paul and Beth,  
    Thanks for pointing out my dumb mistake. Unfortunately, on fixing it:

I still always get the error message and the Contact is definitely open when I execute the script from the script menu. I’m hoping this next mistake won’t be quite as dumb.



Probably the script is picking up selected text from the open contact window. Forget that script and use the other version I sent you, in the same message, that operates on 'window 1'.

Reply via email to