GUI Scripting within Entourage

K

Ken Hilburn

I am trying to automate some actions on a custom view within Entourage.
As the Entourage Custom View applescript dictionary is fairly limited,
I wanted to know if there is an easy way to write GUI actions into my
Entourage script.

Thanks in advance!
 
B

Barry Wainwright

I am trying to automate some actions on a custom view within Entourage.
As the Entourage Custom View applescript dictionary is fairly limited,
I wanted to know if there is an easy way to write GUI actions into my
Entourage script.

Thanks in advance!

Yes, it can be done, if you are using OS X 10.3 - start here:
Apple - Software - AppleScript - GUI Scripting
<http://www.apple.com/applescript/uiscripting/>
 
P

Paul Berkowitz

Yes, it can be done, if you are using OS X 10.3 - start here:
Apple - Software - AppleScript - GUI Scripting
<http://www.apple.com/applescript/uiscripting/>

Note that buttons and other controls in windows and toolbars in Entourage do
not respond to GUI scripting. But menu items do, and virtually every command
is available as a menu item. So script the menu items.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
K

Ken Hilburn

Thanks! That definitely helps and I'm almost there.

The only other question that I have is that when I open the Custom
View, I cannot figure out how to do the initial select on the resultant
list of emails. Once the list portion of the custom view window has
focus, the Edit->Select All works great, I just don't know how to get
AppleScript to tell Entourage to focs on the list portion of the new
view.

Thanks again.
 
Top