• 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
Item selecting in GUI scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Item selecting in GUI scripting


  • Subject: Item selecting in GUI scripting
  • From: Michael Conner <email@hidden>
  • Date: Tue, 15 Apr 2003 13:19:11 -0500

I'm playing around with GUI scripting and am stuck on something. I'm working
on a script to import image files into a CAD program. I can get the Import
dialog to open and can open the currently selected file, but I can't get it
to select any others. This works:

tell application "System Events"
tell application process "VectorWorks"
click menu item "Import Image File?" of menu "Import" of menu item "Import"
of menu "File" of menu bar 1
click button "Open" of window "Import QuickTime Image Document"
end tell
end tell

Within the "Import QuickTime Image Document" window is a list 1 element with
all the files in the folder as text fields. I've tried

select text field 8 of list 1 of scroll area 8 of browser 1 of UI element 9
of window "Import QuickTime Image Document"

and

click text field 8 of list 1 of scroll area 8 of browser 1 of UI element 9
of window "Import QuickTime Image Document"

What I ultimately want to do is to open each item in list 1 and get the file
name (which I can do by getting the value of the text field).

Any help?
_______________________________________________
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.

  • Prev by Date: Re: Personality settings in Eudora
  • Next by Date: Re: Personality settings in Eudora
  • Previous by thread: [ANN] April BAUG Meeting
  • Next by thread: Mount a network share point
  • Index(es):
    • Date
    • Thread