TᴀW
People's Champ
TᴀW
People's Champ
Activity
Apr 30, 2025
04:11 AM
5 Upvotes
And in fact I think that nested styles is the better option. Paragraph GREP styles that are heavily used in a document can cause slowdown...
... View more
Apr 28, 2025
03:54 AM
Floats is a wonderful idea in LaTex, and InDesign doesn't have anything like it as far as I know. It's a graphic element that's a bit like an anchored object except that it can position itself in the nearest available spot to its text anchor without being actually part of the text flow. This means that text can flow freely around it. For instance, you can set a float's position to be at the top of a page, and it will position itself at the top of next available page, even if that is on the next page. Anchored objects in InDesign are much more limited in that the objects must be on the same spread as their anchor. So if the anchored object is set to be at the top of the text frame and this causes the anchor itself to jump to the next page, it drags the object to the next page as well, leaving an impossible white gap on the previous page. Floats in LaTex are much smarter. I once tried to script floats in InDesign, it actually worked very nicely and saved loads of time for my own projects, but would have taken a lot more work to turn into a commercial project.
... View more
Apr 21, 2025
03:32 AM
100 pages is absolutely fine. Most books are 200-300 pages, and I've 1200+ all in a single file as well...
... View more
Apr 07, 2025
04:38 AM
Search-in-Styles (basically find/change inside paragraph styles and character styles) lets you do this (and, indeed, find/change almost anything else in paragraph and character styles): https://www.id-extras.com/products/search-in-styles/
... View more
Apr 03, 2025
12:32 PM
Looks like it. I upvoted it just now.
... View more
Apr 03, 2025
08:08 AM
Philosophically, of course, ChatGPT is never right. It's just more or less lucky.
... View more
Apr 03, 2025
02:11 AM
4 Upvotes
If I'm not mistaken, itemByName will get a frame according to its name in the Layers panel, not its script label.
... View more
Apr 02, 2025
09:02 AM
If the fonts have been properly embedded in the PDFs, they're there, and nobody would need a subscription to be able to continue seeing the PDF as you intended.
... View more
Apr 02, 2025
07:20 AM
Note that if you are using InDesign's Buttons and Forms panel to set the font of form fields, those fonts will not be properly embedded in the final PDF. So if the end-user doesn't have the fonts installed, they won't be able to use your fonts to enter data in form fields on the final PDF. To properly embed fonts, you would need to select the font for each field in Acrobat rather than InDesign, or use FormMaker (which would allow you to choose the font in InDesign).
... View more
Mar 12, 2025
12:38 PM
If you want a paid-for solution, my Extract Pages is quite popular: https://www.id-extras.com/products/extract-pages/
... View more
Mar 06, 2025
06:15 AM
3 Upvotes
This script should do the trick. (No AI involved :-), so it actually works!) pp = document.pages.everyItem().getElements();
s = [];
for (i = 0; i < pp.length; i++){
f = pp[i].tabOrder;
for (j = 0; j < f.length; j++){
s.push(f[j].name);
}
}
prompt("All fields, ready to copy...", s.join("\r"));
... View more
Mar 06, 2025
05:57 AM
2 Upvotes
When you compress images during InDesign export, the type of compression can, sometimes, make a big difference, depending on the type of drawing. For line art, if I remember correctly, "Nearest neighbour" can give much better and sharper results than some of the other settings. Worth playing around with a little more. And obviously, if there's any way of using vector art rather than bitmap, that would also save a lot of space.
... View more
Mar 04, 2025
06:17 AM
When you update the table of contents, it reverts to the basic table of contents formatting. Any custom formatting is lost, and will have to be redone. The best option is to convert the page numbers to live cross-references. That way, if pages are added or deleted, the page numbers update automatically and you never need to click on the "Update table of contents" option again! You can create the cross-references manually in InDesign (which is pretty quick and doable if there are only a handful), or there is my paid solution (a script), LiveTOC: https://www.id-extras.com/products/livetoc/
... View more
Feb 19, 2025
12:54 AM
If you do actually have the ME version, as @Willi Adelberger says, in the Story panel (the same place where you would set optical margin alignment) you also have a small icon at the bottom to set the "story direction." The order of the columns in a text frame follows the story direction, so if you want the columns ordered left-to-right, make sure the story direction is set to left-to-right, and if you want columns RTL, make the story direction RTL as well.
... View more
Feb 15, 2025
03:57 PM
4 Upvotes
.properties will catch most stuff, but it's only a shallow copy. For those properties that are themselves objects, IIRC it won't work. FWIW, the way I deal with it is this https://www.id-extras.com/tidy-up-after-yourself/ (written 11 years ago, but still works!)
... View more
Feb 12, 2025
06:16 PM
2 Upvotes
Hi @Cosmosflower, I'm glad you were able to answer your own question! It is true, as you say, that it is not possible to create a comb field in InDesign natively, and it has to be done in Acrobat. However, if you're doing a lot of this, and would nevertheless like a solution in InDesign, take a look at my (not free) FormMaker add-on: https://www.id-extras.com/products/formmaker/ It lets you do, in InDesign, pretty much anything to a form field that you can do in Acrobat, including creating comb fields and much more. There's also a free version for short, one-page forms.
... View more
Feb 05, 2025
04:37 AM
That's a good question. I was playing around with it a little and I'm not sure. All I can think of (untested) is to create two superimposed checkboxes. Clicking on one causes it to hide itself and show the other, and vice versa. That way you provide different visibility configurations for each checkbox. But I think what Adobe intended (if they intended anything at all), or, at least, the simplest option, is to create two buttons side by side. One should be labelled "Show Map" (or whatever it is you're showing), and the other "Hide Map". At that point it is easy to show and hide layers depending on which button has been clicked.
... View more
Feb 04, 2025
04:01 AM
It should be possible. You need to create a button in InDesign, then add an action ("Show/hide buttons and forms"), and you get this:
... View more
Feb 01, 2025
01:07 PM
4 Upvotes
This one-line script (save it from a text editor with a .jsx extension) will export your document using whatever pdf preset you choose (just change the string between the quotes to the name of your preset): document.exportFile(ExportFormat.PDF_TYPE, File.saveDialog(), true, app.pdfExportPresets.item("YourPresetName"));
... View more
Jan 29, 2025
05:59 PM
1 Upvote
Hi @Robert at ID-Tasker, thanks for the mention. I think the issue @andre_5823 has here is too specific for FormMaker. FormMaker does make it a lot easier to create interactive PDFs, but to automate its contents from a CSV? I think it would need a custom script...
... View more
Jan 29, 2025
02:46 AM
Insane code as always! Thanks Marc.
... View more
Jan 26, 2025
03:03 PM
My Autofit Columns script (not free) snaps the column width to the cell content. It takes account of cell and table strokes, and works with rotated tables, etc. Plus, after fitting the columns, it optionally lets you readjust the entire table width proportionally to fit the width of the text frame or column, or a simple fraction of those widths. Worth checking out: https://www.id-extras.com/products/autofit-columns/
... View more
Jan 22, 2025
02:58 PM
Great, glad it helped. I just edited the last sentence of my reply (INTERACT_WITH_ALL is what you want at the end of the process).
... View more
Jan 22, 2025
02:04 PM
1 Upvote
Styles and swatches are part of the document. Font are not, so if you're using your own fonts that don't exist on the other computer, they will be missing when you open the file. InDesign has a "package" command, that will allow you to package everything (graphics, fonts, etc.) with one click (File > Package). (Some fonts can't be packaged, though.)
... View more
Jan 22, 2025
02:00 PM
Sure, just add at the beginning of the script: app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT; ... just make sure to set it back to INTERACT_WITH_ALL at the end of the process!
... View more
Jan 22, 2025
06:05 AM
Hi Abhishek, Do you mean that this bug has been fixed inside the new Harfbuzz composer, or do you mean that it's been fixed by providing a workaround to switch to the legacy World-Ready composer?
... View more
Jan 22, 2025
02:40 AM
2 Upvotes
I'm also not sure what the question here is, but to make it easier to find a specific keyboard shortcut, click on the "Show Set" button. The shortcut set will open in a text editor, where you can do a plain text search for key-press combinations or InDesign commands. That has helped me in the past...
... View more
Jan 20, 2025
11:17 AM
Hi Mike, Try this (I haven't tested it though): scaledElements = app.activeDocument.allPageItems;
for (i = 0; i < scaledElements.length; i++) {
if (scaledElements[i].hasOwnProperty("redefineScaling")) scaledElements[i].redefineScaling();
}
... View more