/Obsdn-QuickSNIPP

an all in one ahk script for Obsidian.md to save and reuse text, web pages, etc...

Primary LanguageAutoHotkey

Obsdn-QuickSNIPP

ahk script for Obsidian.md to make transclusions from text blocks, save web snippets and take quick notes

use AUTOHOTKEY UNICODE

This script is a replacement for Obsdn-AutoSnipp.ahk with enhanced features

DESCRIPTION

WebSNIPP WebClipper

CTRL ALT C copy selected HTML to the clipboard as markdown

CTRL ALT X save selected HTML as a md file, and get the transclusion link in obsidian format

CTRL F9 save current webpage as a md file via the fuckyeahmarkdown.com API, and get the transclusion link in obsidian format. It's slow and sends keyboard shortcuts, so it's not highly reliable... Tested on FF, Chrome, Brave , Maxthon

QuickSNIPP Scratchpad

CAPS LOCK x2 display a scratchpad floating window to write quick notes. Save the notes as snippets and get the transclusion link. Hide the scratchpad with ESC or click on the X button.

AutoSNIPP Transcluder

CTRL SHIFT X extract the selected text as a new file, get the transclusion link = INSTANCES or BLOCK REFERENCE

CTRL SHIFT C extract the selected text as a file, then get the transclusion link = CLONING blocks.

since the new block is a copy, it can be modified independently, without modyfing the original paragraph

CONFIGURATION / INSTALLATION

this script requires AutoHotkey UNICODE to be installed. It relies on the following libs :

the required ahk files are provided in _includes. make sure to update the correct path in the CONFIG section.

Before first use, edit the .ahk file with a text editor to change the default configuration search for 'CONFIG' and modify :

  • the path to the include libs
  • the location to save the snippets in your obisidan vault
  • optionally, tweak the naming convention for the generated snippets
  • optionally, modify the macro shortcuts

the script is free to share and modify. Please reshare/make a pull request if you improve it.

SCREENSHOTS

transcluder demo obsdn-autosnipp-demo.gif

obsdn-quicksnipp-scratchpad.png

Obsidian-autosnipp.png

obsdn-autosnipp_firefox.png

VIDEO DEMO

https://filedn.com/locqGc5NIUyfrWR1S0M3dRz/videos/obsdn-quicksnipp/obsdn-quicksnipp-demo.mp4

https://filedn.com/locqGc5NIUyfrWR1S0M3dRz/videos/obsdn-quicksnipp/obsdn-quicksnipp-scratchpad.mp4