<pre>on changeFileIdentity filePath,fileType,creator  ---  put "set myCreator to" && quote & creator & quote & return after scriptVar  put "set myType to" && quote & fileType & quote & return after scriptVar  put "set myFile to" && "(" & quote & filePath & quote && "as alias)" & return after scriptVar  ----  put "tell application" && quote & "Finder" & quote & return after scriptVar  put indent(2) & "set currentFile to myFile as alias" & return after scriptVar  put indent(2) & "set the creator type of currentFile to myCreator" & return after scriptVar  put indent(2) & "set the file type of currentFile to myType" & return after scriptVar  put "end tell" after scriptVar  ----  do scriptVar as appleScript  ----end changeFileIdentity</pre>