Hyperlink Text Source
Hi, I am creating a function that uses find/change to locate URLs/Email Addresses in the document and convert them to Hyperlinks. I have tested it and works as intended. It works fine in the first run but if you run it again in the same document, the script will find the same found contents and it will apply the same process except it throws an error saying that the found content is already a hyperlink which is true. So my next move is to create an if-else statement:
if (found content is not a hyperlink)
{make it a hyperlink};
else {do nothing};
I already know how to make it a hyperlink, im just blocked on what to write in the "if" statement. Any help I will be grateful. Thanks. Im on javascript.
-Martin

