• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Requesting advice with getting Mail message rows.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Requesting advice with getting Mail message rows. (From: Brian Christmas <email@hidden>)

  • Prev by Date: Requesting advice with getting Mail message rows.
  • Next by Date: Re: Mail navigation script
  • Previous by thread: Requesting advice with getting Mail message rows.
  • Next by thread: Re: "try" broke???
  • Index(es):
    • Date
    • Thread