This content has been marked as final. Show 3 replies
InCopy is for editing text, I would assume (without checking) layout operations have been omitted from its scripting object model. If you want to change your layout, use InDesign.
What is this script used for if InCopy doesn't have the ability to add textFrames?
The script is part of the scripting guide collection of example scripts - I found copies in the SDK and I think I downloaded a guide-samples archive which has another copy.
As I'm having a first look at them at this moment, I think these scripts are more meant to illustrate specific commands/methods for reuse in your own scripts and supporting the scripting guide, rather than to be executed for a specific purpose.
One indicator for this is that the file name is hard wired rather than using a choose-file dialog, and that path looks really PC-ish on my Mac.