I need for perform URL encoding on the input text string in AppleScript. After some searching, I was surprised to find out this was not as trivial as I thought. Shortcuts really spoiled me with those built-in Actions
I did find this dated StackOverflow thread but it didn’t work for me, perhaps because the thread was using
bash while I’m using
My arsenal is limited to AppleScript (and by extension,
do shell script) because the encoding is part of a DEVONthink Smart Rule I’m building. Any help is greatly appreciated.