Hi,
I have been using as imple Indesign AppleScript but need to convert it to javascript and have no prior experience. I've been reading the Adobe pdf about scripting and it is great as it shows the differences between the 3 (as, js, vb) but I'm still having trouble figuring out how this would conver. Would anyone be able to show me the converted result?
AppleScript:
tell application "Adobe InDesign CS5.5"
tell every document
set visible of layer "Interactive - Web" to true
set visible of layer "Interactive - Print" to false
end tell
end tell
Javascript:
var myDocuments = app.documents.everyItem(); // something like this?
It hides/shows the visibility of 2 specific layers for all opened documents. I pretty much need to hide/show 2 specific layers ina book and this should/can accomplish that.
Thanks for any help!