James_M_S
Community Beginner
James_M_S
Community Beginner
Activity
‎Jun 07, 2023
01:42 PM
Ignore what I said about it's not working if the style group name contains a space. I just tried it again and it worked. Maybe I unknowingly fixed something. Thanks again.
... View more
‎Jun 07, 2023
01:39 PM
Thanks a lot, @Peter Kahrel. I thought there had to be a less convoluted way of doing something simple like this, but I couldn't find it. Another question about this: It doesn't seem to work if the style group name has a space in it. If the style group name is "Auto," as in my example, it works; but if the style group name is something like "Auto styles" it won't work. Spaces in the style name itself doesn't seem to matter. Is there something else I'm missing?
... View more
‎Jun 07, 2023
11:49 AM
Thanks for the reply, @brian_p_dts. I should have caught that myself, but I was expecting the problem with the script to be bigger than that. But that's what I get for not looking closely enough at what I'm cutting and pasting.
... View more
‎Jun 07, 2023
10:31 AM
1 Upvote
I know very little about scripting but have been able to cobble together a a few things for my own use. Now I'm trying to write a script to insert text at the insertion point with an applied character style from a style group, with the text string, the style name, and the style group name all defined in the script. The following is what I've cobbled together from examples I've found. If I leave out the third line that defines myStyle and change the reference in the last line to the character style name "Prime" it works -- but the character style "Prime" can't be in a style group. I'd really appreciate any help with that issue or with making the script less kludgy overall. thanks. var myNewString = String.fromCharCode(0x2032); // prime mark
var myTextFrame = app.selection[0].parentTextFrames[0];
var myStyle = app.documents[0].paragraphStyleGroups.item("Auto").paragraphStyles.item("Prime");
var styleStartIndex = app.selection[0].index;
var styleEndIndex = styleStartIndex + myNewString.length - 1;
app.selection[0].contents = myNewString;
myTextFrame.characters.itemByRange(styleStartIndex, styleEndIndex).appliedCharacterStyle = myStyle;
... View more
‎Jun 04, 2023
08:00 AM
I'll reiterate what's in my reply to Scott. No one will probably want to apply a condition to endnote text. Experimenting with it, I found that the endnote text can be hidden but often can't be unhidden -- it gets lost.
... View more
‎Jun 03, 2023
02:56 PM
Thanks, Peter. That work-around makes sense.
... View more
‎Jun 03, 2023
09:26 AM
Thanks for the reply, Scott. Is there a way to apply conditional text in a paragraph style or with a character style? Applying conditions to endnote text is my ultimate goal. It may be moot, because after playing around with it some more it looks the endnote text as well as the endnote reference can be hidden but will be lost. The more basic question is whether there's a way to find beginning and ending endnote text markers with GREP. I'm still curious about the answer.
... View more
‎Jun 03, 2023
08:51 AM
The GREP code ~U will find an endnote reference marker in the text. What I want to do instead is find the beginning and ending endnote text markers in the endnote frame. My goal is to apply conditional text to certain endnotes using Find/Change.
... View more
‎May 06, 2023
02:12 PM
Thanks for the response, Jane. I use InDesign, but maybe I should have given a little more context for my query. I'm reorganizing and culling my personal font library. As I'm moving font files around on my computer, I was hoping to find a faster way of seeing a font's OpenType features than installing the font, opening InDesign, and using InDesign's Glyphs panel. I thought that maybe the Type & Typography forum might an appropriate place to ask about that instead of the InDesign forum. (For what it's worth, I'm surprised that Bridge doesn't show more font information than it does.) What I'm finding is that just about every standalone font viewer only shows Unicode. Many font managers also only show Unicode. Font editors will typically show a full glyph complement, but using a font editor just to view a font's OpenType features seems like overkill, although there are a couple of free ones that might work. There's the FontDrop! website, but I'm leery of draging my fonts onto a webpage in a browser. Anyway, thanks again for the response.
... View more
‎Apr 29, 2023
09:20 AM
Does anyone know of a standalone font viewer for Windows that shows all of the selected font's glyphs? I'd like to be able to preview a font file in Windows to see, for example, if it has both lining and oldstyle figures. I'd also like to avoid spending much or any money on it. I've found several font viewers, but they typically only show Unicode and not alternate glyphs. Even the previews in many font managers only show Unicode. The only thing I've found so far is DTL OTMaster Light, but it seems like overkill for just previewing fonts. I was just wondering if anyone has run accross anything I've missed. Thanks.
... View more
‎Mar 18, 2023
02:01 PM
This may not work after all. That is, it works when it's set up, but when new exhibit numbers are added, InDesign seems to lose track of the cross-references sources.
... View more
‎Mar 17, 2023
03:32 PM
This is just a variation on Peter Spier's suggestion. Automatic paragraph numbers are in nonprinting frames anchored to the beginning of each exhibit paragraph. The exhibit number on the first line of each exhibit paragraph is a cross-reference back to the paragraph number in the corresponding anchored frame. The rest works as you'd expect. Once every exhibit paragraph with it's anchored frame is set up, they should all update when a new one is added. Otherwise, maybe the Jedi's script would work the best or maybe a solution like making the green underline an anchored object that is adjusted manually. ... Of course, Adobe should fix InDesign so paragraph numbers can be fully styled as expected.
... View more
‎Mar 17, 2023
11:49 AM
Of course it can, ... Sure. If the table of contents is just picking up text, it can be restyled. But if the table of contents is also picking up an inline text frame, the contents of the inline text frame won't be restyled. That was the context of the statement.
... View more
‎Mar 17, 2023
08:35 AM
A paragraph rule in the exhibit title can be applied to the length of the inline frame and prevents the rule from showing up in the table of contents: The downside is that apparently the contents of the inline frame can't be styled differently when it appears in the table of contents
... View more
‎Mar 17, 2023
08:02 AM
Putting the autonumbered exhibit numbers in an inline frame seems like it might work since the table of contents picks up the inline frames:
... View more
‎Mar 16, 2023
12:41 PM
It's more cumbersome, but how about putting the auto-numbered exhibit numbers in inline text frames that auto-size to the right. The inline frame is followed by a forced line break and the exhibit title as you were already doing. The exhibit numbers have a paragraph rule that spans the column, which in this case is the inline text frame. Oddly enough, the table of contents picks up the inline text frames.
... View more
‎Mar 16, 2023
10:12 AM
Set the width of the shading to "column" and the right offset to a large number so the right edge of the shading aligns it with the right edge of the exhibit number. As I noted in my first post, the result may not be satisfactory if the exhibit numbers vary too much in length.
... View more
‎Mar 16, 2023
09:37 AM
What I did to avoid that problem was to do it "backwards" from the way it's usually done. Narrow paragraph shading set to 100% opacity forms the green underline and a wide paragraph border set to the paper color blanks it out on the second line. If your exhibit titles are more than one line, then even this may get pretty tricky.
... View more
‎Mar 16, 2023
09:15 AM
I should have included the paragraph numbering setting.
... View more
‎Mar 16, 2023
09:11 AM
Apparently underlining doesn't work with automatic numbering. But maybe you can play around with paragraph shading to make the green underline and with a paragraph border in the paper color to blank out the shading on subsequent lines. You may be able to get it to work if the exhibit numbers and titles are fairly consistent in length. The attached images show what I just did. Others on here may be able to fine-tune it or offer a better solution.
... View more
‎Mar 22, 2022
09:53 AM
I was hoping to do something similar to that, not with an ID document, MyTemplate.indd, but with an ID template file, MyTemplate.indT. But, as you say I can probably accomplish the same thing using a regular document and maybe setting the read-only attribute. I'm going to play around with that. Thanks again for all the replies.
... View more
‎Mar 22, 2022
09:28 AM
But I think clicking on a shortcut to a template that will open a new file based on the template. What I was hoping to be able to do is click on a shortcut to the template and have it open as original so it can be changed.
... View more
‎Mar 22, 2022
08:46 AM
Thanks for the replies. I couldn't find anything in the documentation about startup switches. But I thought I'd ask because word processors and other software often allows you to do things like this from the command line. I was working on a template and hoped there was a simple way of opening it as original without opening ID first. If I have to do it very often, I'll look at doing it with a script.
... View more
‎Mar 21, 2022
01:30 PM
Using InDesign 17.1 in Windows 11. Can InDesign.exe be run with any command line switches? Making "InDesign.exe [path\document.indd]" the target in a Windows shortcut will open document.indd in ID. What I'm wondering is if there is command line switch that would allow a template to be opened as original in ID using a shortcut in a similar way? Say, "InDesign.exe [template.indt] /o" or something? Thanks.
... View more
‎Oct 22, 2020
07:23 PM
A day or two ago I updated from InDesign 2020 to InDesign 2021 using the Creative Cloud app. It installed in my Windows 10 user folder (C:\Users\[username]) instead in the programs folder (C:\Program Files\Adobe), which is where InDesign 2020 is. This isn't right is it?
... View more