-
Posts
264 -
Joined
-
Last visited
-
Days Won
14
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by surrealroad
-
-
Thanks for that @deanishe. There are a couple of options that could be pursued, but they're all significant and they're all theoretical. I'd love to be able to experiment and figure this out but I just don't have the time. So, realistically, I'm waiting to see if someone else finds a way to access the notes in an easy way, and if so I can try something similar in this workflow.
I am not holding my breath though. Unfortunately Apple just doesn't care about making this stuff work outside of their native apps, particularly outside of iOS. That's fine-- the native notes app works well enough for what it does for a large segment of the userbase. It was exactly the same story with my reminders workflow a few years back- things changed under the hood making it too difficult to get the list of reminders into Alfred, but there's still value in using Alfred to create reminders (likewise using this workflow to create notes quickly, I hope).
Hopefully someone will just create some kind of API or something that lets you access this data easily on macOS and I'll be able to take a fresh look at it, but right now, sorry not going to happen
-
On 07/10/2017 at 3:20 PM, hangyi said:
Can't search Notes in macOS High Sierra
Looks like Apple changed the way notes are stored (they're now in a single database file), so the current method of searching them no longer works. There might be a way to make it work, but I'll need to do some research.
-
20 hours ago, Andrew said:
@surrealroad I've now made this fix, could you please let me know how you get on?
Thanks Andrew, sorry for the delay, I was away on vacation.
I've just tested on build 874 high sierra b9 and it's looking good!
-
It's the current release version. Works fine except on High Sierra.
-
8 hours ago, deanishe said:
Where's the workflow that's having the issue? It's very difficult to diagnose an issue without being able to replicate it.
-
Apologies, by "nothing" I meant "no errors or anything out of the ordinary"
Here's the output when I try to run:
Starting debug for 'Reminders for Alfred 3' [2017-09-06 15:26:44][input.scriptfilter] Queuing argument 's' [2017-09-06 15:26:44][input.scriptfilter] Queuing argument 'so' [2017-09-06 15:26:44][input.scriptfilter] Queuing argument 'som' [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'some' [2017-09-06 15:26:45][input.scriptfilter] Script with argument 'some' finished [2017-09-06 15:26:45][STDERR: input.scriptfilter] /Users/jack/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CDB1A90A-8ABD-4114-9CBC-2E7B38B91258/chrono.min.js [2017-09-06 15:26:45][input.scriptfilter] {"items":[{"title":"Add Reminder","arg":-1,"valid":true,"subtitle":"Create a new reminder to \"some\"","icon":{"path":""}}],"variables":{"reminders":"[{\"arg\":-1,\"text\":\"some\",\"body\":\"\",\"date\":\"\",\"list\":\"\",\"priority\":null,\"application\":\"\"}]","quitAfter":"false"}} [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'somet' [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'someth' [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'somethi' [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'somethin' [2017-09-06 15:26:45][input.scriptfilter] Queuing argument 'something' [2017-09-06 15:26:45][input.scriptfilter] Script with argument 'something' finished [2017-09-06 15:26:45][STDERR: input.scriptfilter] /Users/jack/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CDB1A90A-8ABD-4114-9CBC-2E7B38B91258/chrono.min.js [2017-09-06 15:26:45][input.scriptfilter] {"items":[{"title":"Add Reminder","arg":-1,"valid":true,"subtitle":"Create a new reminder to \"something\"","icon":{"path":""}}],"variables":{"reminders":"[{\"arg\":-1,\"text\":\"something\",\"body\":\"\",\"date\":\"\",\"list\":\"\",\"priority\":null,\"application\":\"\"}]","quitAfter":"false"}}
-
5 hours ago, Andrew said:
@surrealroad My test workflows are working on 10.13 Beta 7.
Are you seeing any errors in the Alfred debugger (set to All Info), or in Console.app? Are any of your Script Filter workflows working (especially non-JS script filter ones)?
nothing in the debugger, and all other workflows are fine. but AFAIK none of the other workflows are using JXA.
30 minutes ago, deanishe said:How are you outputting the JSON? Are you returning it or writing it to STDOUT?
returning it
-
Since beta 7 of macOS High Sierra, I've been having issues with Alfred (v3.4.1) not allowing items to be actioned. For example, given this JSON output from a osascript (JS):
{ "items": [{ "title": "Add Reminder", "arg": -1, "valid": true, "subtitle": "Create a new reminder to \"something\"", "icon": { "path": "" } }], "variables": { "reminders": "[{\"arg\":-1,\"text\":\"something\",\"body\":\"\",\"date\":\"\",\"list\":\"\",\"priority\":null,\"application\":\"\"}]", "quitAfter": "true" } }
(expanded for readability) I get the action showing up in Alfred, but it behaves as if `valid` was set to `false`. In other words, pressing enter doesn't do anything. Prior to beta 7, this had been working fine. I can't find what I could change in my code to resolve this.
-
Everyone with issues, if you could post them on Github, I'll try to get them resolved.
-
On 03/09/2017 at 5:26 AM, dfay said:
download link on 1st page is broken
Should be fixed now, sorry about that!
-
On 28/06/2017 at 8:09 PM, paulbryanvisual said:
Great workflow!
I would love to assign a key command to the "r this" function. Is that possible? I tried but only got half way.
Thanks!
FYI the latest version (v73) now includes an external trigger. I just tested it with the "this" keyword, and it seems to work correctly:
-
18 hours ago, paulbryanvisual said:
Great workflow!
I would love to assign a key command to the "r this" function. Is that possible? I tried but only got half way.
Thanks!
Not really. I will think about maybe enabling triggers on the workflow to allow for this.
However you can at least do this:
Create a new workflow like so:
In the Run NSAppleScript:
on alfred_script(q) tell application "Alfred 3" to search "r this" end alfred_script
This will prepopulate Alfred with "r this" when you press your hotkey, so all you need to do is press enter
-
-
Hi everyone. The new version is now live, if you are using macOS 10.12 and Alfred v3, I encourage you to update. Please see the first post with download links and updated usage instructions. Refer to the changelog at the bottom for more details about the changes.
Thanks everyone for your feedback, and sorry it took such a long time to get this update out!
-
Updated the beta version to v69, which brings back support for lists.
Lists
To choose a list to use on a per-reminder basis, type
in <list name> list
right at the end of the command, for exampler Get Santa outfit !2 in Christmas list
. If a matching list can't be found, you won't be able to action the command.In all other cases, the default Reminders list will be used (typically the first one). If you prefer, you can edit the
defaultList
variable within the workflow's Arg and Vars node (note that you'll have to edit this each time you upgrade the workflow however).To download the beta: http://bit.ly/2gkUsQf
-
Updated the beta version to v68, which brings back support for applications via "r this".
Apps
Get reminded about the app you're using, for example the selected file in Finder, or the current tab in Chrome or Safari.
To create a reminder about the active app, simply type
r this
. Or keep typing to set a date, priority or a custom title, for exampler this drop some sick beats on Friday !!!
.The following apps are currently supported:
- Adobe Acrobat (Pro/DX)
- Chromium
- Contacts
- Finder
- FoldingText
- Google Chrome
- Google Chrome Canary
- Microsoft PowerPoint
- Microsoft Word
- Safari
- TextEdit
- TextMate
- Vienna
- WebKit
Apps can be added on request. Just raise an issue with the app you use. As long as it's freely available and has AppleScript support, it can be added.
To download the beta: http://bit.ly/2gkUsQf
-
Updated the beta version to v66, which brings back support for priorities.
Priority
To set the priority of the reminder, either use exclamation marks right at the start or end of the command (
!
for low priority,!!
for medium priority,!!!
for high priority), or type the priority right at the end of the command (these can also be abbreviated, for examplemp
orp lo
). For example:-
r !!! in 2 weeks an important meeting
-
r thursday have a banana medium priority
-
r decide what to have for lunch !lo
-
r make a turkey sandwich p3
To download the beta: http://bit.ly/2gkUsQf
-
-
12 hours ago, roccitman said:
c'est la vie
Piece of feedback. It's small and doesn't really impact me.
My screen vid software doesn't show it, but in this video Reminders.app is beach-balling for 15 seconds or so. Again, the screen vid software shows the mouse pointer as a normal pointer, but it's actually the spinning beach ball.
This should be fixed now in v65 http://bit.ly/2gkUsQf
-
ok interesting. it seems like we're hitting that same Apple bug that prevents showing reminders inside Alfred. I will rewrite it and post an update.
-
7 minutes ago, roccitman said:
Wow, pretty slick! Still getting used to the syntax, but it's pretty darn smart. But what have you done with J*** J****?!?!!
Heh I'm not sure what happened there. I'll check my profile settings.
Nope, doesn't look like I can change it back. Must be something they've changed in the forum software.
-
Hello everyone. I have a new beta version available. This has been rewritten from the ground up in JavaScript for Automation. It now requires Alfred v3+, MacOS Sierra+.
NEW: Enhanced date/time natural language parsing. Never worry about the correct syntax again!
NEW: Better messaging about what will happen when actioning the item.
FIXED: (Hopefully) improved performance.However, there are still several features from the previous version that have not yet been carried across to this version. As such, this should be considered a beta version. The following are currently missing:
• Support Lists
•Support Apps
• Auto-update support
• "help" keyword
•Note created notification
• Quit reminders automatically
•Support priorityIf you:
- Don't mind trying this out
- Have Alfred version 3
- Are using macOS Sierra
- Don't need any of the absent features
Then please feel free to give it a spin:
-
On 02/12/2016 at 9:11 PM, rdm20 said:
Hi there, first off I love your product!
Sadly, I recently upgraded to Mac OS Sierra (10.12.1) and now cannot get the recipe to work. When I launch alfred and type r help, or remind me in ... nothing shows up. For some reason, rtest is the only thing that works, here are the results. Any ideas!?Thanks,
Ryan
Test results: OS version: 10.12.1 (0 seconds) Current date: Friday, December 2, 2016 at 1:08:37 PM (0 seconds) Initialize workflow path: /Users/XXXX/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.D5F5B3E6-3183-4DE5-BAC4-4423F3CAFD7A (0 seconds) Initialize alfred-library: OK (0 seconds) Initialize update-library: OK (0 seconds) Initialize wf-library: ERROR: mkdir: /Users/XXXX/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data: No such file or directory (0 seconds) Initialize plist-library: OK (0 seconds) Reminders.app state: Not running (0 seconds) Fetch reminder count: 20 (15 seconds) Fetch reminder info: OK (15 seconds) Fetch reminder list count: 1 (0 seconds) Fetch reminder list info: OK (0 seconds) Run cache process: SKIPPED (0 seconds) Fetch cache timestamp: SKIPPED (0 seconds) Fetch cached reminder count: SKIPPED (0 seconds) Test basic query: OK (0 seconds) Test today query: OK (0 seconds) Test in n minutes query: OK (0 seconds) Test in n hours query: OK (0 seconds) Test in n days query: OK (0 seconds) Test in n days y hours query: OK (0 seconds) Test in n hours y minutes query: OK (0 seconds) Test at time query: OK (0 seconds) Test tomorrow at time query: OK (0 seconds) Test in x list query: OK (0 seconds) Subtitle generation: OK (0 seconds) Test basic reminder filtering: OK (0 seconds) Test remind today reminder filtering: OK (0 seconds) Test due tomorrow reminder filtering: OK (0 seconds) Test reminder list filtering: OK (0 seconds) Test version-check response: ERROR: The variable timestamp is not defined. (0 seconds) Current unix time: 1.480712947E+9 (0 seconds) Simple JSON: OK (0 seconds) Test execution time: 30 seconds
Hi can you check you are using this version of the workflow:
It appears that you upgraded from Alfred V2 to V3 and it can't store your preferences properly. Failing that, please try manually creating a folder at /Users/XXXX/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data and see if it then works.
-
33 minutes ago, flome said:
I have the same issue. Any command other than creating a reminder shows "command not recognized" I'm running MacOS Sierrra 10.12.1 (which could be the problem).
Also, when running "r this" I can't seem to set a time for my reminder and sometimes the title I set won't stick. It will give it the subject name of the mail item or the title of the chrome window instead. It's a little inconsistent there.
Please see the first post. *Only* creating reminders are supported. in Mac OS 10.12.
-
On 02/07/2016 at 4:32 PM, edbro said:
I deleted my post as I no longer have the problem. After you mentioning setting the account name in the applescript, I did that and now it works. I missed that the first time.
I'm replying to you because I didn't want your post hanging there referencing a post that doesn't exist.
Yeah that's the right one. I don't maintain the packal page any more, it probably refers to the pre-icloud version.
Reminders
in Share your Workflows
Posted
It's Control Command Escape