Forum Replies Created
-
AuthorPosts
-
Kelli Fleck
MemberThat sounds like what I need! I have resumes in separate documents, so each document would have the year set up to when they started in the industry. I believe the script would then set the “year-now” just as I need it. I won’t have an instance where I need multiple years of experience within the same document, but I have several separate documents with different years of experience. Hope that helps clear it up.
Kelli Fleck
MemberDo you think the script can grab information from the variable text, which instead of “oh so clever” would be the date they started in the industry. Then it would be
[current year] – [variable text input of year started in the industry]
I have many resumes. If not, then I will just create multiples of this script for each year. :) Thank you so much!
Kelli Fleck
MemberWow thank you Theunis! I will try that. :)
Kelli Fleck
MemberI GOT IT TO WORK! THANK YOU!!! :)
Kelli Fleck
MemberOh I see the command
table.changeGrep();But my error says “table is undefined”
Ill keep seeing if I can fix that. :)
Kelli Fleck
MemberSo this script works and I can see the GREP in the FIND/CHANGE but it isn’t applying to all. I am missing a command line I think.
Kelli Fleck
MemberThank you!! I will try this.
Kelli Fleck
MemberThanks David!
Kelli Fleck
MemberI will just use the GREP styles and I have the “chainGREP” script that will combine the greps into one click, for now. I wanted to learn how to write a script so I could easily edit the script with the term list rather than create a GREP command each time. I think it would be fairly easy to write this script, so I will research it. Thanks all!
Kelli Fleck
MemberPerfect!! Works like a charm. Thank you!!
Kelli Fleck
MemberHey I am having trouble with the script for pKa, changing the a. It is because there is a character style applied to it. Any suggestions? It makes the a normal but there was a 1.5pt baseline shift on the subscript character style. So it still has the 1.5pt baseline shift but no subscript.
Is there a way to add 0pt baseline shift to the code?
:) Thanks for any help!
Kelli Fleck
MemberOh great! Thank you for all the help. And thank you for the helpful explanation. I am on my way to learning some GREP!
Kelli Fleck
MemberTrying to write one for ml to mL..I got this far:
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = “(?<=<m)l>”;
app.changeGrepPreferences.position = Position.NORMAL;
app.changeGrep();Could you help with this one?
Do you know any good sites for learning the basics in GREP?
Kelli Fleck
MemberOH! LOVE that. I am going to create that shortcut. Thank you!
Kelli Fleck
MemberGreat! Just used those expressions and it did the job. Thank you!!
-
AuthorPosts
