More on scripting Entrouage

M

Mike VanHorn

If I'm in the task area in Entourage, how do I tell it to use a specifc view
of the tasks? Specifically, I want to tell it to go directly to the view
named "Incomplete", rather than the defaul which shows all the tasks.

I've got the following, which doesn't give any errors, but doesn't work,
either:

tell application "Microsoft Entourage"
open main window
set displayed area of main window to tasks area
open custom view named "Incomplete"
activate
select main window
end tell

Thanks!

---
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
(e-mail address removed)
937-775-5157
http://www.cs.wright.edu/~mvanhorn/
 
P

Paul Berkowitz

This works well here. And reliably, so far. To see the whole plethora of stuff
that GUI scripting can do , see the System Preferences dictionary, Processes
Suite.

Wrong name, sorry. That should read:

To see the whole plethora of stuff that GUI scripting can do , see the
System Events dictionary, Processes Suite.

--
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.
 
M

Mike VanHorn

What you're looking
for here is a display option in the Views menu, which has no AppleScript
equivalent. This time what you're trying to do is not scriptable from
Entourage's dictionary, so you have to devise workarounds.

Well, at least I'm not crazy.
1. ***PLEASE DO THIS*** Send a Feedback request to Microsoft via the Help
menu, requesting that this feature, and many other things in Calendar, Tasks
and Notes, be made scriptable.
Done.

2. You could actually make a real custom view that duplicates the view
option you want from the Tasks List, and open that instead.

I did this, and it works like a charm. Thanks!


---
Mike VanHorn
Senior Computer Systems Administrator
College of Engineering and Computer Science
Wright State University
(e-mail address removed)
937-775-5157
http://www.cs.wright.edu/~mvanhorn/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top