on 10/24/2000 6:15 PM, Paul Berkowitz deftly typed out:

> Try, after the first step,
> 
> repeat while not (exists window "Calendar")
>   delay 1
> end repeat
> 

Do you mean:

tell application "Microsoft Entourage"
    activate
    puppet menu {"Window", "Calendar"}
    repeat while not (exists window "Calendar")
        delay 1
    end repeat
    puppet menu {"View", "Go To Today"}
    puppet menu {"View", "Week"}
    puppet menu {"View", "List"}
end tell

This script works fine from the Script Editor (If you count "only when the
calendar is already open" as fine), but seems to get stuck in an endless
loop when run by keyboard shortcut or via the script menu.

-- 
Remo Del Bello


-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to