Monday, December 11, 2017

#1 2012-10-16 02:19:27 pm

kobrien1
Member
Registered: 2010-09-16
Posts: 5

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

Offline

 

#2 2012-10-16 05:45:57 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5197

Re: Do Script not working

Try:

Applescript:

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


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)