Re: GUI: New Location in Network Pref Pane
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.