• 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: New GUI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New GUI Scripting


  • Subject: Re: New GUI Scripting
  • From: email@hidden
  • Date: Sat, 21 Dec 2002 16:37:00 -0800

Sorry, the formatting got all messed up, here it is again:

Anyone know how to set the currently selected item of the pop up buttons
on the view options from the finder?


Here's my script but all the important properties of pop up buttons have
"missing value".


If I try set value, title, or name nothing happens!

------------------------------------------------------------------------

tell application "Finder" to activate

tell application "System Events"
tell process "Finder"
local viewOptFloater
click (menu item "Show View Options" of menu "View" of menu bar 1)
set viewOptFloater to front window
click radio button "All windows" of viewOptFloater
set value of pop up button 1 to "10 pt"

-- debugging
set str to properties of pop up button of viewOptFloater

display dialog str
end tell
end tell

------------------------------------------------------------------------

Thanx, SDerman.
_______________________________________________
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.

References: 
 >New GUI Scripting (From: email@hidden)

  • Prev by Date: New GUI Scripting
  • Next by Date: Re: Dec. Dev. tools and New GUI Scripting
  • Previous by thread: New GUI Scripting
  • Next by thread: SE2 script snippet for Mouse Speed fails???
  • Index(es):
    • Date
    • Thread