Skip navigation
JesRoberts
Currently Being Moderated

Paste an object in pasteboard

May 16, 2012 7:17 PM

How to paste an object in pasteboard in indesign using javascript????

Pls explain me friends..

 
Replies
  • Currently Being Moderated
    May 16, 2012 11:54 PM   in reply to JesRoberts

    use one of the folowing acording to your need

     

    app.paste()

     

    app.pasteInPlace ()

     

    app.pasteInto ()

     

    app.pasteWithoutFormatting ()

     
    |
    Mark as:
  • John Hawkinson
    5,512 posts
    Jun 25, 2009
    Currently Being Moderated
    May 22, 2012 6:41 AM   in reply to JesRoberts

    Generally speaking you should not be using paste and the clipboard in scripting. Instead you should use the .duplicate() method to copy an object; you can specify the destination of the duplicate so you can provide the coordinates of the location on the pasteboard.

     

    If you use the clipboard, your script will be slower, and it will not preserve the user's prior clipboard contents.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points