sballin / alfred-search-notes-app

Use Alfred to quickly open notes in iCloud/Apple Notes.
https://www.alfredforum.com/topic/11716-search-appleicloud-notes/
MIT License
522 stars 24 forks source link

Doesn't OCRed search text in images #48

Closed joefrancia closed 3 years ago

joefrancia commented 3 years ago

To Reproduce

Steps/context to reproduce the behavior:

  1. Create a note with some handwritten text. If you use a unique made up word you won't get other hits. I used "folgittey"
  2. Search for that unique word in Spotlight, and you get a hit
  3. Search for the same unique word in Alfred and no note is found, only an option to create a new one
  4. Regular text in notes is searchable

Fill out this information if it's not already included in the error text.

[16:46:24.068] Logging Started...
[16:46:29.704] Search Notes[Script Filter] Queuing argument ''
[16:46:29.805] Search Notes[Script Filter] Script with argv '' finished
[16:46:29.809] Search Notes[Script Filter] { "items": [ { "title": "Marcus Aurelius", "subtitle": "Notes", "arg": "0B12E172-4990-4E68-8F62-04DE9ED7102B,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICNote/p1047,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICAccount/p430,", "quicklookurl": " " }, { "title": "Chunngap", "subtitle": "Notes", "arg": "99596301-A1A6-4BD7-8BD9-1D68A9C413E5,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICNote/p1055,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICAccount/p430,", "quicklookurl": " " }, { "title": "TOBBLEZ", "subtitle": "Notes", "arg": "CBA78FA0-01A8-4106-8B44-C574269CBDA1,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICNote/p1091,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICAccount/p430,", "quicklookurl": " " }, { "title": "AirPods replacement", "subtitle": "Notes #ggo-ber #goo", "arg": "C0E9FEA1-21CC-42BF-9C63-64991B6C365A,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICNote/p1060,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICAccount/p430,", "quicklookurl": " " } ] }
[16:46:32.466] Search Notes[Script Filter] Queuing argument 'f'
[16:46:32.584] Search Notes[Script Filter] Script with argv 'f' finished
[16:46:32.587] Search Notes[Script Filter] { "items": [ { "title": "f", "subtitle": "Create new note", "arg": "f", "quicklookurl": "" }, { "title": "Marcus Aurelius", "subtitle": "Notes | …Flarbicle wangdoddle…", "arg": "0B12E172-4990-4E68-8F62-04DE9ED7102B,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICNote/p1047,x-coredata://549413B4-F796-4CD7-92F7-D9FC10159754/ICAccount/p430,f", "quicklookurl": " " } ] }
[16:46:32.687] Search Notes[Script Filter] Queuing argument 'fo'
[16:46:32.799] Search Notes[Script Filter] Script with argv 'fo' finished
[16:46:32.802] Search Notes[Script Filter] { "items": [ { "title": "fo", "subtitle": "Create new note", "arg": "fo", "quicklookurl": "" } ] }
[16:46:32.913] Search Notes[Script Filter] Queuing argument 'fol'
[16:46:33.030] Search Notes[Script Filter] Script with argv 'fol' finished
[16:46:33.033] Search Notes[Script Filter] { "items": [ { "title": "fol", "subtitle": "Create new note", "arg": "fol", "quicklookurl": "" } ] }
[16:46:33.092] Search Notes[Script Filter] Queuing argument 'folg'
[16:46:33.183] Search Notes[Script Filter] Script with argv 'folg' finished
[16:46:33.186] Search Notes[Script Filter] { "items": [ { "title": "folg", "subtitle": "Create new note", "arg": "folg", "quicklookurl": "" } ] }
[16:46:33.258] Search Notes[Script Filter] Queuing argument 'folgi'
[16:46:33.321] Search Notes[Script Filter] Script with argv 'folgi' finished
[16:46:33.328] Search Notes[Script Filter] { "items": [ { "title": "folgi", "subtitle": "Create new note", "arg": "folgi", "quicklookurl": "" } ] }
[16:46:33.531] Search Notes[Script Filter] Queuing argument 'folgit'
[16:46:33.571] Search Notes[Script Filter] Script with argv 'folgit' finished
[16:46:33.588] Search Notes[Script Filter] { "items": [ { "title": "folgit", "subtitle": "Create new note", "arg": "folgit", "quicklookurl": "" } ] }
[16:46:42.055] Search Notes[Script Filter] Queuing argument 'folgitt'
[16:46:42.159] Search Notes[Script Filter] Script with argv 'folgitt' finished
[16:46:42.177] Search Notes[Script Filter] { "items": [ { "title": "folgitt", "subtitle": "Create new note", "arg": "folgitt", "quicklookurl": "" } ] }
[16:46:42.203] Search Notes[Script Filter] Queuing argument 'folgitte'
[16:46:42.235] Search Notes[Script Filter] Script with argv 'folgitte' finished
[16:46:42.254] Search Notes[Script Filter] { "items": [ { "title": "folgitte", "subtitle": "Create new note", "arg": "folgitte", "quicklookurl": "" } ] }
[16:46:42.334] Search Notes[Script Filter] Queuing argument 'folgittey'
[16:46:42.358] Search Notes[Script Filter] Script with argv 'folgittey' finished
[16:46:42.392] Search Notes[Script Filter] { "items": [ { "title": "folgittey", "subtitle": "Create new note", "arg": "folgittey", "quicklookurl": "" } ] }
sballin commented 3 years ago

Thanks for the suggestion! This is implemented in version 3.5.0.