Jump to content

Note Taker — Keep small bits of text


Recommended Posts

Posted

Usage


Create


Make new notes via the nadd keyword. Type a name and press ↩ to open the file for editing.


nadd.png


Alternatively, create a new note from a selection or Clipboard History with the Universal Action.


uaadd.png


Search


Find your notes with the nview keyword.


nview.png

  • ↩ Edit note.
  • ⌘↩ Preview note in Alfred, parsing markdown.
  • ⌥↩ Copy note contents.
  • ⌃↩ Copy note contents and delete it.
  • ⌘Y (or tap ⇧) Quick Look note.

Edit


Notes can be edited directly in Alfred or a text editor. The default can be changed in the Workflow’s Configuration. Alfred’s view is stacked, meaning ⎋ goes back to the search. ⌘⎋ force hides.


edit.png

  • ⌘↩ Save note.
  • ⌥↩ Save and open in text editor.

With the Universal Actions, edit text from a file, a selection, or Clipboard History.


uaedittext.png


uaeditfile.png


Preview


Notes previewed in Alfred are parsed as markdown. The view is stacked, meaning ⎋ goes back to the search. ⌘⎋ force hides.


preview.png

  • ⌘↩ Edit note in Alfred.
  • ⌥↩ Open in text editor.

⤓ Install on the Alfred Gallery | Source

 

Posted
18 minutes ago, firesofmay said:

Only issue is when I select cmd+enter, it gets copied but I don't see it being deleted till I retype nview.

 

That’s by design. It’s so you can delete multiple notes in a row and don’t lose your place. You may disagree with that choice but it’s not an issue, it’s working as intended.

  • vitor changed the title to NoteTaker — Keep small bits of text
Posted

Update.


Add Universal (text) Action. It’s like it was custom made for this Workflow.

RldyZW7.png


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

Posted

Update.

 

Added option to create and edit new empty note (or populated with Universal Action text) in one step. When using nadd, that’s now the default and ⌘↵ is the previous behaviour of using the clipboard.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

  • 1 month later...
Posted

Update.

  • New new_file_extension option defaulting to md (Markdown file).
  • Add option to create new notes at the bottom of nview’s list.

To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

Posted (edited)

Update.

 

With the February 27th update, another shortcut change makes sense. Now, on nview, ↵ opens the note in your text editor; ⌥↵ copies it; ⌘↵ copies and deletes it.


To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.

Edited by vitor
  • vitor changed the title to Note Taker — Keep small bits of text
  • 2 weeks later...
Posted

Updated to 2022.2.


Workflow is now distributed via the Alfred Gallery. Download the new version from there or update directly from Alfred.

  • New repository.
  • New icon.
  • New About.
  • Add workflow configuration.
  • Search note contents in addition to name.
  • Add support for RTF.
  • Remove OneUpdater in favour of Gallery updating.

  • 2 weeks later...
  • 2 months later...
Posted

@vitor now that I have been using this lovely workflow for a while, I wonder if you might accept a feature request?

 

Would it be possible to define a default text editor within the workflow? I know I can define one within the macOS but it would be nice if I could define one just for this workflow. At the moment I'm taking the extra step of hitting the right arrow key and choosing "open with" ....

 

Thank you for your consideration.

  • 2 weeks later...
Posted (edited)

Ok I might be pushing my luck here with feature requests but, might there be a way to append text to the an existing note? I.e. use the nview command, find the note and then use a modifier to append text instead of opening the file? It would be nice to have that option.

 

I know i can do this with some standard alfred objects but would be cool to have it all in your workflow.....  Feel free to tell me i'm being too demanding!

 

 

Edited by sepulchra
Posted

No worries. Your requests are reasonable and well explained.

 

I see the utility in this feature, but that’s one of those simple things which requires a high degree of specificity. E.g. should the append happen directly, have a newline between the old result, a custom separator? It becomes more cumbersome to insert the feature and its configuration into the workflow than for each person to build the one they want: Notes are shown with a File Filer so you can use Universal Actions on them. Including one you build yourself in a separate workflow (so changes are not overridden) to append exactly like you want.

Posted

Ooooh! I hadn't thought of that. I already have a workflow that appends text using variables and alfred's append to file function. I didn't think of just making it a universal action to do this. 

 

Thank you for the advice and making such an incredibly useful workflow.

 

 

  • 10 months later...
  • 2 weeks later...
Posted

Hi
 

Thanks for this wonderful workflow! However, when I create an md file with ==nadd==, I cannot view any files with ==nview== even though I have specified the folder. Could you help me with this?

 

Posted (edited)

Thank you! It works but I can't seem to view .md files. Do I have to change something within the workflow?

 

UPDATE: 
I changed the file filter within the workflow and it now shows all the files within the folder.

Edited by frequser
Posted (edited)

I would see what vitor says, but if you are on Sonoma the default file filter settings vitor setup in the workflow should find .md files. It should look like the screenshot below. Know that if  you change settings the will get changed again to the defaults when the workflow is updated.

 

image.thumb.png.21c01acccf7f62b867d21cefeaa99cd9.png

Edited by sepulchra
Posted

Hello,
I am a beginner with Alfred. I would like to tweak a little bit this workflow.

When I want to edit an existing note, I would like to start with a timestamp (potentially formatted) on the top of the note. This timestamp will be put automatically.

 

Any idea how do do that ?

Thanks


Example:

29/03/2024 14:52

New edit

27/02/2024 00:12

blablabla

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...