metafizikal Posted July 1, 2021 Share Posted July 1, 2021 2 hours ago, sballin said: Sounds like Alfred may not have full disk access, something similar happened to another user after upgrading to 11.4: https://github.com/sballin/alfred-search-notes-app/issues/43#issuecomment-867308050 Here are what the permissions should look like: https://github.com/sballin/alfred-search-notes-app#required-permissions Weird - it definitely had it before, but it must have gotten unchecked in the upgrade. Problem fixed, thank you for your quick reply! sballin 1 Link to comment
dfay Posted July 12, 2021 Share Posted July 12, 2021 This is great - I hadn't updated in ages so I missed the linking capabilities until now... I love that it can search for Monterey / i(pad)OS 15 hashtags on Big Sur, too. sballin 1 Link to comment
dfay Posted July 12, 2021 Share Posted July 12, 2021 I've just posted in your GitHub repo a possible implementation for a new feature to move selected notes into the folder returned by the workflow. I'd also love it if Alfred could learn the folder search results to facilitate moving batches of notes to the same set of folders. Link to comment
jarrodjob Posted August 11, 2021 Share Posted August 11, 2021 Is there more information on the full capabilities of Handwriting and Image OCR support <which is super dope btw>? See below for more detailed q's. Thanks again in advance. <3 My understanding is with Alfred Search that it is only available in "Body" searches. Is there anything else I should be aware of? Do I need to do anything for existing images to get OCR on Big Sur, or is that for Monterrey's new feature? If i have a PDF that is OCR'd does Apple Notes or Alfred+Your Plugin pick that up in search? Link to comment
sballin Posted August 11, 2021 Author Share Posted August 11, 2021 (edited) That's right, they only appear when searching the note body text. The OCR is done by the Notes app itself automatically whenever I drag and drop an image into a note or add handwriting to a note (I'm on Big Sur). The OCR is pretty good but not 100% accurate, which might explain any inconsistencies with the search. The feature doesn't include PDFs or other non-image attachments—I don't know how to search those unfortunately. Edited August 11, 2021 by sballin Link to comment
alfredpanda Posted June 12, 2022 Share Posted June 12, 2022 @sballin recently I'm getting the error "Not authorized to send Apple events to Notes." - checked all Permissions for Alfred and they are okay. Any ideas? Thanks in advance Link to comment
sballin Posted June 12, 2022 Author Share Posted June 12, 2022 1 minute ago, alfredpanda said: @sballin recently I'm getting the error "Not authorized to send Apple events to Notes." - checked all Permissions for Alfred and they are okay. Any ideas? Did you try disabling and re-enabling those permissions? Link to comment
alfredpanda Posted June 13, 2022 Share Posted June 13, 2022 (edited) 18 hours ago, sballin said: Did you try disabling and re-enabling those permissions? I did indeed. I've just used the debug and it gives "/usr/bin/python2: No such file or directory". I've posted here. Edited June 13, 2022 by alfredpanda Link to comment
Shauli Posted July 21, 2022 Share Posted July 21, 2022 On 7/26/2018 at 11:07 AM, sballin said: I've created a workflow to find and open Apple/iCloud notes in Notes.app. Get it on Packal and feel free to open issues/make pull requests on GitHub. I have installed Mac osx Ventura Version 13.0 Beta (22A5295i) and it dosent work for me can you fix it so it will be compatible to it? Its a most have and what you made is amazing! Link to comment
sballin Posted July 21, 2022 Author Share Posted July 21, 2022 4 minutes ago, Shauli said: I have installed Mac osx Ventura Version 13.0 Beta (22A5295i) and it dosent work for me can you fix it so it will be compatible to it? Its a most have and what you made is amazing! what’s the error message? Link to comment
Shauli Posted July 21, 2022 Share Posted July 21, 2022 2 minutes ago, sballin said: what’s the error message? No error message it just won’t search for notes and the script is enabled Link to comment
sballin Posted July 21, 2022 Author Share Posted July 21, 2022 Just now, Shauli said: No error message it just won’t search for notes and the script is enabled what does the debug log say? Link to comment
Shauli Posted July 21, 2022 Share Posted July 21, 2022 16 minutes ago, sballin said: what does the debug log say? I’ll check Link to comment
Shauli Posted July 21, 2022 Share Posted July 21, 2022 23 minutes ago, sballin said: what does the debug log say? Logging Started… that’s it Link to comment
sballin Posted July 21, 2022 Author Share Posted July 21, 2022 2 minutes ago, Shauli said: Logging Started… that’s it did you try searching for a note after opening the debug log? Link to comment
TomBenz Posted October 3, 2022 Share Posted October 3, 2022 On 7/21/2022 at 10:37 PM, Shauli said: I have installed Mac osx Ventura Version 13.0 Beta (22A5295i) and it dosent work for me can you fix it so it will be compatible to it? Its a most have and what you made is amazing! I am using Ventura version Version 13.0 Beta (22A5358e) and it is working fine except for nc for creating new notes nc text or universal action on text gives error below -1719: System Events got an error: Can’t get window 1 of process "Notes". Invalid index. Input: text Debug log: ERROR: Search Notes[Run Script] /Users/xyz/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/84671CA0-0D83-4A84-9686-BAD862A45F2B: line 2: /usr/bin/python2: No such file or directory I am using v3.5.2 of this workflow, mostly downloaded from an excellent list of Monterey-compatible Python code maintained on this forum. Link to comment
TomBenz Posted October 3, 2022 Share Posted October 3, 2022 5 hours ago, TomBenz said: I am using Ventura version Version 13.0 Beta (22A5358e) and it is working fine except for nc for creating new notes nc text or universal action on text gives error below -1719: System Events got an error: Can’t get window 1 of process "Notes". Invalid index. Input: text Debug log: ERROR: Search Notes[Run Script] /Users/xyz/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/84671CA0-0D83-4A84-9686-BAD862A45F2B: line 2: /usr/bin/python2: No such file or directory I am using v3.5.2 of this workflow, mostly downloaded from an excellent list of Monterey-compatible Python code maintained on this forum. I have commented these lines of code for now to avoid the error in AppleScript block for "nc": (* tell application "System Events" tell process "Notes" set focused of text area of scroll area of group 1 of splitter group 1 of splitter group 1 of window 1 to true key code {125,125} -- down, down end tell end tell *) JJJJ 1 Link to comment
Valoche Posted November 3, 2022 Share Posted November 3, 2022 Hi, since this morning everytime I type the letter "n" in the Alfred search bar I instantly get this message, I had to disable the workflow I only get this in the debugger which is not really useful : [08:23:02.373] Logging Started... [08:23:04.925] Search Notes[Script Filter] Queuing argument '' Thanks for your help, have a nice day Link to comment
Erkut Posted December 1, 2022 Share Posted December 1, 2022 On 11/3/2022 at 3:23 PM, Valoche said: Hi, since this morning everytime I type the letter "n" in the Alfred search bar I instantly get this message, I had to disable the workflow I only get this in the debugger which is not really useful : [08:23:02.373] Logging Started... [08:23:04.925] Search Notes[Script Filter] Queuing argument '' Thanks for your help, have a nice day Look at the instructions. i got the same, when i set the instructions all done! Thanks bud working very well. Link to comment
jstncwlcx Posted January 21, 2023 Share Posted January 21, 2023 (edited) Hi There, When I use the nc command to create a new note, it works, but I also get this popup every time. Does anyone know how to fix this? I'm using Alfred 5.0.6 on 13.1 Ventura. I'm using version 3.5.2 of the workflow. I appreciate any and all help. Edited January 21, 2023 by jstncwlcx add additional info Link to comment
Stephen_C Posted January 21, 2023 Share Posted January 21, 2023 Does the possible solution posted a little further up the thread help at all? Stephen Link to comment
jstncwlcx Posted January 21, 2023 Share Posted January 21, 2023 @Stephen_CThanks for the response. The error in that post, and the error I'm getting are different. So I don't think that helps me? I wouldn't know how to insert that code anyway/ Link to comment
sballin Posted January 22, 2023 Author Share Posted January 22, 2023 19 hours ago, jstncwlcx said: @Stephen_CThanks for the response. The error in that post, and the error I'm getting are different. So I don't think that helps me? I wouldn't know how to insert that code anyway/ Should fix it if you double click on the block that's called "Create new note" in the workflow diagram and replace the code with this: on alfred_script(q) try tell application "Notes" -- Create new note from user query tell default account to make new note at default folder with properties {body:"<div><h1>" & q & "</h1></div><div><br></div>"} show first note in default account show first note in default account end tell on error errorMessage number errorNumber display alert "Create Note Error" message (errorNumber as string & ": " & errorMessage & "\n\nInput: " & q) as critical end try end alfred_script jstncwlcx 1 Link to comment
jstncwlcx Posted January 22, 2023 Share Posted January 22, 2023 That fixed it! I really appreciate your time and help! sballin 1 Link to comment
M1m1s Posted March 2, 2023 Share Posted March 2, 2023 @sballinThank you for this wonderful workflow - most helpful. I only came across it a couple of days ago but it's transformative. I have a feature request: I wonder if it would be possible to search for tags? Preferably for notes which have certain multiple tags, e.g. search for +food +recipe + vegetables. Even more helpful, would it be possible for the workflow to auto-suggest other tags used together with a specific tag, e.g. type tag:food and the workflow returns 'tag:recipe tag:vegetables' etc.? Perhaps this would be a tall order, I don't know. Your workflow is fantastic as is! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now