Automatic internetsharing at boot
Posted: Wed May 06, 2015 11:02 pm
I successfully saved a script as app and put it into ligin items, to start up
internetsharing at boot, so I can use a Mac Mini via airport from remote with vnc...
( 10.6.8 )
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
click menu item "Sharing" of menu "View" of menu bar 1
delay 2
tell window "Sharing"
click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1
delay 1
if (exists sheet 1) then
if (exists button "Turn AirPort On" of sheet 1) then
click button "Turn AirPort On" of sheet 1
delay 1
end if
click button "Start" of sheet 1
end if
end tell
end tell
end tell
Problem :
Internetsharing has to be turned off at shutdown every time...
Any script spezis around that can help ? ( 10.6.8 )
Thanks a lot
and best regards
Klaus
internetsharing at boot, so I can use a Mac Mini via airport from remote with vnc...
( 10.6.8 )
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
click menu item "Sharing" of menu "View" of menu bar 1
delay 2
tell window "Sharing"
click checkbox 1 of row 11 of table 1 of scroll area 1 of group 1
delay 1
if (exists sheet 1) then
if (exists button "Turn AirPort On" of sheet 1) then
click button "Turn AirPort On" of sheet 1
delay 1
end if
click button "Start" of sheet 1
end if
end tell
end tell
end tell
Problem :
Internetsharing has to be turned off at shutdown every time...
Any script spezis around that can help ? ( 10.6.8 )
Thanks a lot
and best regards
Klaus