Jump to content

Note Taker — Keep small bits of text


Recommended Posts

Thanks Vitor, It looks like, except that I would like to have multiple file.

So it's a mix of the two workflows.

I will check how to combine the two.

Thanks for your help

 

Edited by awil
Link to comment
  • 1 month later...

Hi, I installed the workflow, I can add notes, and I can also see them using the regular Alfred search. I'm using Markdown. However, I cannot see any notes at all when I use nview command. Even the * command doesn't return anything, even though I created a few files. Is there something I'm missing in terms of the setup? Thank you.

Link to comment
On 5/6/2024 at 9:34 AM, vitor said:

@maikfrank See discussion on GitHub. It‘s likely to be the same thing.

 

I have tried all the troubleshooting there.  Rebuilt index, even deleted spotlight folder, restarted etc. Still the same. File is showing up in search, but nview is completely empty.. md file type is also added to allowed document lists in alfred. 

2024-05-07_09-40-23.jpeg

2024-05-07_09-40-39.jpeg

Link to comment
11 hours ago, vitor said:

I need to see the diagnostics for the file.

 

Sure. do you mean this?

 

Starting Diagnostics...

File: 'here it is.md'
Path: '/Users/maik/Obsidian/intellicoach/🔵 📌 Active/📌 Notes'

-----------------------------------------------------------

Check file cache database...

File cache integrity is ok

-----------------------------------------------------------

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 420
Underlying Type: NSFileTypeRegular
Extended Attributes: (
    "com.apple.TextEncoding"
)

-----------------------------------------------------------

Check if volume '/' is indexed by macOS...

Indexing is enabled on this drive

-----------------------------------------------------------

Check direct file metadata...

Direct metadata available

Display Name: here it is.md
 Other Names: 
Content Type: net.daringfireball.markdown
   Last Used: 

-----------------------------------------------------------

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "here it is.md"
kMDItemContentCreationDate         = 2024-05-06 00:50:45 +0000
kMDItemContentCreationDate_Ranking = 2024-05-06 00:00:00 +0000
kMDItemContentModificationDate     = 2024-05-06 00:50:59 +0000
kMDItemContentType                 = "net.daringfireball.markdown"
kMDItemContentTypeTree             = (
    "net.daringfireball.markdown",
    "public.plain-text",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemDateAdded                   = 2024-05-06 00:50:45 +0000
kMDItemDisplayName                 = "here it is.md"
kMDItemDocumentIdentifier          = 0
kMDItemFSContentChangeDate         = 2024-05-06 00:50:59 +0000
kMDItemFSCreationDate              = 2024-05-06 00:50:45 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = 0
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 0
kMDItemFSIsStationery              = 0
kMDItemFSLabel                     = 0
kMDItemFSName                      = "here it is.md"
kMDItemFSNodeCount                 = 14
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 14
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2024-05-06 00:00:00 +0000
kMDItemKind                        = "Markdown Document"
kMDItemLogicalSize                 = 14
kMDItemPhysicalSize                = 4096

-----------------------------------------------------------

Check file is in search scope...

File exists within Alfred's default search scope

-----------------------------------------------------------

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[0] /System/Volumes/Data/Users/maik/Obsidian/intellicoach/\Ud83d\Udd35 \Ud83d\Udccc Active/\Ud83d\Udccc Notes/here it is.md"
)

File Search Results for ~/ (
    "[0] /System/Volumes/Data/Users/maik/Obsidian/intellicoach/\Ud83d\Udd35 \Ud83d\Udccc Active/\Ud83d\Udccc Notes/here it is.md"
)

File Search Results for / (
    "[0] /System/Volumes/Data/Users/maik/Obsidian/intellicoach/\Ud83d\Udd35 \Ud83d\Udccc Active/\Ud83d\Udccc Notes/here it is.md"
)

-----------------------------------------------------------

Troubleshooting passed
 

Link to comment
  • 4 weeks later...

It’s whatever your default editor is for the file type. If you want to change that only for the workflow you can edit the blue object on the far right, though it will be overwritten on updates.


For future questions, please add more detail and be specific about what you tried and what you’re using. We need information to be able to help properly. I’m the author of the workflow and even still it was hard for me to understand what you were asking. Making a new thread with just nadd as the title made it particularly confusing.

Link to comment
  • 2 months later...

Hi.

I cant get nview to work. It doesnt show any files. How can that be? I have my preference file saved to google drive and I can create a Note taker file that is saved in the correct location on that google drive folder. I can also browse and find it in Finder + I have tried to map that specific folder in Alfred for Note Taker to find. I am on Sonoma 14.6.1 and Alfred 5.5.
Still it shows me nothing when writing a * 

What could be wrong?

Link to comment

Hi. Probably so. Thanks for the help. I created a plain .txt in that location and then note taker found it with a * search.

I read your link and I actually do have the Atom app installed. I can open a .md file created by note taker in atom but the .md file does not show up in the nview * search. Only the above mentioned .txt file.

Maybe Atom is not enough?
Can you recommend another markdown app, preferrably free open source?

Edited by Krusty4president
Link to comment

Hi and sorry for  late response, due to time zone difference. Now I tried to install Note Taker on my work macbook and it worked there when using the open source Marktext app. I will check when I get home. Maybe it was like you said. The need to get .md files working properly with a installed app first. It seems you need to approve the app usage in mac preferences first with many open source apps before macos accepts it as a secure app.

Thanks for the support. Hope this help some other newbies like me too.

/Nick

Edited by Krusty4president
Link to comment
  • 2 weeks later...

I had a similar issue to maikfrank and others. I have a couple different markdown reader apps installed (Obsidian, QLMarkdown). Note Taker worked fine for the week since I installed it, but as of today it was unable to find a note I had just created with the workflow. And then a few others, seemingly at random. After rebuilding the macOS metadata index, the workflow could find none of the notes in the specified folder. Adding markdown explicitly to the file folder node fixed the issue. Is there a downside to adding this filter by default?

 

It's possible something in the Sequoia update is causing issues, but I'm at a loss to explain it.

 

Btw, despite the small issue, this workflow is absolutely fantastic! Wish I had known about it sooner.

Link to comment

Welcome @umami,

 

20 hours ago, umami said:

Is there a downside to adding this filter by default?

 

Nope, no downside.

 

Would you mind dropping that markdown file into Alfred Preferences → Help → Troubleshooting → File Search Troubleshooting → Run Troubleshooting, and posting the output here? I’d like to see what’s the content tree Obsidian sets.

 

20 hours ago, umami said:

this workflow is absolutely fantastic! Wish I had known about it sooner.

 

Thank you for the kind words.

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