Can someone help me create a script that asks for the Computer Name on a Mac?
Hello. I've been playing with scripting for Pre-Installation task, but I really don't know shell scripting or applescript very well. The whole process would consist of both a Pre-Installation and a Post-Installation task. The Pre-Install task would use just simply ask "What will be the name of this Mac?" Something that I've been able to accomplish with the applescript: display dialog "What will be the name of this Mac?" default answer "" Then the answer would be saved and during the Post-Install task, it just assigns the computer name to the Mac after imaging.
Pretty simple. Can anyone help?