I am trying to create an Apple Script so that the com.apple.dock.plist file is overwritten by one of my choice every-time a user logs in. This way I can keep the docks looking the same computer to computer.
This is what I am trying, but nothing is happening
tell application "Finder"
duplicate file "source file here?" to folder "What would I put here so the current users com.apple.dock.plist is overwritten by the one of my choice"
replacing
true
end tell
Basically I need my com.apple.dock.plist to be overwritten to users/currentuser/library/preferences -so first I need the current user to be found
Thanks!
This is what I am trying, but nothing is happening
tell application "Finder"
duplicate file "source file here?" to folder "What would I put here so the current users com.apple.dock.plist is overwritten by the one of my choice"
replacing
true
end tell
Basically I need my com.apple.dock.plist to be overwritten to users/currentuser/library/preferences -so first I need the current user to be found
Thanks!