• 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: Question-GUI scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question-GUI scripting


  • Subject: Re: Question-GUI scripting
  • From: Axel Luttgens <email@hidden>
  • Date: Tue, 08 Jun 2004 09:34:03 +0200

BADRINATH, NANDINI wrote:

>>[...]
>>
>>
>I rolled my mouse over to the file that I have to select and recorded
>its hierarchy with UIElement Inspector. The UIElement inspector showed
>the following at this point of time
>
><AXApplication:"QuarkXPress">
><AXWindow:"Open">
><AXUnknown>
><AXBrowser>
><AXScrollArea>
><AXList>
><AXTextField>
>
>The AXTextField is actually the filename of the file that I have to
>select.
>
>How do I translate this into applescript code. I enclosed these n tell
>blocks but it did not work. I fot an error.
>
>Please guide me on how to do this.
>

Up to now, I know only one recipe: trial and error ;-)

That is:
- using UIElementInspector (as you did) to see what items it displays,
- comparing those items to the info found in System Events' dictionary
(look especially at the class "UI Element" of the Processes suite),
- praying that my translation attempts will be operational

HTH,
Axel
_______________________________________________
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.


  • Follow-Ups:
    • Re: Question-GUI scripting
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: running a stay open script app inside an app package OUTCOME
  • Next by Date: Need help:-Quark Scripting
  • Previous by thread: Question-GUI scripting
  • Next by thread: Re: Question-GUI scripting
  • Index(es):
    • Date
    • Thread