• 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: coercing results of UI elements to paragraph delimited list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coercing results of UI elements to paragraph delimited list


  • Subject: Re: coercing results of UI elements to paragraph delimited list
  • From: 2551 <email@hidden>
  • Date: Sat, 13 Jul 2013 23:32:37 +0700

Which raises another question. One you get down to “AX...” attributes, what verbs are used to get them to spill their beans (i.e., values)?



On 13 Jul 2013, at 23:28, 2551 <email@hidden> wrote:

On 13 Jul 2013, at 23:08, koenig.yvan <email@hidden> wrote:
Alternate way.
[snip]

tell text area 1 of scroll area 1 of group 1 of group 1 of splitter group 1 of window 1
value of attribute "AXValue”
[snip]

Ha, yeah, that’s the way I was going. I’d got as far as this and couldn’t quite get the last step (trying to get the value out of “AXContent” — it just kept throwing me an error every time. 


tell application "System Events"
tell application process "AppleScript Editor"
tell window 1
tell splitter group 1
tell group 1
tell group 1
tell scroll area 1
tell text area 1
attributes
end tell
end tell
end tell
end tell
end tell
end tell
end tell
end tell

Results:
attribute "AXContents" of scroll area 1 of group 1 of group 1 of splitter group 1 of window "Untitled 8" of application process "AppleScript Editor" of application "System Events"

 _______________________________________________
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: 
 >coercing results of UI elements to paragraph delimited list (From: 2551 <email@hidden>)
 >Re: coercing results of UI elements to paragraph delimited list (From: "koenig.yvan" <email@hidden>)
 >Re: coercing results of UI elements to paragraph delimited list (From: 2551 <email@hidden>)

  • Prev by Date: Re: coercing results of UI elements to paragraph delimited list
  • Next by Date: Re: coercing results of UI elements to paragraph delimited list
  • Previous by thread: Re: coercing results of UI elements to paragraph delimited list
  • Next by thread: Re: coercing results of UI elements to paragraph delimited list
  • Index(es):
    • Date
    • Thread