Forums › Adobe After Effects › Url link from text | Script
-
Url link from text | Script
-
Timur Solomon
June 1, 2022 at 7:50 amHi, I have a text file, I want to make entries in it and I succeed.
But other than that, I want the entries to be written as links.How can I do this with a script? What needs to be added to the code?
-
Walter Soyka
June 1, 2022 at 1:24 pmYou’ll need to write out a text file with some kind of standard markup, like HTML or maybe RTF. Then it’ll be up to the app that opens the file to interpret the links.
HTML is pretty easy to write. Here’s a primer:
https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML -
Timur Solomon
June 1, 2022 at 1:52 pm -
Walter Soyka
June 1, 2022 at 4:11 pmBackslashes are escape characters in Javascript strings, so you need to treat them specially. Put two backslashes in your code anyplace where you want a single backslash to appear in your output file.
-
Timur Solomon
June 1, 2022 at 5:16 pmI solved the issue with hyperlinks, it’s not much more difficult than just adding dashes, but they were needed as well.
Thank you for your time
Log in to reply.