Join a global community of InDesign users.
Askettäinen
Hi,I'm trying to find text with specific character style and create a new anchored TextFrame.The code below works only on first match. var main = function() { var doc = app.properties.activeDocument, found, foundlength, selection = app.selection[0] if ( !doc ) return; app.findGrepPreferences = null; app.findGrepPreferences.properties = { findWhat : ".+", appliedCharacterStyle : "style1" }; found = selection.findGrep(); foundlength = found.length if ( !found.length ) { alert("Nothing found"); return; } for (i = 0; i<foundlength; i++) { var myNewTextFrame = found[i].insertionPoints[0].textFrames.add(); //myNewTextFrame.appliedObjectStyle = objectStyle; found[i].move(LocationOptions.AT_BEGINNING, myNewTextFrame.insertionPoints[0]); } } app.doScript(String(main()),ScriptLanguage.JAVASCRIPT,[],UndoModes.ENTIRE_SCRIPT,'main');
The first one is: how to change these font preview samples?I want to customize the samples.Where are they hiding? The second one is: Preferences>Text>Preview on hover, how do I see the effect of this, I don't see any change.I see that checking it, or unchecking it, previews the font effect of the currently selected content in real time.I don't know where it says preview.Thanks.
Swapped the myPlace PDF function for this one: function myPlacePDF(myDocument, myPage, myPDFFile) {app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;var myCounter = 1;var myBreak = false;var myPDFPage;// Temporarily place to get dimensionsvar tempPDF = myPage.place(File(myPDFFile))[0];var pdfBounds = tempPDF.geometricBounds;var pdfWidth = pdfBounds[3] - pdfBounds[1];var pdfHeight = pdfBounds[2] - pdfBounds[0];tempPDF.remove();var pageWidth = myPage.bounds[3] - myPage.bounds[1];var pageHeight = myPage.bounds[2] - myPage.bounds[0];// Center the frame itself on the pagevar offsetX = (pageWidth / 2) - (pdfWidth / 2);var offsetY = (pageHeight / 2) - (pdfHeight / 2);while (myBreak == false) {if (myCounter > 1) {myPage = myDocument.pages.add(LocationOptions.after, myPage);}app.pdfPlacePreferences.pageNumber = myCounter;myPDFPage = myPage.place(File(myPDFFile), [offsetX, offsetY])[0];if (myCounter == 1) {var myFirstPage = myPDFPage.pdfAttributes.pageNumber;} else{if (myPDFPage.pdfAtt
Like below, my top line, trying to get the number of women attending.Even if, for example, you can quote character styles. Also, when I create a hyperlink target as "Page", why can't I find "Page Target" when I insert it.How to use page target?
Hello! I would like to creat a GREP that bolds all numbers (including commas, decimals, and percent signs), but excludes a number that follows the name of a month. I also need one to italicize the phrase "The Movement." Example sentence below: In August 2024, we wrapped a year of strategic initiatives. Our survey found that 100% of respondents agree or strongly agree that The Movement was a successful film rollout campaign. I have two character styles and two GREP created:bold numbers applied to (\d{1,3}(?:,\d{3})*(?:\.\d+)?%?|\d+(?:\.\d+)?%?italicized movement applied to \b(The Movement)\b when I add a third character style and try different GREP to exclude the August 2024 from bolding, 100% is no longer bolded. any ideas?
For the last year or so my InDesign crashes when I 'save as' to Google Drive. It happens 9 out of 10 times and is very frustrating. Some notes:When it crashes, the file will open up when InDesign restarts with the original file name. The new file name I tried to save it as will be in the folder where I tried to save it. If I 'save as' again and select that file, it is able to replace the file without crashing.It does not crash when I 'save copy'. So my workaround is to 'save copy' then 'save as' and replace the file. It's a tedious workflow.Sometimes when I 'save as' it doesn't crash, but I'm unable to determine what factors influence this. Any help with this would be massively appreciated!Thanks,Calum
Hello,I have created an EPUB (fixed layout) file with animations in Indesign, which works without problems on a Thorium reader on PC. When I checked the file on the EPUB checker, it reports errors with the animations, and it reports similar or the same error everywhere with all the animations: »data-idGenAnimationEndState« is not valid custom attribute (it must have at least one character after the hyphen, be XML-compatible, and not contain ASCII uppercase letters). For example, if I try to change the uppercase letters, it no longer reports an error, but the animations don't work anymore. Does anyone have any ideas or advice on how to solve this problem?
Hopefully one day the positioning object will have a wrap-around effect on the text above it This issue is too bad.It would be so nice to locate objects without this problem.This one turns down, picks up, do you have a better way to control it?
I have placed a rectangular image to fall between two columns of wrappiing text. The text will not wrap. The object has been brought to the front. The screen shot attached shows the page and the text wrap box.It is on the last page of "Sanskrit Article," attached.
I have a project with multiple ICML files (generated via Pandoc, plus some additional scripting), with internal hyperlink references between files—so one file might define an anchor like:<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/Header2"> <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle"> <HyperlinkTextDestination Self="HyperlinkTextDestination/#substrates" Name="#substrates" DestinationUniqueKey="2394463933"/> <Content>Substrates</Content> </CharacterStyleRange> </ParagraphStyleRange>and another file reference it like: <HyperlinkTextSource Self="htss-16" Name="#substrates" Hidden="false"> <CharacterStyleRange AppliedCharacterStyle="CharacterStyle/Link"> <Content>Substrates</Content> </CharacterStyleRange> </HyperlinkTextSource> <!-- ... --> <Hyperlink Self="uf-16" Name="#substrates" Source="htss-16" Visible="false" DestinationUn
I have a project from one of our client in which source InDesign files are XML tagged. Challenge is that as per the localization/translation process when we convert these XML tagged InDesign (INDD) files into IDML format for our localization use, those IDML files are not opening in InDesign CC 2018 or any other CC version and resulting the InDesign application to getting crashed. Can anyone kindly check if similar issue was faced by anyone and if there is a solution to convert these INDD files to IDML and open these IDML retaining the XML tagging even after the localization process? Thanks.
Bonjour à tous, En tant que graphiste et directeur artistique avec presque 10 ans d’expérience dans le domaine, je tiens à partager ma frustration face à la dernière version d’InDesign (CC 2025). Depuis son installation, je rencontre une lenteur insupportable dans toutes les actions, que ce soit sur des projets complexes (livres avec de nombreux styles, gabarits et fichiers TIFF lourds) ou même sur des fichiers simples et neufs. Chaque clic ou déplacement semble prendre une éternité. En plus de ça, les polices d’Adobe Fonts refusent de se synchroniser correctement : le téléchargement reste bloqué en permanence, ce qui complique énormément mon flux de travail. Pour ne rien arranger, plusieurs imprimeurs et éditeurs avec qui je collabore m’ont conseillé d’éviter cette version et de continuer à utiliser InDesign 2024, ce qui en dit long sur la confiance qu’inspire cette mise à jour. Je suis surpris qu’un outil professionnel, vendu à un tarif aussi élevé, puisse présenter autant de problèm
Greetings! I have read over many of the posts in this thread, but none are quite the same as mine. I have a document with seven pages besides the TOC page. There are separate text frames on each page being used as headers and subheaders. They are formatted with Paragraph Styles. All the entries show up in my TOC but in the wrong order: page 6, 7, 1, 2, 3, 4, 5. I originally built the page with five content pages, then duplicated spread at end of document on two of the original pages to create pages 6 and 7. The pages appear in the correct order in my doc and the page numbers (from Parent page) are correct.Thanx,Jay
como inserir multiplas paginas de um pdf no indesign com texto editavel?pois com o PlaceMultipagePDFInsere todas as páginas de um PDF.eu consigo porem vem todos como imagens .não consigo altarar texto. o pdf ta com texto normal.
Dear Team,We are working in InDesign CC 2017 on Mac OS-X, While deleting some box item in pages InDesign unexpectedly closes. We are trying to open the file, but InDesign shows "Document contains an invalid frame" alert message. We are not able to recover after selecting Yes/No option.Could you please suggest any option to recover the InDesign file.Regards,Suresh
Unable to contact Adobe developers directly, but it's pretty poor that the word 'Portrait' is misspelt in the InDesign document set-up drop-down menu...maybe it's an American thing?
I'm trying to edit the bullet point distance from the first word of the Sentence.I tried the following:Opened Paragraph StylesClick the top right corner dropdown and chose Style OptionsClick on Bullets and NumberingI Chose Bullets from the List Type dropdownI changed the Tab Position to 5mm as a testThis worked, but..........When I clicked on ok to close the Style options, every sentence in the document became a bullet list.Every time I create a new sentence ina new Text box it is automatically converted to a bullet pointIf I go back in and undo the Style then I lose all Bullet lists.I am obviously doing the wrong thing.I simply want to change the distance between the Bullet point and the Sentence by half, so that if I create a bullet list it will be a shorter distance. Similar to the above list!Thanks
Seit dem neusten Update habe ich folgendes Phänomen: Ich möchte mit gedrückter Maustaste mehrere Objekte auswählen. Sobald ich die Taste drücke, verschwindet alles hinter einer weißen Fläche. So ist es unmöglich, mehrere Objekte durch ziehen auszuwählen! Extrem störend. Was kann ich tun?
In my InDesign document I have equations as images, in accessibility pdf it as tagged as <Figure> automatically, I need to tag it as <Formula>, how can I do it from InDesign through InDesign scripting
Hi, I'm trying to make a script where it will take highlighted text, make it into a hyperlink, format it with a character style and make the destination a page within the document, specifically the number that is the highlighted text. The usecase is an index - so I highlight 151, for example, and the script applies the character style "Hyperlink" and makes the text a hyperlink to page 151. Below is what I have so far but I'm tweaking a script I found elsewhere (source below) and I'm really struggling. I'm afraid this is not a particular strength of mine. If anyone fancies digging into it and seeing if they can make it work, I'd be very grateful! Thanks, Eubhal Script: Main();// If you want the script to be un-doable, comment out the line above, and remove the comment from the line below// app.doScript(Main, undefined, undefined, UndoModes.ENTIRE_SCRIPT,”Run Script”);function Main() {//This takes the text that you have highlighted on the pagevar myHighlightedTex
Hello. I would like to make a folding work in china language in InDesign. Is that possible? I cant find any font in china language or china in language list.
Dear Community Is there a possibility to automatically open a link behind a QR-Code in any browser?I can't see any other option than scanning with my phone. Thank you.
Please help - I am simply trying to add a drop cap, with 3 lines, like the N, but when i do it to my I, it jumps to the right of the text box. Can anyone please advise, possibly? (All my text is left aligned)
My Direct Selection tool is not moving individual anchor points from objects that I draw with the Pen Tool. It should function the same as Illustrator and allow you to select an anchor point and move the individual point. Is there a setting that I am missing somewhere for this? InDesign 17.1 Creative Cloud.Thanks!Austin
Hi everyone,I want to create a script that finds all block texts in bold style and changes the format of the first letter of every word found in bold.My script is not working, and I don't have enough knowledge to correct it.Please could you help me: if (app.documents.length === 0) {alert("Nenhum documento está aberto!");} else {var doc = app.activeDocument;if (doc.stories.length === 0) {alert("O documento não contém nenhuma história de texto!");} else {for (var i = 0; i < doc.stories.length; i++) {var story = doc.stories[i];for (var j = 0; j < story.paragraphs.length; j++) {var para = story.paragraphs[j];for (var k = 0; k < para.words.length; k++) {var word = para.words[k];if (word.characters.length > 0 && word.characters[0].appliedFont.fontStyleName.toLowerCase().includes("heavy")) {word.characters[0].pointSize = 18;}}}}alert("Texto no estilo Heavy encontrado e ajustado!");}}
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.