Skip navigation
piggychops
Currently Being Moderated

Paste in place

Aug 9, 2012 9:53 PM

Tags: #illustrator_cs5 #"indesign_scripting" #illustrator_cs6 #illustrator_scripting

I want to use Paste In Place function in Illustrator using Illustrator javascript. Now I am using app.paste() it will paste the content but the position may differs so i want to paste in exact place how I did copy.

Can anyone please help on this.

 
Replies
  • Currently Being Moderated
    Aug 9, 2012 10:11 PM   in reply to piggychops

    Use duplicate() method: duplicate([relativeObject][,insertionLocation])

     

    app.selection[0].duplicate();

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 12:18 AM   in reply to piggychops

    Hi,

        Did you tried app.pasteInPlace() ? I hope it will work...

     

    Thanks and Regards,

    Vel.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 1:17 AM   in reply to Velprakash

    That is an ID app command? Not in AI unless it's been added to CS6 ( I don't have yet )…

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 2:43 AM   in reply to piggychops

    You need bridgetalk to communicate between app's but I've just seen that answered over in ID forum…

     
    |
    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