Item selecting in GUI scripting
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.