🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
3 messages
3 total messages Started by anon_ymousx Sat, 14 Feb 2009 21:37
multiple 'paste into' script
#1198
Author: anon_ymousx
Date: Sat, 14 Feb 2009 21:37
13 lines
841 bytes
sorry, I only have a bit of programming skills.

Given the image already in the clipboard, and a number of objects selected, how could you do a script to paste into each on of them?

I am guessing something along the lines of:

for (number of selected as $i){
paste into($i);
}

much thanks,

jared
Re: multiple 'paste into' script
#1203
Author: Kasyan_Servetsky
Date: Sun, 15 Feb 2009 06:40
12 lines
843 bytes

var myDoc = app.activeDocument;
var mySel = myDoc.selection;
myDoc.select(NothingEnum.NOTHING);
for (i = 0; i < mySel.length; i++){
   try {
      myDoc.select(mySel[i]);
      app.pasteInto();
   }
   catch(e) {}
}
Re: multiple 'paste into' script
#1146
Author: anon_ymousx
Date: Wed, 18 Feb 2009 04:48
5 lines
625 bytes
Much much thanks,

I'll try it out!

:D:D:D
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads