5 Replies Latest reply on May 20, 2008 12:57 AM by (Dmitry1776)

    How can i change textframe content to clipboard data?

      Set mInd = CreateObject("InDesign.Application.CS3")
      Set mDoc = mInd.ActiveDocument
      Set mFr = mDoc.Pages.Item(2).PageItems.Item("mFr")
      mFr.ParentStory.Contents = " " 'empty contents (away from previous data)
      mFr.ParentStory.InsertionPoints.Item(1).Paste

      ' by this time i have text in clipboard. But this line doesn't work.
      Smtimes says "unable to paste current scrub item"?????
      Or may be i'am to place clip-data into variable and then "content = var"?