Jump to content

chasedeluca

Level 1
  • Posts

    1
  • Joined

  • Last visited

About chasedeluca

chasedeluca's Achievements

1

Reputation

  1. I much prefer the classic "evernote:///" links in all cases, so I wrote an AutoHotKey script to convert new http:// links. What the script does is watch for clipboard changes system-wide, then if it sees one it checks to see if you're in Evernote, and then checks to see if the clipboard matches "https://www.evernote.com/...". If so, it rewrites the link in the classic "evernote:///" style and replaces the clipboard contents with that. Works for me. I hope this helps someone out there. Here are AutoHotKey instructions if you're a beginner: https://autohotkey.com/docs/Tutorial.htm#s1 #Persistent return ;=========================== ; Script Function: ; Convert evernote http links into app links ; ; OnClipboardChange: if WinActive("ahk_class ENMainFrame") { txtClipboard := clipboard if RegExMatch(txtClipboard, "^https:\/\/www\.evernote\.com\/shard\/") { NewStr := RegExReplace(txtClipboard, "^https:\/\/www\.evernote\.com\/shard\/([a-zA-Z0-9]*)\/([a-zA-Z0-9]*)\/([a-zA-Z0-9]*)\/([a-zA-Z0-9\-]*)$", "evernote:///view/$3/$1/$4/$4/") Clipboard := NewStr ToolTip Evernote App Link copied! Sleep 1000 ToolTip ; Turn off the tip. } } return
×
×
  • Create New...