• 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: New Scripting Definition Suite in System Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Scripting Definition Suite in System Events


  • Subject: Re: New Scripting Definition Suite in System Events
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 17 Oct 2014 15:07:14 -0400

Looks like self describing classes so you know how to query.

Sent from my iPad. Please pardon typos.

On Oct 17, 2014, at 2:34 PM, Bill Cheeseman <email@hidden> wrote:


Has anybody noticed the new Scripting Definition Suite in the System Events terminology dictionary in Yosemite? Any thoughts on what it’s good for?

Here’s an example script:

tell application "System Events"
tell scripting definition
tell scripting suite "Processes Suite"
tell scripting class "UI element"
get name of every scripting property
end tell
end tell
end tell
end tell

-- returns {"accessibility description", "class", "description", "enabled", "entire contents", "focused", "help", "maximum value", "minimum value", "name", "orientation", "position", "role", "role description", "selected", "size", "subrole", "title", "value”}
  
-- 

Bill Cheeseman - email@hidden
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
  • Follow-Ups:
    • Re: New Scripting Definition Suite in System Events
      • From: Bill Cheeseman <email@hidden>
References: 
 >New Scripting Definition Suite in System Events (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Scripting mail attachments in Yosemite
  • Next by Date: Re: New Scripting Definition Suite in System Events
  • Previous by thread: New Scripting Definition Suite in System Events
  • Next by thread: Re: New Scripting Definition Suite in System Events
  • Index(es):
    • Date
    • Thread