Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Use duplicate() method: duplicate([relativeObject][,insertionLocation])
app.selection[0].duplicate();
Copy link to clipboard
Copied
Hi,
Did you tried app.pasteInPlace() ? I hope it will work...
Thanks and Regards,
Vel.
Copy link to clipboard
Copied
That is an ID app command? Not in AI unless it's been added to CS6 ( I don't have yet )…
Copy link to clipboard
Copied
Yeah... Actually i wanted to copy the content from Indesign and paste it in
Illustrator using app.copy() and app.paste() commands.
Copy link to clipboard
Copied
You need bridgetalk to communicate between app's but I've just seen that answered over in ID forum…
Copy link to clipboard
Copied
Yeah i'm using that but the thing is i want to use paste in place not app.paste()... because if i just paste the content the coordinates value may change sometimes. I want to get the exact output as it is there in Indesign.