I think the problem is that System Events doesn't understand the
"log" command. Try commenting out the "log" statement or changing
the statement to "tell me to log 1".
Hope this helps,
jc
Thanks for reminding me, I'd forgotten about that issue with log
commands in tell blocks. Though it turns out that wasn't the problem.
I've now found the problem: I had added a new AppleScript file to my
project, which (for whatever reason) is set to UTF-8 by default. The
problem arose with the line 'click menu item "New…". Now I've
converted the file to Western (Mac OS Roman), the ellipsis is now
understood, and the script works.
Is there a reason for new AppleScript files to be UTF-8 by default?
It seems to me that every one has to be changed to Western (Mac OS
Roman).