• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Paste in place

New Here ,
Aug 09, 2012 Aug 09, 2012

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.

TOPICS
Scripting

Views

2.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Enthusiast ,
Aug 09, 2012 Aug 09, 2012

Copy link to clipboard

Copied

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

app.selection[0].duplicate();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 10, 2012 Aug 10, 2012

Copy link to clipboard

Copied

Hi,

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

Thanks and Regards,

Vel.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 10, 2012 Aug 10, 2012

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 )…

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2012 Aug 10, 2012

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 10, 2012 Aug 10, 2012

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2012 Aug 10, 2012

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines