Forum Replies Created
-
AuthorPosts
-
February 10, 2020 at 6:49 am in reply to: Script to change the language of all text on document #14323115
Kasyan Servetsky
MemberI just tested the ‘Change the language in all paragraph and/or character styles’ script in InDesign 2020: it works as expected.
https://bit.ly/2ScnR1UKasyan Servetsky
MemberI can’t see the code of the script that David mentioned because it’s in a binary format, but I think it uses the same approach as the script I recently posted: https://kasyan.ho.com.ua/tips/indesign_script/web/alternative_to_socket.html
Note: it performs exactly the same task in two ways: using 1) the socket object (slow) and 2) a shell script (fast).I see it as a two steps process:
1) download raw html from a web-page to InDesign file
2) interpret it into something useful: e.g. with a series of find-change GREPs. I guess Ariel’s script finds text in between tags, applies corresponding styles and removes tags.Also, read/listen to the Kris Coppieters’ post in his blog where he explains how to download things from Web to InDesign: https://rorohiko.blogspot.com/2008/07/lightning-brain-podcast-click-here-to.html
Here I collect examples of InDesign interacting with Web (only those that were tested and worked for me): https://kasyan.ho.com.ua/tips/indesign_script/web/web.html
Of course, there’s no a ‘ready to use’ script for you, but probably such a script can be developed.
— Kas
Kasyan Servetsky
MemberI recommend you to start with the following:
Scripting InDesign CS3/4 with JavaScript by Peter Kahrel.
Adobe Introduction to Scripting (ESTK > Help)
Adobe InDesign CC Scripting GuideKasyan Servetsky
MemberHere are more links that may come in handy to you:
https://kasyan.ho.com.ua/tips/all/info_for_beginners.html
https://kasyan.ho.com.ua/tips/all/scripting_resources.html— Kas
Kasyan Servetsky
MemberHere’s the updated link and updated version (2): https://kasyan.ho.com.ua/indesign/hyperlink/create_text_anchors.html
I had to rework my site since keeping all html-files in the root made it almost unmanageable for me. If you encounter a broken link to my site, please, look into the ‘Scripts sorted by categories for InDesign’ page first: https://kasyan.ho.com.ua/scripts_by_categories.html
At start, I designed my site to post just a few scripts: maybe a dozen or two. But for years it grew more and more, and now it has quite a number of pages.
— Kas
Kasyan Servetsky
MemberCheck out the ‘Batch processor’ script: https://bit.ly/2yr6QFG
— Kas
Kasyan Servetsky
MemberRecently I fixed a problem with detecting page numbers in a similar script. Here’s the link: https://bit.ly/2ymguYO
— Kas
Kasyan Servetsky
MemberSomething went wrong with my previous post: the “mailto” link was mangled. My e-mail is askoldich [at] yahoo [dot] com
Kasyan Servetsky
MemberI can give it a try. You can get in touch with me by e-mail.
Kasyan Servetsky
MemberP.S. The forum software eats backslashes so probably they were there when you posted your rule.
Kasyan Servetsky
MemberA special characters like dot, backslash, etc. should be escaped with a backslash () character in a script. Try to record your settings with the Record Fing Change script.
Kasyan Servetsky
Member???????? ?????? ? ? ????? ?????!
(Merry Christmas and a Happy New Year!)Kasyan Servetsky
Member???????? ?????? ? ? ????? ?????!
(Merry Christmas and a Happy New Year!)September 4, 2012 at 10:06 am in reply to: Convert index page numbers into hyperlinks (across a book) #63059Kasyan Servetsky
MemberHi Matt,
Recently I wrote a similar script, but it works only with active document.
Kas
Kasyan Servetsky
MemberI just tested it in CS6 (Windows 7) and it works for me as is. Are you able to place this file manually?
-
AuthorPosts
