I help with Mac Support and after reimaging SEVERAL Macs with MAC OX 10.3.9 I would like to automate some of the System Preferences settng I need to make. I have found scripts to help with some of the settings but not all.
Things I would like to set Classic:
After it finds the System folder on the startup disk, Set “Start classic when you log in” and “Hide classic while starting” to true (checked).
Then Start classic
-I can get the classic pane to open but not set the properties
International:
Get to the input tab and turn on character palette and keyboard viewer
-I can get to the input tab but not check ON the two menu items
Sound:
Get to the sound effects tab and set the alert volume to .5
-I can get to the sound effects tab but not set the alert volume to .5. I can set the output volume to .5 with
tell slider 1 of group 1 of window 1 of process "System Preferences"
set value to 0.5
end tell
but I can not find the correct values for the alert volume slider.
Desktop & Screen Saver:
Set the Screen saver to 5 min.
Energy Saver:
Set the Sleep, computer inactive slider to 1 hour and display sleep slider to 30 min.
Network:
Add several search domains to the Built-in ethernet TCP/IP tab
Lastly, how do you activate the Show All?
Thank you VERY much,
Steve
Model: g4/g5
AppleScript: 1.9.3
Browser: Safari 312.3
Operating System: Mac OS X (10.4)
The only change I needed to make was in the energy saver script.
-- Energy Saver: (number = minutes) --
set the psswrd to ""
display dialog "Enter the user's password:" default answer the psswrd buttons {"Cancel", "OK"}
copy the result as list to {the psswrd, the button_pressed}
do shell script "pmset -a dim 30 sleep 60" password psswrd with administrator privileges
I needed to use “dim” instead of “displaysleep”.
Thanks ALOT!!
Steve
this might help you with what your doing as well something i put together.
set TopL to "Dashboard"
set TopR to "Application Windows"
set BottomL to "All Windows"
set BottomR to "Desktop"
-- set the above variables to the selection you would like
-- Change the delay times if you get errors
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.expose"
delay 0.5
end tell
tell application "System Events"
tell application process "System Preferences"
tell window 1
tell group 1
tell pop up button 1
click
click menu item TopL of menu 1
end tell
delay 0.5
tell pop up button 2
click
click menu item BottomL of menu 1
end tell
delay 0.5
tell pop up button 3
click
click menu item TopR of menu 1
end tell
delay 0.5
tell pop up button 4
click
click menu item BottomR of menu 1
end tell
end tell
end tell
end tell
end tell
delay 0.3
tell application "System Preferences" to quit
delay 0.2
Since you were so helpful, could you give me some tips. I would like to set my grandmother's screensaver to the iDisk screensaver. She is running Tiger on an eMac. Here is what I need to do:
Go to system presfrence pane for Desktop and Screensaver (Tried, but couldn’t figure out how)
Go to system presfrence tab for screensaver (Tried, but couldn’t figure out how)
Set the screensaver to “.Mac”
Go to options
Set iDisk user as “username”
Because this is a new computer, I need to have the script insert my username instead of clicking it from the choices already because it won’t be there. Thanks a lot!