• 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: GUI: New Location in Network Pref Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUI: New Location in Network Pref Pane


  • Subject: Re: GUI: New Location in Network Pref Pane
  • From: Barbara Mueller <email@hidden>
  • Date: Thu, 3 Apr 2003 09:18:44 +0200

This script works with 10.2.4:

tell application "System Preferences" to activate
tell application "System Events"
tell process "System Preferences"
click menu item "Network" of menu "View" of menu bar 1
delay 3
tell pop up button 1 of window "Network"
click
tell menu 1
try
delay 1
if the name of every menu item contains "
" then
click menu item "
"
else
say "Sorry, the location \"" & theLocation & "\" does not exist"
return
end if
on error
say "Sorry, the location \"" & theLocation & "\" does not exist"
return
end try
end tell
end tell
end tell
end tell
end tell

Barbara
_______________________________________________
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.

  • Prev by Date: Re: Quark 5 and "make paragraph" problem
  • Next by Date: Re: Occasional missing value from Finder command
  • Previous by thread: Re: GUI: New Location in Network Pref Pane
  • Next by thread: Registering Asanté 590 SCSI card
  • Index(es):
    • Date
    • Thread