On 6/23/04 11:40 AM, "Peter Gutbrod" <[EMAIL PROTECTED]> wrote:
> Can I do some thorough message searching with Apple-Script and display the > result in a custom view with > > tell application "Microsoft Entourage" > set displayed feature of main window to custom view "Unread" > select main window > end tell > > Can someone give me a short example? You just gave it. There's no way to script the criteria of a custom view, but if it already is set up that script should do the trick. Of course you do have to muse the real name of a real custom view. OMM, there's one called "Unread Messages", and it works. You also can't get the results by script, although with a bit of fancy footwork using GUI scripting and tabbing the correct number of times to get the focus on the view and then keypressing "a" with command down to get all items selected and then get the selection in Entourage to have the results. -- Paul Berkowitz MVP Entourage Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html> AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/> PLEASE always state which version of Entourage you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
