We have a basic script that moves items around on newly set up machines and deletes unwanted components…
tell application "Finder" activate delete file ":Office 2004 11.1.0 Update Log" delete file ":Applications:Chess" delete file ":Applications:iChat" end tell
Pretty basic, but each time I make changes to protected locations, such as moving things to or from the Applications or Library folder, it asks me for an admin password. Is there a script step or method where I can either input a single password or include the password as part of the script? Would this be better handled in Command Line and if so could you tell me how or point me to a resource for that.