• 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: System Events - Limited by app's dictionary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Events - Limited by app's dictionary?


  • Subject: Re: System Events - Limited by app's dictionary?
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 29 Jan 2004 09:25:30 -0800

Get UI Browser at http://www.prefab.com/uibrowser/

It will make all this much easier. (As you can see, it's made by PreFab -
and our own Bill Cheeseman.)

--
Paul Berkowitz


> From: email@hidden
> Date: Thu, 29 Jan 2004 11:21:35 -0500
> To: <email@hidden>
> Subject: System Events - Limited by app's dictionary?
>
> I might be expecting too much of System Events...
>
> I'd like to automate Phase One's "Capture One" application which has a very
> meager dictionary. With UI Inspector I see that a particular button in a
> radio group in a toolbar has the hierarchy
>
> <AXApplication: "Capture One">
> <AXWindow: "name_of_picture">
> <AXToolbar>
> <AXGroup>
> <AXRadioGroup>
> <AX Button: "Or">
>
> The Capture One dictionary has a WINDOW entry but nothing pertaining to
> toolbar, group, radiogroup, or button. I've tried various combinations of
>
> tell app "Capture One" to activate
> tell app "System Events"
> tell process "Capture One"
> tell window "name_of_picture"
> tell toolbar / tell toolbar 1 / tell <AXToolbar> / tell
> AXToolbar / etc. -- nothing works
> tell group -- likewise for groups
> tell radiogroup -- and likewise for radio groups
> click button "Or"
> end tell
> end tell
> end tell
> end tell
> end tell
> end tell
>
> I get various compilation errors ("variable toolbar not defined", etc.).
>
> Am I beating a dead horse or is there actually a way to get System Events
> to click to "Or" button? At least with Prefab Player I could click a mouse
> location if nothing else. I can't locate any System Events documentation
> apart from the 3 or 4 pages at
> http://www.apple.com/applescript/uiscripting.
>
> Thanks very much...
>
> - Dan
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >System Events - Limited by app's dictionary? (From: email@hidden)

  • Prev by Date: [OT] Re: applescript and browsers
  • Next by Date: Make New Window scripting problem
  • Previous by thread: System Events - Limited by app's dictionary?
  • Next by thread: Re: System Events - Limited by app's dictionary?
  • Index(es):
    • Date
    • Thread