2 Replies Latest reply on Dec 14, 2011 1:20 PM by richardh6

    [JS CS5] unlink story from its inCopy file

    richardh6 Level 1

      How do I accomplish with a script the equivalent of clicking on a story in the assignments panel and going to "Unlink content" in the assignment panel's options menu?


      What I want to do is


      myStory.lockState = LockStateValues.NONE;


      but this is not the way to do it because lockState is a Read-only value. I could not find a method of the story object that allowed me to set the lockState.


      Any ideas?