• 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
Scripting the Location
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting the Location


  • Subject: Scripting the Location
  • From: Irwin Poche <email@hidden>
  • Date: Thu, 28 Aug 2003 17:48:10 -0500

I9m having problems scripting the Location. The script below will work
sometimes. Sometimes it does not. When it doesn9t, UI Browser doesn't show
any choices for Location.

tell application "Finder" to activate
tell application "System Events"
tell process "Finder"
click menu item "Home" of menu "Location" of menu item
"Location" of menu "Apple" of menu bar 1
end tell
end tell


A similar problem with trying to set Location in the Network Pane of Systems
Preferences. I can get the value of popup 2 (which has Locations) but I
cannot set it.

Are these 3beta2 issues or does someone have an alternate method ?

Thanks,

-Irwin
_______________________________________________
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: Scripting the Location
      • From: Craig Sutherland <email@hidden>
    • Re: Scripting the Location
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: Error from opening a read only applet in SD
  • Next by Date: script changes
  • Previous by thread: Re: Filemaker+applescript=html
  • Next by thread: Re: Scripting the Location
  • Index(es):
    • Date
    • Thread