Forum Replies Created
-
AuthorPosts
-
Ari Singer
MemberYou got me there, Kai! I never even noticed this feature!…
I was sure you were referring to regular character style highlighting, and that I was sure does not happen with a GREP style, but it didn’t occur to me that there’s a special feature just for this… Thanks for making me aware.
Ari
Ari Singer
MemberKai, as far as I know, the Character Styles panel does not show you which character style is applied via a GREP style even if you highlight the text.
‘Feature-or-a-Bug’?
I think it is a feature.
Character styles applied via GREP styles are handled differently than regular character styles. While regular character styles are ‘dynamic’, character styles applied via GREP styles are ‘static’. For instance, you can’t apply two character styles to the same text, but you can apply two GREP styles to the same text with two separate character styles. In fact, you can even apply another character style manually to text that is already formatted with a different character style applied via a GREP style. If you decide to override a GREP style instance, you can’t, because it’s static. (You can in fact apply different local formatting to it, but that will be considered as an overridden paragraph style. But you can’t apply the [None] character style to remove the style entirely.)
So with this in mind, the InDesign team felt that it does not make sense to treat it as a regular character style. So therefore, when you select such text, its character style does not show up in the character styles panel. And for the same reason, when you do a Find Format search in Find/Change with this character style, the Find/Change will not find it even if it’s definitely applied to text in the document.
Do I agree with their choice? Not really. But I believe that this was their reasoning behind it. (Unless it is really a bug…)
Ari
Ari Singer
MemberI don’t remember how it was in CS6, but I don’t think you have any way of seeing what character style a paragraph style is using in the panel.
Ari Singer
MemberWell done, Skemicle.
I noticed that you used an if/else statement instead of a try/catch. The reason I used try/catch is because a bunch of things could go wrong in the script even if the selection only contains two items (such as an object that is not a valid path and can’t get subtracted etc.) and the script would crash with a nasty error.
But with the try/catch block, I present a user-friendly alert to the user notifying of the issue, without crashing the script. And this also eliminates the need of an if/else statement.
Ari Singer
MemberTry out the tableVerticalJustification script mentions in this post: https://creativepro.com/tabletweaker-scripts.php
Or try out Tip 8 from this post:
“8. Resize a completed table (rows, columns, cells, and cell contents): Resize the text frame containing the table with the Free Transform tool or the Scale tool.”Ari Singer
Membervar myDoc = app.activeDocument; var myFolderName = myDoc.filePath; var myDocumentName = myDoc.name; var myPages = myDoc.pages; for (i = 0; i < myPages.length; i++){ var myPage = myPages[i]; var myPageName = myPage.name; var myFilePath = "/Users/kcote/Desktop/PDF/" + myDoc.name.slice (0, -5) + "page " + myPageName + ".pdf"; var myFile = new File(myFilePath); app.pdfExportPreferences.pageRange = myPageName; //Do not open the PDF Export dialog box. Set “false” to “true” if you want the dialog box. myDoc.exportFile(ExportFormat.pdfType, myFile, false, "Press Quality"); }Ari Singer
Memberfor (var i = 0; i < app.documents.length; i++) { app.documents[i].links.everyItem().update(); }-Ari
Ari Singer
MemberI think it has to do with Optical Margin Alignment. When Optical Margin Alignment is off, it aligns on the decimal properly when left-aligned, But when center-aligned or right-aligned, it does not.
But when Optical Margin Alignment is on, it aligns on the decimal properly only when center-aligned, not when left- or right-aligned.
So for aligning on right I don’t have a solution. But for center- or left-aligned, play around with the Optical Margin Alignment setting.
To turn on Optical Margin Alignment, select anywhere in the story, and go to Window > Type & Tables > Story to open the Story panel, and make sure Optical Margin Alignment is checked.
If you want to mix alignments in the story then you’ll have to do some work as Optical Margin Alignment affects the entire story, even the paragraphs that you want left-aligned. So to fix this, select the paragraphs that you want to left-align and not use Optical Margin Alignment, and from the Paragraph Panel’s flyout menu select Ignore Optical Margin. (Or even better yet, save it in a paragraph style. Its setting is found under the Indents and Spacing tab in the Paragraph Style Options dialog).
June 15, 2016 at 5:52 pm in reply to: How to link a multi-page ID file to another multi-page ID file? #85806Ari Singer
MemberI understand your situation. Unfortunately, I can’t think of a solution to this. The only option is to add pages in File A after all the pages in the document. I believe this is not an option for you but this is all I can think of.
June 15, 2016 at 5:41 pm in reply to: Changing height of only one section of a row in a table #85805Ari Singer
MemberI think the only method to do it is through merging cells, as Jake noted.
Ari Singer
MemberIf you have gmail just use Google Drive to upload your screenshot and post the link here.
June 15, 2016 at 5:15 pm in reply to: text disappeared from a text frame and images from image place holder #85803Ari Singer
MemberInDesign files can sometimes get corrupted over time. Especially if it’s a large file, an overused file or a file that used plugins. The solution always is to export to idml.
Ari Singer
MemberAt the request of Eva Healy I modified Jongware’s script to handle Illustrator files.
I also added some detailed instructions inside so even the ungeeky among us can manipulate what layers to show.app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Show/Hide Layers - Illustrator"); function Main() { var page, placedFile, links, layer, i, j, k, doc = app.activeDocument; pages = doc.pages; var checklist = []; var layernames = [ "red", "blue", "green", "silver"]; /* ------------------------------------------------------------------------------------------------------- ABOVE IS WHERE YOU ALTER THE LAYER NAMES: After the words "var layernames" there's an opening square bracket , then some sets of text enclosed in quotes sperated by commas, and at the end, a closing square bracket. Delete all of the text and the commas separating it, and in its place put in any layers that you want. For example: If you have three layers, 'red', 'green' and 'silver', then in the brackets put in each layer enclosed in quotes and seperated by a comma, as such: ["red", "green", "silver"]. Make sure they are all double-quotes, not single quotes, and make sure they are 'straight' quotes not 'smart' quotes. To ensure that it's properly formatted, only edit the script in a generic text editor (such as Notepad on Windows, or Text Wrangler on Mac). DO NOT use a word-proccesing program such as MS Word or InDesign, as that will add formatting to the script and it will not work properly. ------------------------------------------------------------------------------------------------------- */ var ilDialog = app.dialogs.add({name:"Image Layers on/off", canCancel:true}); with (ilDialog) { with(dialogColumns.add()) { with(dialogRows.add()) { staticTexts.add ({staticLabel:"Check to show, uncheck to hide"}); for (i=0; i<layernames.length; i++) { with(dialogRows.add()) checklist.push (checkboxControls.add({staticLabel:layernames[i], checkedState:false})); } } } } var numChanges = 0; var imageChange; if (ilDialog.show() == true) { links = doc.links; for (i = links.length-1; i>=0; i--) { placedFile = links[i].parent; // show the internal type of this image: //alert (placedFile.constructor.name+" / "+placedFile.itemLink.linkType); if (placedFile.constructor.name == "PDF" && placedFile.itemLink != null && placedFile.itemLink.linkType == "Adobe Portable Document Format (PDF)") { imageChange = false; for (k=0; k<layernames.length; k++) { layer = links[i].parent.graphicLayerOptions.graphicLayers.item(layernames[k]); if (layer.isValid && layer.currentVisibility != checklist[k].checkedState) { layer.currentVisibility = checklist[k].checkedState; imageChange = true; } } if (imageChange) numChanges++; } } alert("Done, made changes in "+numChanges+" images"); } else { ilDialog.destroy(); } }June 15, 2016 at 8:00 am in reply to: text disappeared from a text frame and images from image place holder #85774Ari Singer
MemberThat is one of the purposes of IDML. Open up the IDML and save it again as a regular .indd file. Now you can disregard the old corrupted file and only use the new one. (Just don’t delete the old file until you’re 100% sure that the IDML did not lose anything (can happen sometimes).
Ari Singer
Member1. Screenshots?…
2. Why do you export to PostScript? Have you tried exporting to PDF through one of the PDF presets?
-
AuthorPosts
