UI Scripting - selecting text items from a scroll area
UI Scripting - selecting text items from a scroll area
- Subject: UI Scripting - selecting text items from a scroll area
- From: Martin Orpen <email@hidden>
- Date: Wed, 09 Jun 2004 00:28:00 +0100
Are there any workarounds for selecting objects in scroll areas that don't
respond to *click* actions?
I'm working on a script that needs to select Bluetooth devices from the
Address Book.
I can get a list of devices using:
tell application "System Events"
tell process "Address Book"
click menu item "Send This Card
" of menu "Card" of menu bar
item "Card" of menu bar 1
delay 1
click button "Search" of window 1
delay 6
set theNames to value of static text of radio group 1 of scroll
area 1 of scroll area 1 of browser 1 of window 1
end tell
end tell
I then feed the list into a choose from list dialog, but can't find a way of
clicking or selecting the chosen device from the scroll area.
UI Browser reports that the items are just called "text 1", "text 2" etc,
but none of them appear to be clickable :-(
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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.