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

searching for Jongware merge text boxes script

New Here ,
Apr 28, 2016 Apr 28, 2016

Can some one send me the script or a link to download Jongware's script that quickly threads multiple text boxes on a page spread in InDesign? Are there any more recent scripts that can do the same thing without needing a plug in?

Thx

TOPICS
Scripting
2.7K
Translate
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
Community Expert ,
Apr 28, 2016 Apr 28, 2016

Hello, margoo!

Select the frames you want to thread one by one holding the SHIFT key and run this code snippet:

 

for( var n=0; n<app.selection.length-1; n++ )
{
	app.selection[n].nextTextFrame = 
	app.selection[n+1]
};

 

 

Is that fast enough?
Some clicks and perhaps a KBSC for running the snippet?
(ExtendScript/JavaScript)

 

How to save ExtendScript code to a script file and to install it so that you can use it in the Scripts panel of InDesign:

 

[1] Copy the code above to an unformatted text file.

[2] Save it to your desktop with the suffix *.jsx with a name like:

threadSelectedTextFramesInOrderOfSelection.jsx

[3] Back to InDesign: Open the Scripts panel in InDesign

[4] Select the User folder in the Scripts panel and use the command from the Scripts panel to show the folder in the Finder (MacOS) or Explorer (Windows)

 

You see now that a folder named Scripts Panel is selected in your file system.

Copy the script file you created in step [2] to the Scripts Panel folder.

That's the installation process. Just move or copy a script file to a special folder.

 

[5] Go back to InDesign.

The script should be listed in the User folder of your Scripts panel in InDesign.

 

To execute the script either do a double-click on the name of that listed script or use the command from the Scripts panel fly out menu after you selected the name of the script that is listed.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

 

EDITED AND ADDED STEPS TO SAVE CODE TO A SCRIPT FILE AND INSTALL IT.

Translate
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 ,
Apr 28, 2016 Apr 28, 2016

Works like a charm.

Thanks sanity saver!!

Translate
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
Explorer ,
May 25, 2022 May 25, 2022

Could you kindly please help me with how can I use that line of code? You said that's a snippet, but as far as I know, codes are not snippets. (Note that I'm a newbie in Indesign!)

Translate
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
Explorer ,
May 25, 2022 May 25, 2022

Could you kindly please help me with how can I use that line of code? You said that's a snippet, but as far as I know, codes are not snippets. (Note that I'm a newbie in Indesign!)

Translate
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
Community Expert ,
May 25, 2022 May 25, 2022

Hi Brad,

I edited my post from 2016 above.

Look up my step-by-step description.

 

With "snippet" I meant a code snippet.

Not an *.idms file you can export from InDesign.

Hope, this is clear now.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Translate
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
Explorer ,
May 25, 2022 May 25, 2022
LATEST

I greatly appreciate you. I went through the instruction you elaborated on, and I did it. 
Unfortunately, there's a specific problem. I'm trying to tread my Endnote text frame, and when I run the script, the reference numbers vanish. I'm attaching the before and after of running the code. On the bottom on the image, the reference numbers are missing.

Translate
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
Community Expert ,
May 25, 2022 May 25, 2022

IMPORTANT: Had to edit my code as well.

Because when this thread was moved from the old InDesign forum to this new one the code was slightly damaged in the process. Now it should work as expected.

 

Regards,
Uwe Laubender
( Adobe Community Professional )

Translate
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
Community Expert ,
Apr 30, 2016 Apr 30, 2016

I know of one that was created by Ajar Productions: Ajar Productions » Merge TextFrames Extension for Adobe InDesign

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
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
Community Expert ,
May 02, 2016 May 02, 2016

Hi Colin,

despite the title of this thread, the OP Margoo is looking for a script that is threading text frames, not merging.

At least I understand, that a merge would convert two and more text frames into one single text frame.
Exactly what Justin Putney's script is doing.

Uwe

Translate
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
Community Expert ,
May 02, 2016 May 02, 2016

Whoops!

My mistake. There is this one from Rorohiko: https://www.rorohiko.com/wordpress/indesign-downloads/textstitch/

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Translate
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
Community Expert ,
May 03, 2016 May 03, 2016

I had to do a fair amount of searching myself, as I have no need of this function and so did not save it somewhere on any of my computers - but was this the one you are looking for? http://indesignsecrets.com/topic/is-there-a-script-to-combine-selected-frames-as-threaded-text-40

Note the reference to the same Textstich at the very end of that discussion.

Translate
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