Jump to content

Save 'ur note


Recommended Posts

This workflow is loosely based on my Save 'ur URL workflow (which, judging by the number of downloads, has proved very popular).

 

Introduction
Sometimes when working you want to make a short, temporary quick note for future reference without bothering to open a dedicated Notes app. That is what this workflow does. It uses a simple plain text file (which will be created for you when you first create a note by running the workflow) to which saved notes will be appended (rather like a scratch pad). You select the location folder for that file in the workflow configuration.

However, the workflow does a little more than that. You can also save text clippings by selecting text and using your Universal Action hot key on the selected text.

Setup
In the workflow configuration choose:
- the folder where you want to keep your QuickNote.txt file;
- the keyword you want to use to create a quick note;
- the keyword you want to use to open the QuickNote.txt file;
- the keyword you want to use to delete the QuickNote.txt file.

Usage—saving quick notes
There are two ways in which to create a quick note.

1. You can use your Universal Action hotkey on selected text, choose Save a quick note from the list and press ⏎. The selected text will be saved in the quick notes file (which is created if it does not already exist) together with the date and time the note was appended.

TheUniversalAction.thumb.png.cc88ab615a0144acad13acf2d3ff7923.png

2. You can use the keyword set to create a quick note and type the text of the note. In that case that you must type a single line of text (with spaces and punctuation as necessary, of course): you cannot use newlines or returns to create a multi-line note. (There is no such restriction if you are copying selected text as in 1 above.)

Supplythetext.thumb.png.f1bdbd415f8e7755a87e1738a2a31486.png

The result of saving quick notes will be a plain text file which you can open in your default file editor by using the relevant keyword set in the workflow configuation (by default vqn for "view quick notes").

Here's what it looks like in CotEditor (which is my default plain text editor):
Theresult.thumb.png.0e08f92049c0486fc580570203a88ff2.png

Usage—deleting the quick notes file
Simply use the keyword set in the workflow configuration (by default dqn for "delete quick notes") to move the quick notes file to the Trash.

 

The GitHub download link

 

Edit: I should have said there are no dependencies forthis workflow.

 

Stephen

Edited by Stephen_C
Clarification: no dependencies
Link to comment
  • 2 weeks later...

Version 1.1 adds the ability to view the QuickNote.txt file in QuickLook (with consequential tidying of the workflow configuration).

QuickLook.thumb.png.c960d5e472a97fb15ad178f4c7451ee0.png

Note: [DEBUG] in the QuickLook window title is a function of the command line qlmanage and (so far as I am aware) cannot be avoided.

 

Stephen

Link to comment
  • 2 weeks later...

Version 1.13 has no material change other than an addition of a warning to the effect that the date and time appended to a quick note will not appear correctly if you are using an Alfred version earlier than 5.0.5 (which introduced use of the 2024-01-22 format).

 

Stephen

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...