I’m sorry to bother you, but I do not undestand why we can’t use “text” parameter as in example? Could you be so kind as to explain me this?
It seems to me that I just need to change string encodedSrc
encoding, and it should work. Or I miss something?
I tried using this:
With this script hook app for files creates note with the link that doesn’t work:
[Hook productivity app 2.2.dmg](hook://file/t1PrhFkRC%3Fp%3DbWF4aW11dmFyb3YvRG93bmxvYWRz%26n%3DHook%2520productivity%2520app%25202.2.dmg)
If I use copy markdown - it gives link
[Hook productivity app 2.2.dmg](hook://file/t1PrhFkRC?p=bWF4aW11dmFyb3YvRG93bmxvYWRz&n=Hook%20productivity%20app%202.2.dmg)
So I conclude that the problem is symbols lik “?”, “=”, etc. And that is why I ask if I can use somehow another encoding. I tried to google this parameters in documentation but with no success.