Join a global community of InDesign users.
Récent
I am new to InDesign JavaScript scripting. I am importing XML into InDesign tables and want to set the table cell "keep options" to "Keep with next row" via a JavaScript script.The aim of the script would be to search for a paragraph style, (Head1) in a table and apply "Keep with next row" = "true" creating a new page break.Any complete examples with a short explanation would be welcome.
Last time I found catalog duplicates being extracted.The main reason for this was that some of the tables themselves did not span a page, they were only on one page, but the “Skip Header Rows” was used.In this case the table of contents at the back was wrong. If there are very few tables, I can remove the “Skip Header Rows” for those tables that do not span pages.However, there are a lot of tables that need “Skip Header Rows” at the beginning, and after the client rewrites them, these tables do not need this feature because there are a lot of them, and it is difficult to recognize the cancellation. In short, if there are hundreds of tables, you will go crazy, the catalog is all wrong.Please research if there is a simple and workable solution for this. Thanks
The font issue is still a headache.Different people's files have different fonts, and ID's packing feature doesn't work for many fonts. It's impatient to deal with other people's files that are always missing fonts. Now we are afraid to use too many fonts. I looked for a script a long time ago, and now I find that I can't type some fonts either.I've also chatted about finding fonts that point to C:\windows\Fonts and others that point to Document fonts. Any suggestions?
I'm working on a book in which the first part of the Front Matter ends on page 13; the Foreword starts on page 14, but no matter what I do I can't get it to start on the verso. The document before ends correctly on the recto, and I've been all over the book and document numbering options and nothing will force this document to move to the verso. I've attached the document in question and a screenshot of the book file. Any help is appreciated!
After the upgrade of the program the diacritic positioning is not working. What do I need to do to start this option? thank you
Hello, I'm not able to click "Create guides" under the Layout menu. It is only for this one brand new document that I opened. I've quit and reopened InDesign, and played around with the preferences, to no avail. Other documents do not have this problem. What could be causing this?Thanks!
I have a file I need to find the textFrames that have " - #” x #”" in the frame. Using the F/C GREP I can find them with / - d+.d+” x d+.d+”/. If I try to using it in my script it does not give anything back on the same text frames.The lines of code where this is used are:app.findGrepPreferences.findWhat = " - \d+.\d+” x \d+.\d+”";info = tFrames.item(y).findGrep();Any help would be appreciated.
Hello, The latest versions of InDesign CC have the functionality for converting endnotes to footnotes or vice versa. This conversion can be for all notes in the document or select notes. My question is whether specific notes can be found in the document based on formatting (e.g. with a GREP search) and then the found note is converted. Consider the following footnotes in a document... 1. Bla bla note one.2. [Lorem ipsum note two.]3. Bla bla bla bla another note here.4. [Eeny meeny miny mo.]5. Ip dip do the cat has the flu. So, I want to find the footnotes in square brackets. I know I can do this with a Grep search which would be something like: Find: ~F\t\[.+\]Find format - Paragraph style: Footnote paragraph The question is whether it is possible to covert the found text into an endnote other than manually through the right click options or TYPE > CONVERT FOOTNOTES AND ENDNOTES options. Does this require a script or can it be done
You may need to determine if the first row is a “continuation row”.If there is already a continuation row, skip it.Then, using the selected row as the basis for the table header, add a merged blank row at the top and apply the “Continue” cell style, then fill the cell with the “Continu” character. Next, copy the initially selected rows, the initially selected rows and new rows will be converted to table headers.Then, set up to skip the first page of the table header. Than k you ,Great Gods. Some good people had written about it, but it was incomplete.var ContinuedRow = app.selection[0] // Optional: // Not optional. // Set the point size in a value, so that the text could be visible despite the minimal height of the cells: ContinuedRow.cells.everyItem().appliedCellStyle = "Continue";//Applying unit styles ContinuedRow.cells.everyItem().topInset = 0;//empty pace above ContinuedRow.cells.everyItem().leftInset = 0;//empty lpace eft ContinuedRow.cells.everyItem().bo
I have an existing INDD file that I want to add some wording to on certain pages.I have the text I want to add in a text box on the pasteboard but when I drag the text box over onto my page the text shifts or spaces out in the text box.I do not have “Text wrap” applied to anything on the page or any “space before or after”.What could be causing this? I’ve used this file a few times and haven’t had a problem.
Bonjour, je voulais savoir s'il était possible de créer un seul fichier indesign (pour 2 flyers) avec des formats différents : un flyer avec 2 volets et un autre avec 3 volets ? Ou, suis-je dans la contrainte de réaliser un fichier contenant 2 volets et un autre avec 3 volets (ce que je fais actuellement). Je pense que cela n'est pas possible mais je tente 🙂
Hi, my document contains URLs as plain texts. I need to export it in interactive PDF.Then all plain text URLs are hyperlinked. How to remove this?What I tried are- insert "hair space" before and after www. and http:- Zero-Width-Space for www. and org. (I found the same topic here, but did not work : https://community.adobe.com/t5/indesign-discussions/remove-auto-generated-hyperlink-in-interactivepdf/m-p/12501186)- Styled with `` (ex. www.instagram.com to `www.instagram.com`)- non break character for a URLMy documents contains hyperlinked URLs too, therefore removing all hyperlinks doesn't work in this case.I had a look hyperlink panel also, but there is no link in InDesign. Only when it is exported in interactive PDF.Thank you in advance 🙂
Is it necessary to save the new version of the image we created in InDesign in Photoshop? <Title renamed by MOD>
Hi everyone, please, if anyone can help me with this issue,I am working on an InDesign project that contains several social media links. In InDesign, the links are fine and can be opened, but when I export the project as an interactive PDF, some links can be opened and others cannot, specifically for Facebook and X.
Hey there, I saw a script for creating rythmic left-aligned text frames. The thing is that the script is only working for InDesign 2021 but not 2023. Is there anyone who can maybe help me to get the script back to work? Script: #target "InDesign"; (function () { var layerName = "R_R_Guides"; if (app.documents.length === 0) { alert("Bitte öffnen Sie zuerst ein Dokument."); return; } var doc = app.activeDocument; init(); var len = app.selection.length; if (len === 0) { alert("Bitte wählen Sie zuerst einen Textrahmen aus."); return; } var flatterzone = 15; // % var randomness = 0; // % var w = new Window("dialog", "Einstellungen"); w.orientation = "row"; w.alignChildren = "top"; var main_group = w.add("group"); main_group.orientation = "row"; var settings_group = main_group.add("group"); settings_group.orientation = "column"; var flatterzone_group = settings_group.add("group"); flatterzone_group.orientati
Hi, I need to add metadata on 100+ documents for three different products. Is it a script that I can run on them instead of manually adding meta doc title and author 1 by 1?For exmaple, the file name is TEST_document_form.pdf, title will need to be TEST document form, and author will be TEST. Basically, same file name for title but without the underscores and '.pdf.' (See screenshot). I have three product names for 'author' (i.e. TEST), I will need to be to able amend this in the script.These documents will be updated from time to time, so I'm looking for an efficient way to maintain.I have seen people post scripts in replies, but I'm not sure how to save it as a script file? i.e copy the code from broswer, then where do I paste to re-save and what format? Apologises if this is silly but I'm new to scripts and couldn't quite understand it from other posts.Many thanks for any help in advance.
I created this code for duplicating a header row into body row, but unfortunately, this code doesn't go well with the InDesign server version, since the .select() method is not available (but works okay in desktop version) // create a simple table with one header row, put the cursor on the FIRST cell and run this code table = app.selection[0].parent; table.rows[0].select(); app.copy(); var newRow = table.rows.add(LocationOptions.AFTER, table.rows[0], {rowType:RowTypes.BODY_ROW}); newRow.select(); app.paste();Is there any way to copy a HEADER_ROW, create a new BODY_ROW and paste the copied HEADER_ROW into the selected BODY_ROW? Later, I would do some changes to the body_row. Any idea which will work in the Server version? Please let me know your thoughts?
Hello, please.What should I write in the next sentence? merge the rows where the cursor is and fill in Cell with the word "Continue"No need to select the the row. thank you~
Hi! I'm trying to write a function, that could update QR code on a page after save. I used code examples from these two discussions in order to solve my problem: https://community.adobe.com/t5/indesign-discussions/is-it-possible-to-generate-qr-codes-in-indesign-using-current-page-number/m-p/13749888https://community.adobe.com/t5/indesign-discussions/is-it-possible-to-run-a-script-automatically-when-a-document-is-saved/m-p/7257249In the end I got the following code:#target indesign #targetengine "session" var myEventListener = app.eventListeners.item("mAfSave"); if (!myEventListener.isValid) { myEventListener = app.addEventListener("afterSave", updateQR); myEventListener.name = "mAfSave"; } function updateQR() { if (!app.documents.length) { return; } var doc = app.activeDocument; var label = 'QRCode'; for (var i = 0; i < doc.pages.length; i++) { var page = doc.pages[i]; var qrCodeFrame = getPageItemByLabel(page, label); if (qrCodeFra
I used InDesign to lay out a 600 page novel. It is set up to be published as a paperback. There are 6 main sections that are actually separate ID documents which are linked in ID as a book. The 6 sections are separated with full-bleed illustrations, and there are chapter headings at the beginning of each chapter. In addition each page has a header with page numbers and section titles, etc. (see attached PDF) Now I want to export an ePub file to use as the platform for a Kindle ebook. I exported a trial epub file from ID, and all the text and illustrations are there, but unfortunately there are two problems:1) All the text is sort of smashed together with no breaks between the various chapters.2) There is no TOC information to help an ebook reader navigate the ebook. Do I need to completely reformat the paperback ID file in a different way to be useful for epub? If so, is there a good tutorial on how to set up an ID project to work for epub exporting? Thanks fo
I'm currently managing a document with 13 master page layouts:12 tailored for each month.1 for a non-specific month.Additionally, I have static designs for daily, weekly, and monthly views. Here are the issues I'm facing:Reducing Master Page Count and document weight: I'm trying to avoid creating 12 variations for each of the 3 types (daily, weekly, monthly), which would result in 36+ master pages.Efficient Design Updates: I need a way to update one static layout and have those changes automatically reflected across all similar layouts.Layer Management: I considered using layers within each monthly layout to switch between daily, weekly, and monthly views. However, toggling a layer on or off affects the whole document, not only the page I am working on.I'm looking for advice or techniques to manage this efficiently. Are there InDesign features like nested master pages, conditional text, or perhaps scripting solutions that could help? Or any other method to control visibi
Text is not completely left aligned in the frame, I have tried everything I can but there is still space between. Also with other fonts. I would like the text to be completely left against the line of the frame.
Hi guys, Indesign has a flowing text and every time the frame needs to be reduced by a third of the left and right page. For example, after running the script, can it perform this reduction process from the point where I click with the mouse to the end of the page? (Note: Sometimes the opposite is needed. I need to spread the text all the way to the end of the page)
Just bought a new MacMini with M4.Exporting a simple InDesign 2025 text page to pdf on my old iMac Monterey 12.7 OS takes 1/2 second.Exporting the same file on my new MacMini Sequoia 15.2 OS the 45 second.Worried how long it will take for a normal artwork with picturesIs that a known issue ?
Hi everyone I've been trying desperately to fix this issue which has been driving me nuts forever. All solutions I have found were already disabled in the first place. When I try to decrease the leading in this Character Style, at some point (around 12pt) the lines stop moving closer within themselves and only the whole box moves upwards.I am not using (Auto) leading on any text in this document, the Character style is not based on any other style, I've set the Paragraph Style to [No Paragraph Style] and Baseline Grid is disabled, Vertical Justification is set to top. I've also tried to set Auto Leading in the Paragraph Justifciation menu to other values, no change.I'd be eternally grateful for any help here! Thanks a lot. CheersT.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.