Forum Replies Created
-
AuthorPosts
-
January 29, 2019 at 1:55 pm in reply to: Search for different indent sizes with one command? #114006
Michel Allio for FRIdNGE
ParticipantSomething simplistic like that:
var myParas = app.activeDocument.stories.everyItem().paragraphs;
for ( var p = 0 ; p < myParas.length ; p++) if ( myParas[p].firstLineIndent > 20 ) myParas[p].firstLineIndent = 20;The script will search between all the paras of the doc those ones with a first line indent greater than 20 (so 41,31 mm / 32,75 mm / 33,78 mm / etc.) and will apply a “20” first line indent to them!
2 code lines but 1 single click! ;-)
Best,
Michel, for FRIdNGEMichel Allio for FRIdNGE
Participant… Hmm!
So, could you tell us why, in the same sentence, your last Grep code can catch “CLAUDIO” and not “MARCONATO”?
HAPPY NEW YEAR!
Best,
Michel, foe FRIdNGEMichel Allio for FRIdNGE
ParticipantVincent,
Don’t say Vinny’s solution works great! … As all can see in your screenshot, it’s not true! …
[in French] … Mais bon ! Jamais trop tard en cette période pour croire au Père Noël ! ;-)
Best,
MichelMichel Allio for FRIdNGE
ParticipantHi Vinny!
OK for the left side shading but, on the right side, truly not convinced by your demonstration! …
As visible on your gift, absolutely no control of the width of the underlining at the end of line!
Best,
Michel, for FRIdNGEMichel Allio for FRIdNGE
ParticipantVatrice,
Alas, I can’t answer you! … But, by curiosity, what do you mean by “three levels” [samples!]?
Michel, for FRIdNGE
michel.allio.fridnge@gmail.comDecember 15, 2018 at 4:56 am in reply to: ISO: javascript to select from "stringa" to "stringb" #112915Michel Allio for FRIdNGE
ParticipantMichel Allio for FRIdNGE
ParticipantPat,
Your question has been solved in another forum! …
Best,
Michel, for FRIdNGE
michel.allio.fridnge@gmail.comDecember 12, 2018 at 12:39 pm in reply to: rotate contents of pages simultaneously or pages themselves #112863Michel Allio for FRIdNGE
ParticipantMichel Allio for FRIdNGE
ParticipantMichel Allio for FRIdNGE
ParticipantMichel Allio for FRIdNGE
ParticipantMichel Allio for FRIdNGE
ParticipantYou’re welcome! …
Michel Allio for FRIdNGE
ParticipantIt can be done with 2 Grep styles! …
Paras beginning and finishing by a bullet (or not), all the bullets in black, odd names in red, even in green!Michel Allio for FRIdNGE
Participant;-)
Michel Allio for FRIdNGE
ParticipantThere’s really something that bothers me more and more in all the forums:
When a guy [especially a scripter] works really hard to learn something [as awesome and magic as Javascript] and finally decides to share it without directly asking something in return, it’s really painful for me to read someone can “obliterate” his[her] name and however use his[her] work.
Lots here [and elsewhere] don’t appreciate my sincere outspokenness! … [and I don’t care!]
Aaron, I appreciate you enough [especially on your “Grep” knowledge and contribution on this forum] to not truly having something personal against you! …This script, as simplistic for a scripter, was graciously posted by Loïc Aigon 10 years ago on Adobe’s InDesign Scripting Forum!
I hope he will appreciate someone remembered his signing and his real and appreciable knowledge!
Best,
Michel -
AuthorPosts
