Forum Replies Created
-
AuthorPosts
-
Morgan Waage
Memberapp.activeDocument.textFrames[0].paragraphs.everyItem().clearOverrides(OverrideType.ALL);
didn’t work.
But, using parentStory.texts[0] instead of paragraphs.everyItem() did workapp.activeDocument.textFrames[0].parentStory.texts[0].clearOverrides(OverrideType.ALL);
Thanks for the help guys.
Morgan Waage
MemberclearObjectStyleOverrides doesn’t give me an error but it doesn’t remove the overrides on my paragraph.
Anyone know how I can remove the overrides on my paragraph?
Morgan Waage
MemberGreat! Thanks. I’ll check it out.
Morgan Waage
MemberWell, I am only trying to break it down to more manageable chunks for me as I am learning a little about scripting in InDesign.
What I am really after is a script that builds the whole 80 page magazine with just one click.
I actually need a loop that places approximately 60 images at specific spots in 10 articles. I thought that if I kept it simple I would learn more and maybe be able to expand it on my own.
Morgan Waage
MemberIt is part of a template that I have made for a 3 page article with 4 images.
Page 12 in the magazine is the first article and it contains one image placeholder. Page 13 contains two placeholders and page 14 contains one placeholder.I intend to expand the script later, so my next question would probably be how do I make the loop go through multiple folders ;)
Morgan Waage
MemberExcellent! Thanks guys.
Should I put this inside a try catch block or isn’t that necessary?Morgan Waage
MemberThanks.
When I include both my heading styles in the TOC it looks like this.blah blah blah……………………10
– blah blah blah blah
blah blah blah……………………15
– blah blah blah blah
blah blah blah……………………20
– blah blah blah blah
etc.Maybe I did it wrong , but I couldn’t get that to work.
Morgan Waage
MemberOk. Thanks for your replies.
I guess I have to spend some time learning GREP and scripting.Morgan Waage
MemberThat worked. Thanks!
Morgan Waage
MemberThat could work. For the end mark at least. But for some reason I can’t move the square left or right. The tracking doesn’t seem to work.
Morgan Waage
MemberThanks.
I tried placing a rectangle of 2x2mm at the end of the article but when I changed the text the rectangle was no longer at the end of the text.
Wish InDesign had something more dynamic for this.Morgan Waage
MemberGreat. Thanks!
-
AuthorPosts