I’m trying to get the Finder to make a folder with its name set by a variable. The first folder works fine, but when I try to make a folder the same way in the above folder it gives me the error: Finder got an error: Invalid key form. Any suggestions?
tell application "Finder" to set myvendor to make new folder in disk "Media" with properties {name:myvendor}
tell application "Finder" to set formnum to make new folder in folder myvendor in disk "Media" with properties {name:formnum}