I’m somewhat new to Applescript. I’m trying to use hookmark links in a script I’m writing. I use a line of code like this to grab the clipboard contents after having the script execute the hot key to copy the hookmark link:
set hookmarkLink to the clipboard
When I use this variable as I would a string, though, it doesn’t actually contain the URL/link. It just has the title of the bookmark (I guess the “name” in hookmark applescript terminology).
My case is fairly simple. I just want the hook URL (e.g., hook://…) so that I can use it later in my script. Can anyone give me the snippet of code I need to do this? I looked at a few different conversations on this website, but I couldn’t find an answer.
Thank you so much!!!