Forum Replies Created
-
AuthorPosts
-
Chuck Nigash
MemberTa!!! One chip forward, two steps backward. Great post, David.
All said, Adobe should be able to give you the visual fx it provides like this with GPU controlling it. Oy.
Chuck Nigash
MemberTa!!! One chip forward, two steps backward. Great post, David.
April 12, 2015 at 3:02 pm in reply to: Script to change char style of punctuation after italic/bold/etc. #74573Chuck Nigash
Member@ A.A. Ron: are you asking for ONE script to see ANY character style? the possibilities are too great; you would have to list all the char styles. GREP wont do it, jsx will.
If you are only looking for a font style (different than char style), then you should be able to find the generic “italic” on a char style search and change to “roman or bold” of another char style.
The awful truth about GREP is you get what you ask for 100% of the time and you have to be mindful what you ask for. Why don’t you offer a very specific example of what you are finding and changing here? Let us see a screenshot and perhaps it would be easier to take a shot.
Chuck Nigash
MemberNadim X, go here >> https://kasyan.ho.com.ua/make_hyperlinks_from_urls.html
It’s very good.
Chuck Nigash
MemberI spoke only half-too soon. The shortcuts, prefs + workspaces make it over once you launch 2014 (woo, thar’s a phrase). But plugs, F/C queries are a hassle. Some kind of note before installing would have been nice.
Chuck Nigash
MemberHere, at the Adobe site >> https://helpx.adobe.com/creative-cloud/help/install-apps.html#Update apps
“Note: When you update to a CC 2014 version of the app, the previously installed versions of the app are not uninstalled, and all versions of the app are available for use.”
So I was right. You have to manually reinstall plugins, GREP queries, workspaces, keyboard shortcuts …. you name it. There’s a name for this. :-)
Chuck Nigash
MemberHmmmm, it appears that hitting Update All — former CC apps — causes an all-new download. Time to hit the FAQ. This is crazy.
Chuck Nigash
MemberSooooo, Theunis, just for kicks I tried something related to this on for size:
(?<=.)bu+
CONTRIBUTORS: ILLUSTRATOR, JONGWARE, NIGASH
Hoped for change to … CONTRIBUTORS: Illustrator, Jongware, Nigash
This cleverly skips the category “CONTRIBUTORS:” and selects the names … Now, let's say the names should all be lowercase. It gets sticky. I created a character style based on Normal, but that had no effect.
I basically tried to change typed caps to lowercase as an extension of this thread. If Adobe's Ch Styles supported lowercase, it'd work. Even more cool would be to look back and hold the first Cap and change the rest of the word to lc, but that'd be magic and probably lean on jsx.
Chuck Nigash
MemberSean,
If you could find a trend in the Object Format (might be hard), then you could Find/Change by Object. Best to create a desired Object Style first to guarantee the outcome. The critical part will be the search.
Chuck Nigash
MemberTheunis, you make it look so easy.
Nice thread. And I second the motion on Peter's book. Fantastic recipe for success. ALSO: The title of Peter's book has CS3 & 4 in there…. but GREP for ID hasnt changed and everything is still valid. Best $10 or so you can spend on one of the best guys here too.
Chuck Nigash
MemberReally enjoyed this thread. Thanks, T !
Chuck Nigash
MemberTheunis + Kahrel = Seattle's Best Coffee in the morning and David would agree.
I grow so much under you two (three!). Thank you….
Chuck Nigash
MemberTheunis, guess what? Last night, compiling the GREP lines from Record/FindChange CS3-CS5 I found the error that was keeping the code from running. When you run a Find/Change, then run the Record script, look at the string and see that it captures it consistently like this.
Example:
grep {, findWhat:”~_~_~_r”} {, changeTo:”~>”}
What has been hanging me up is the comma and space following the bracket. Once I cleaned that, the recorded string ran perfectly with FindChangeByList.
Corrected:
grep {findWhat:”~_~_~_r”} {changeTo:”~>”}
Hope this helps anyone who toys with this in the future. Great to have threads that end in happiness. :-)
Chuck Nigash
MemberOK, I'm going to try it. :-)
As I have been pursuing chains of strings to assemble a single-script solution, I found this just a little while ago:
https://gist.github.com/2946714This works as the older one used to. But that said, I'm still not out of trouble. The FindChangeByList.jsx now returns a string error here — app.doScript(myString, ScriptLanguage.javascript); — which has now thrown me into even newer confusion. The error reads: “variable name expected” and refers me to the line that I pasted here above.
One step forward, another back. I need to come back in life as Theunis.
Chuck Nigash
MemberXactly! And while we have touched on one, this could be button by button.
I really should have checked my Real World CS6 first to see if it's laid out in The Bible. But maybe I just like seeing Blatner post at a whopping 4:29 a.m. !!! David, we are on the same coast — I'm hoping you posted from the East. :-)
-
AuthorPosts