Create link to line?

Here’s a simpler take on it…

tell application id "DNtp"
	set r to "https://www.devontechnologies.com"
	do JavaScript "encodeURIComponent('" & r & "');" in think window 1
end tell
--> "https%3A%2F%2Fwww.devontechnologies.com"
2 Likes