richardsugg 16 Posted February 4, 2013 Share Posted February 4, 2013 I use EN on Mac and Windows, but for Windows especially, I would like to be able to quickly find and retrieve code snippets in a way similar to TextExpander on Mac or Breevy on Windows.I could use AutoHotkey to capture keystroke triggers, but how would I extract the contents of a single note? I suppose I could do something like1) Autohotkey captures the keystroke trigger and fires off enscript:2) Find and export the note: enscript exportNote /q "querystring" > %TEMP%\tmp.enex 3) Use Perl to find the contents (oh please let it be plain text) perl_script.pl %TEMP%\tmp.enex 4) Autohotkey copies the plain text content of the enex to the clipboard and pastes it into the document where the keyboard trigger was typedI currently have this working without Evernote. All the snippets are in text files, but that means I'm not using EN, which I would rather do. Is there a better approach than what I've outlined above? Link to comment
This topic is now archived and is closed to further replies.