On or near 9/30/03 6:50 AM, Mark and Theresa at [EMAIL PROTECTED] observed:
> Well, thanks for all the advice - It seems that the only way is to check I'm > in the right part of the window after all! > > Still ... You have to ask or you'll never learn, eh? > > Thanks again I spent a little time trying to find a "trick" in AppleScript that would detect what pane you are in. I _almost_ have it working. However, it seems there is a glitch. I was expecting that if I set a selection, got the selection, then got the class of the first item in the selection, the only pane that would return either "incoming message" or "outgoing message" would be the list of messages. However, oddly, if the quick-filter window is empty, and you select all and get the class of the selection, you get the list of messages selected in the pane below! So the script, so far, can only narrow things down to "I'm in either the quick filter box or the message list." Not good enough. I've complained to Microsoft and asked if they could possibly fix this so getting the selection in the quick filter box returns a text string, as it should. Meanwhile, yes, you are stuck. I suppose I could make my script cycle through the available panes and only stop when it gets objects of the message class _for the second time_...hmm. Back to the drawing board. This is a real kludge; it would be quite slow, actually, maybe too slow to be of practical use, since it requires using the GUI scripting addition to simulate tab keystrokes and Cmd-A to select all. But it is a useful exercise for me; I'm learning stuff. -- Microsoft MVP for Entourage/OE/Word (MVPs are volunteers) Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site: <http://www.entourage.mvps.org/> AppleScripts for Outlook Express and Entourage: <http://members.thinkaccess.net/[EMAIL PROTECTED]/Scripts/> Entourage Help Pages: <http://www.entourage.mvps.org/> -- 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/>
