![]() Once installed, just right-click on any link, and choose Create TinyURL for this Page. Users/andrew/Library/Application Scripts/-OSX/Temp/: execution error: Can’t make into type Unicode text. If you find yourself using this feature all the time, then you need the TinyUrl Creator extension for Firefox, which makes it very easy to not only create TinyUrls, but access the ones that you’ve already created. Source: Tiny. When I try in Drafts, it fails with this error: The operation couldn’t be completed. One cool feature here: you can add TinyURL to your browser toolbar, so you can create shortlinks for whatever site you’re currently on. When I test the script in Script Editor, all good. ![]() Set shellScript to "curl '" & draft & "'" You can use many link shortening services to create a tiny URL. Editing and testing in Script Editor recommended How to Create Tiny URL: Step by Step Guide Step 1: Choose your Trusted Link Shortening. Here is the same script, moved over to a Drafts AppleScript action: - AppleScript content Set shortenedUrl to do shell script shellScript Set shellScript to "curl '" & longUrl & "'" ![]() I have this script, which works when I test it in the Mac Script Editor, and fails when I run it in Drafts.Įxample script, works in Script Editor: set draft to "bear://x-callback-url/open-note?id=DDF59ACC-6C42-42C6-B651-41D8B8B457CA-91312-0004D85C42EE3F2D&show_window=yes&new_window=yes" I’m mostly going to use this to shorten x-callback-urls so I can use them in Notion, but it’ll be useful in general I think. I’m making an action to shorten URLs via TinyURL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |