• 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: UI Scripting - selecting text items from a scroll area
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: UI Scripting - selecting text items from a scroll area
      • From: Martin Orpen <email@hidden>
References: 
 >UI Scripting - selecting text items from a scroll area (From: Martin Orpen <email@hidden>)

  • Prev by Date: Javascript wrapper for Applescript
  • Next by Date: Re: UI Scripting - selecting text items from a scroll area
  • Previous by thread: UI Scripting - selecting text items from a scroll area
  • Next by thread: Re: UI Scripting - selecting text items from a scroll area
  • Index(es):
    • Date
    • Thread