plain txt format can not run

I write a script with notepad in windows, but when run it,
error happens"Selection Failed in 0:00:00 STAlert Bad value for Object expression. Looking for an object or script identifier,".
Is this txt different with eggplant plain txt?

Well, this post has been sitting for quite a while, but I’ll venture a guess. I think you’ve probably got some line endings (or something) that Eggplant doesn’t understand. I often see this if I copy SenseTalk code from an e-mail and try to paste it into an Eggplant script window. It’s nothing that we’re doing intentionally to prevent you from using another text editor; it may be that the default encoding of your editor is different from the default encoding used by Eggplant.