I to start off a script by renaming the hard dirve. I wrote this one but it done not seem to be working.
on open (thisDrive)
tell application "Finder"
set name of thisDrive to "Macintosh HD"
end tell
end open
I get the error can’t set name of {alias “Untitled 4:”} to “Macintosh HD”