Synchronising footnote options
Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Synchronising footnote options
- This topic has 8 replies, 3 voices, and was last updated 1 year, 1 month ago by Civi Bernath.
-
AuthorPosts
-
-
August 18, 2010 at 6:55 am #56731AlMember
Hi,
I am working in a long document which as a book with about 25 chapters, once per file uploaded to the book. I would to synchronise the footnote options from the master one to the rest. Anyone can tell me if footnote ooptions are variables, numbered lists or something else? because I can see footnotes option to check within the synchronising options.
Thanks
-
August 18, 2010 at 4:15 pm #56737Theunis De JongMember
They fall under “something else” for sure. Footnotes are objects, just like text frames, rectangles, documents, and find/change sets, and have loads and loads of properties. Normally, I would write a script to copy all of the settings one by one, but … footnotes sure have a lot of them.
So I wrote an entirely new sort of script It tries to copy intelligently whatever it can, from your currently active document (which should be in front of you), to either one single document of your choice, or to all open ones. In your case, you should open all of the documents in your book, then make sure the “source” for your footnote options is in front, and then run my script.
It may display an alert telling you what items it cannot copy: not everything in the destination options can simply be “set” to the equivalent value in the source document. For example, if you created a custom character and paragraph style for your footnote options, there should be one with the same name in the destination documents. The same goes for colors and stroke styles.
The script only copies the names of these objects, not their definitions! So if you used a stroke color “MyOwnSpecialColor” that is defined as blue in your source but purple in one of the other documents, the color will not change.
The script is a bit too long to post in-line so d/l it here: ftnoptcopier.jsx (alternatively, download directly from my site: https://www.jongware.com/binaries/ftnoptcopier.zip)
Download (use a right click and select “Save target as”, or equivalent) and move it to your User Scripts folder. Double-click to run — well, after opening all documents you need to adjust, that is.
(After trying it: it seems it gets a .txt added to the file name for free. Remove this, it should simply be “fntoptcopier.jsx”, otherwise InDesign Does Not Compute.)
-
August 19, 2010 at 4:13 pm #56759Theunis De JongMember
Fred Goldman pointed out that the script did not work when the Character Style was set to “Ignore”. I've corrected that (new version) but it's a strange case. Setting “Ignore”, then closing the dialog and reopening it shows the setting as “None”. I should try to find out what InDesign actually does — either way, it's a bug somewhere.
-
September 12, 2016 at 10:48 am #88307Theunis De JongMember
Ow! The linked file has disappeared.
Direct download link: https://jongware.com/binaries/ftnoptcopier.zip
-
August 26, 2022 at 4:07 pm #14371130Barbara TadaParticipant
Does anyone happen to have a copy of this script? Sadly since Theunis has passed, the script is no longer available from the links above.
-
August 27, 2022 at 5:00 pm #14371152David BlatnerKeymaster
Barbara: I have an idea of who might have it… I’ll ask…
-
August 29, 2022 at 7:36 am #14371163David BlatnerKeymaster
I have not tried it, but I think this is the last version of the script.
-
August 29, 2022 at 8:38 am #14371166Barbara TadaParticipant
Thank you so much. I really appreciate you finding this!
-
-
March 13, 2023 at 1:15 pm #14388256Civi BernathParticipant
I was so excited to find this thread. So sorry to hear that Theunis passed away.
Thank you, David, for finding it.
-
-
AuthorPosts
- You must be logged in to reply to this topic.