Newbie Stumbles
Newbie Stumbles
- Subject: Newbie Stumbles
- From: Tuckerman Moss <email@hidden>
- Date: Wed, 5 Nov 2003 16:20:14 +0000
I'm somewhat embarrassed to be asking what I know must be a trivial
scripting question. I would like to make a little script application
that turns on Internet Sharing in the Sharing preferences. I would
have thought the following would work (and does if the Sharing pane is
open). But it doesn't work from the Log In folder. What part of the
(simple) concept am I missing?
Thanks, Tuck
tell application "Finder"
activate
end tell
tell application "System Events"
get properties
tell (click button "Sharing" of scroll area 1 of window "System
Preferences" of application process "System Preferences")
end tell
get properties
tell (click button "Start" of tab group 1 of window "Sharing" of
application process "System Preferences")
end tell
say "Sharing is turned on you old twit."
end tell
--
Tuckerman Moss The Old Vicarage West Anstey Devon England
--
_______________________________________________
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.