• 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: Get UI Attribute Value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get UI Attribute Value


  • Subject: Re: Get UI Attribute Value
  • From: Bruce Robertson <email@hidden>
  • Date: Tue, 06 Oct 2009 16:28:27 -0700
  • Thread-topic: Get UI Attribute Value

> Using Late Night's excellent UI Browser, I am able to read the detailed
> contents of a Filemaker web viewer. However, I can't quite figure out how to
> actually get a value out of it.
>
> If I point the web viewer to www.filemaker.com, then I can say this:

Ed Stockley says:

> I think that's PreFab, not LateNight : )

Oops, PreFab yes.

Anyway, solution is:

activate application "FileMaker Pro Advanced"
tell application "System Events"
    tell application process "FileMaker Pro Advanced"
        get static text of group 1 of group 1 ¬
            of text field "Search FileMaker.com" of group 1 ¬
            of list 1 of UI element 1 ¬
            of scroll area 1 of window "Basic VList" of ¬
            application process "FileMaker Pro" of ¬
            application "System Events"

        set f to value of item 1 of result
    end tell
end tell
F

Solution to click link on the FileMaker page:
(corrected)

choose from list { "Products", "Community", "Solutions"}
set theLink to item 1 of result

activate application "FileMaker Pro Advanced"
tell application "System Events"
    tell application process "FileMaker Pro Advanced"
      set linkref to a reference to UI element theLink of list 2 of UI
element 1 of scroll area 1 of  window  1
      perform action "AXPress" of linkref
    end tell
end tell


 _______________________________________________
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: 
 >Get UI Attribute Value (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: Get UI Attribute Value
  • Next by Date: Re: script works when reading from DVD but not when reading from hard disk
  • Previous by thread: Re: Get UI Attribute Value
  • Next by thread: Re: AS Timeout (Silence) Updated
  • Index(es):
    • Date
    • Thread