Re: UI Scripting - selecting text items from a scroll area
Re: UI Scripting - selecting text items from a scroll area
- Subject: Re: UI Scripting - selecting text items from a scroll area
- From: deivy petrescu <email@hidden>
- Date: Wed, 9 Jun 2004 09:18:14 -0400
On Jun 8, 2004, at 7:28 PM, Martin Orpen wrote:
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
Try selecting then. If you can, try keystroke "name of selection here"
and instead of click, try return.
Regards
Saudagues
deivy petrescu
http://www.dicas.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.