Questions
Als letztes aktiv
How do I modify this script , make it duplicates the currently selected rowsThen add a empty at the table top//first table in the active document var table=app.activeDocument.textFrames[0].parentStory.tables[0] dupeTopRow(table); table.rows.add(LocationOptions.BEFORE, table.rows[0]); /** * duplicate the first row af a table * @ param the table * @ return void */ function dupeTopRow(t){ var nr = t.rows.add(LocationOptions.BEFORE, t.rows[0]); var c = nr.cells var lr = t.rows[1].cells for (var i = 0; i < c.length; i++){ c[i].properties = lr[i].properties; }; }
Hi.I want to replace the strings ": " or "- " by a carriage return when the style applied to the test is "GROUP1:SUBGROUP1:title2".I have a stored GREP with the following properties:Find waht: (: |- )Change to: \nFind Format: Paragraph Style: title2 (GROUP1:SUBGROUP1)Include footnotes: enabledThis GREP is called within a script.app.loadFindChangeQuery ("tempGrep", SearchModes.GREP_SEARCH); app.documents[0].changeGrep();It works fine in InDesign desktop (version 20.0.1 and 19.5.1). It returns 3 occurrences.It does not work in InDesig server (version 20.0.0.95). It returns 1080 occurrences.I have also tried to not use the stored GREP but configure the properties in a script:app.findChangeGrepOptions.includeFootnotes = false; app.findChangeGrepOptions.includeHiddenLayers = false; app.findChangeGrepOptions.includeLockedLayersForFind = false; app.findChangeGrepOptions.includeLockedStoriesForFind = false; app.findChangeGrepOptions.includeMasterPages = false; app.findChangeGrepOptions.kanaSen
This is the query: and in UI it will find this - which is what I'm looking for: but through scripting - it will also include the graphics below, from the next paragraph - that is also styled with "R-cena"... What am I doing wrong ? I've added ^...$ in the hope, that it will find only single line texts - but it still includes EVERYTHING after the "281,-"??
Hey everyone, hoping someone can help me with this line spacing issue. I am trying to adjust the spacing between lines of text in a paragraph. I use the leading option to change the value from 12 to 13. I only want to add slightly more space between lines of text, so I increase the value by 1. However, just changing the value from 12 to 13 seems to add way too much spacing between lines, about double the amount of spacing. When working in Photoshop, adjusting the leading by 1 number makes a very subtle change, so I don't understand why InDesign is adding so a huge amount of spacing by going from 12 to 13. Even if I type in "12.1" it adds the same amount of spacing. Another strange issue is, if I go all the way up to "24" the amount of spacing between lines doesn't change at all. It seems to add the same amount of space between lines for value selected between 12-24. Can someone please help me to figure out how to adjust this?
Hey everyone, I have been developing a merge process using Excel. With the text, it's gone smoothly, but I'm having trouble getting Excel to recognize the images. It won't find the correct image path. "One or more images referenced by the data source file are missing. Click Continue to create the merged document without the missing images, or click Cancel to return to the target document without merging." I'm using the latest versions of macOS, Indesign, and Excel. The fields are mapped correctly, and I suspect it has something to with the file path of the images. The way that I found the file path was to option right click which allows the file to be copied as a pathway. I've experimented placing the files in a different location central to the InDesign file itself and changing the pathways based off of this option, but i get the same problem. I'm using a .txt file for the data merge. It doesn't seem like InDesign will recognize a csv or direct Excel file.&nbs
What is the code to skip the header row of the first page, please?Thank you.
I have tried everything. I am fairly beginnger though so this is probably easily fixed. On page 17 of my document, suddenly on all the odd numbered pages there is a huge gap/margin, forcing the text to start in the middle of the page. I have no clue how this happened. I have tried messing with the keep options and the balance ragged lines options to no avail. Please help. Thank you.
Hello! I am new to Indesign and I am trying to use data merge (multiple record feature). All the information in my Excel sheet is transferred correctly but when auto height is selected in the text box there is unwanted alignment.
Hello, I'm looking for a script that allows me to correct cell style overrides in a table.I found one but it is not restrictive enough, I would like it to fix all the replacements except when the style "without" is associated with the cell.Thank you in advance.
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.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.