Not much more to say...
I have a general purpose InDesign installed on a Mac running Mountain Lion.
It treats the do script command as a compile error.
When I open a script that has that commend, I get this:
Although it runs OK...
Retrieving data ...