Re: Scripting the Location
Re: Scripting the Location
- Subject: Re: Scripting the Location
- From: John Delacour <email@hidden>
- Date: Fri, 29 Aug 2003 00:34:46 +0100
At 5:48 pm -0500 28/8/03, Irwin Poche wrote:
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.
Do you actually type curly quotes into Entourage and get no warning ?!
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
I find I have to do something like this, which is clearly not the way
it should be. I've replaced the names with numbers just so things
fit on the line.
tell application "System Events"
tell process "Script Editor"
tell menu bar 1
set netprefs to "Network Preferences" & (ASCII character 201)
click menu item netprefs of menu 1 of menu item 7 of menu 1 of menu 1
end tell
end tell
end tell
JD
.
_______________________________________________
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.