Re: Scripting Mail.app suggestions requested
Re: Scripting Mail.app suggestions requested
- Subject: Re: Scripting Mail.app suggestions requested
- From: "Gary (Lists)" <email@hidden>
- Date: Tue, 31 May 2005 17:07:50 -0400
"Blake Garner" wrote:
> I have already tried using the GUI scripting to select the first
> message in the list by index. But this only selcts the message and
> doesn't scroll the window.
>
> Does anybody have some tricks up their sleve for doing this?
In the way of suggestion, and based on my manual (by hand, not GUI) trials,
here is a manual action sequence which works, and which might be able to be
simulated via GUI.
1. I select the first message in the current sort (the one at the top, that
is). (You say you can do this by script, but it might still not actually
"select" -- visually -- the item. I don't know.)
2. I scroll the window to very end of the message list, so I am viewing the
bottom of the list (just to put me in a state where I need to scroll back
up).
Okay, so now the "first" (top) is still selected (it's highlighted in the
list with my selection color.)
3. Pressing the Down arrow once does, indeed, select the _second_ (from top)
message _and_ it scrolls the window to the top (again, the second item is
still visually selected.)
4. An Up arrow then selects the first again and does not move the scroll
position. I am at the top, with item 1 selected again.
If your current work has gotten you to the point, then, where the first
(top) item is selected, then it seems that a Down arrow then Up arrow
sequence might be tacked on to get you there...(?)
HTH,
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden