Do Script not working

Oct 16, 2012 11:11 AM

Whenever I try and use “do script” I get an error “expected end of line but found script”

I don’t get it? I know I have used it before and it is in the InDesign scripting library.

Any help would be greatly appriciated.

tell application “Adobe InDesign CS4”

do script "SALEPRICE.jsx"

end tell

Try:

do script "Path:to:Script.jsx" language javascript