Set Computer Name

Has any one overdone an AppleScript to set a computer Name with input prompt for Prefix and finding the Serial of mac plus input prompt user name???
M

Hi. Welcome to MacScripter.

This forum, Code Exchange, is for offering and discussing working code and techniques. I’ll ask for your post to be transferred to AppleScript | Mac OS X, which is for help queries.