On 5/3/07 2:56 PM, "revDAVE" <[EMAIL PROTECTED]> wrote: > Using AppleScript, is it possible to create scripts that can click on the > various fields in the subject list window, so that I can sort/resize fields > different ways with Apple keys? > > - for example, I would love to have a key that could click on the sent > field, and sort - newest to oldest ... That type of thing ...
No. "Arrange By" (sort lists by) is not scriptable. In general, AppleScripting of Entourage is not there to manipulate the appearance of the User Interface, but for controlling the actual data itself - creating and sending messages, contacts, calendar events, etc., assigning categories or projects to items, and so on. It is possible to delve into "GUI Scripting" and use that to select Entourage menu items. Like GUI Scripting in any application, it's not something you can rely on totally. In the case of Entourage, you can use it only on menu items, which works pretty well, but not on other controls such as buttons and arrows. Fortunately in Entourage, almost every control is duplicated by a menu item. I wouldn't venture into GUI Scripting without the 3rd-party "UI Browser", which also provides a pretty good tutorial on how to use it. Alternatively you could dispense with AppleScript and get one of the macro utilities specifically designed to automate UI controls and menu items (iKey and others). You can also get a certain distance - but not too far - using the OS's methods for assigning keyboard shortcuts from System Preferences/Keyboard & Mouse/Keyboard Shortcuts/Applications/Entourage. -- Paul Berkowitz -- 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/>
