Re: Requesting advice with getting Mail message rows.
Re: Requesting advice with getting Mail message rows.
- Subject: Re: Requesting advice with getting Mail message rows.
- From: Axel Luttgens <email@hidden>
- Date: Mon, 05 Nov 2012 10:24:59 +0100
Le 5 nov. 2012 à 07:53, Brian Christmas a écrit :
> G'day Scripters
>
> This works, but is a bit slow
>
> [...]
>
> This would be faster, and compiles, but returns zero rows. Is it possible to do this, or am I barking up the wrong tree?
>
> [...]
Hello Brian,
It seems the rows you are interested in may be reached here (Mail 6.2) with:
tell application "System Events"
tell application process "Mail"
tell table 1 of scroll area 1 of splitter group 2 of splitter group 1 of window 1
rows where (role of first UI element is "AXDisclosureTriangle" and value of first UI element is 0)
end tell
end tell
end tell
Now, since you are going the UI scripting way, perhaps could the "Presentation/Expand all conversations" menu item be of some help too?
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden