Can't make some data into the expected type

I put this line in a script:

run script file "MyDisk:Users:Larry:Library:Scripts:MyScript"

It gave me the error message, Can’t make some data into the expected type.

After some flailing, I discovered that scripts created in Mac OS X all have the extension “.scpt”. The extension is normally not displayed in the Finder. To verify that this was the problem, I went to the Finder, selected the document “MyScript”, and did a Get Info. Sure enough, the document’s real name was “MyScript.scpt”.

This version worked:

run script file "MyDisk:Users:Larry:Library:Scripts:MyScript.scpt"

I hope this tip helps someone.