Jump to content

surrealroad

Member
  • Posts

    264
  • Joined

  • Last visited

  • Days Won

    14

Reputation Activity

  1. Like
    surrealroad got a reaction from 秦子云 in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  2. Thanks
    surrealroad got a reaction from JeffreyAutomation in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  3. Thanks
    surrealroad got a reaction from djb21au in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  4. Thanks
    surrealroad got a reaction from plaintext in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  5. Like
    surrealroad reacted to howdytom in Reminders   
    Well done! This is exactly I was looking for. I really like that you can choose a reminder list to add your todo. Great workflow!
  6. Thanks
    surrealroad got a reaction from Grug in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  7. Thanks
    surrealroad got a reaction from Andrew in High Sierra beta & JXA items not actionable [Fixed 3.5 b874 pre-release]   
    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!
  8. Like
    surrealroad reacted to Andrew in High Sierra beta & JXA items not actionable [Fixed 3.5 b874 pre-release]   
    @surrealroad sorry about the delay on this, I haven't had a dev setup on High Sierra so haven't been able to looking into this with more detail.
     
    It looks like Apple's framework or JSON parsing has changed a little, and where Alfred is expecting a string for the "arg" field, you are passing an integer.
     
    Before High Sierra, Alfred would happily take any object type and fall back onto the objects description, in terms of e.g number -1, that would be "-1" as a string. This no longer seems to happen. I'm going to look a little deeper into this and likely create a workaround or fix, but in the short term, you can fix this by returning "-1" instead of -1 for the arg.
     
    (For reference, the JSON format is here: https://www.alfredapp.com/help/workflows/inputs/script-filter/json/)
  9. Like
    surrealroad reacted to Andrew in High Sierra beta & JXA items not actionable [Fixed 3.5 b874 pre-release]   
    @surrealroad I've now made this fix, could you please let me know how you get on?
  10. Like
    surrealroad reacted to Chai in Join or start a zoom.us meeting   
    This Alfred Workflow is used to start or join a [Zoom](https://zoom.us/) meeting.
    Support free or paid account, you can join a meeting without logged in.
     
    Usage:
      1. Paste a Zoom meeting URL in Alfred directly, press Enter, this will join an existing meeting.
      2. Paste a Zoom meeting URL in Alfred, press Command + Enter, it will start a new meeting. And put the URL of this new meeting into your clipboard automatically.
      3. A new keyword “zm” is used to start a new meeting.
      4. Append an existing Zoom meeting ID after the keyword “zm”, it will join this meeting. For example: `zm 123-456-789`, `zm 123456789`
      5. Whether or not there is a meeting ID after keyword zm,press Command + Enter will always start a new meeting.
     
    Source: https://github.com/chaifeng/alfred-zoomus/
    Download: https://github.com/chaifeng/alfred-zoomus/releases



  11. Like
    surrealroad reacted to Vero in Help: Reminders Workflow: After workflow shortcut defaults to google   
    @psicologo First, check which workflow version you're using.
     
    You can grab the latest one from the link @vitor provided, or from Github:
    https://github.com/surrealroad/alfred-reminders/releases/tag/v74
     
    I don't believe @surrealroad is maintaining the Packal version any longer, so that thread is your best starting point. I'm using the latest version of the workflow and it seems to be working fine  
     
    Cheers,
    Vero
  12. Like
    surrealroad reacted to blacksails in Remote Desktop   
    Hi i submitted a PR, to update the icon to the newest version.
  13. Like
    surrealroad got a reaction from 40-02 in Reminders   
    FYI the latest version (v73) now includes an external trigger. I just tested it with the "this" keyword, and it seems to work correctly:


     
     
     
  14. Like
    surrealroad reacted to paulbryanvisual in Reminders   
    I am using this all the time now.  I probably can't live without it. Thanks so much!  
  15. Like
    surrealroad got a reaction from Tony_Et in GoToMeeting Tools   
    Awesome!
  16. Like
    surrealroad reacted to Tony_Et in GoToMeeting Tools   
    GoToMeetingTools
    This is an Alfred 3 workflow meant to assist in managing GoToMeeting lines. Each phonebook entry is a valid GoToMeeting line number and a descriptor or name.
    General installation
    You'll need Alfred 3 installed with the PowerPack: http://www.alfredapp.com You'll need Python (which you should already have) You'll also need to install the requests module for some functionality (converting gotomeeting urls into meeting numbers): http://docs.python-requests.org/en/master/ Download the latest GoToMeeting Tools.alfredworkflow from the GitHub releases page at https://github.com/plongitudes/GoToMeetingTools/releases Double click the .alfredworkflow file to install it Usage Summary
    go add <descriptor> <goto line # | http://gotomeet.me/customurl> go join <search pattern> go update <search pattern> go delete <search pattern> go share <search pattern go backup go restore go import <filename> Usage Details
    go add: is how you create new phonebook entries. The descriptor can be any combination of letters, numbers, and the following special characters: _, ., (, ), and . Any other characters will be stripped. go add <description> <gotomeeting line number>: line number here should be in the form of 111222333 or 111-222-333. go add <description> <gotomeeting url>: urls like http://gotomeet.me/customurl or gotomeet.me/customurl will be converted into a line number and added to the phonebook. go join: is the method for launching a gotomeeting line. You can start searching on name or number, whichever you remember best go update: lets you modify any entry's phone number. The order of operations is: type go update and start searching for the entry you want to modify. Once you have the right one, select it and hit enter. The Alfred field will update with the entry name and look something like go update Weekly Stand-up. Add the 9-digit GoToMeeting line number that you wish to be the new number for that entry. Once the number is completely entered, the correct entry will appear in the list. Select it and hit enter; the entry will be modified accordingly. go delete: start typing to search for the entry you want to delete. Once it appears, select it and hit enter; that entry will be removed from the phonebook. go share <search pattern>: Share a meeting URL. This is in the form of Join my GotoMeeting: https://global.gotomeeting.com/host/111222333, and is both copied to the clipboard and pasted into the foreground window. The pasting behavior can be altered in the "Copy to Clipboard" node in the workflow. go backup: create a backup in the user's home directory (~/.gotoPhonebook) of the internal cpickle datastore that is human readable. This is essentially a comma-separated csv that can be modified. This can also be used as a format guide for a valid go import action. go restore: overwrite the internal datastore with the contents of the backup in ~/.gotoPhonebook. go import: import a file that replaces the current phonebook, or creates one if the user has no phonebook yet. The file must be a comma-separated csv in the form of "123456789","Useful description goes here". TODO
    handle webinars Allow renaming of entries in addition to modifying line numbers better error messaging to the user for bad urls vs no url supplied Release Notes
    1.2.7: Patched a bug with osascript in OSX 10.12.5 - See https://bugs.python.org/issue30392 1.2.6: moving to Alfred-Workflow 1.26 1.2.5: fixing 100% cpu bug See https://github.com/deanishe/alfred-workflow/issues/111 for details. GoToMeeting Tools workflow uses alfred-workflow 1.25 now, which fixes the issue (hang on autoupdate check) 1.2.4: requiring 'requests' module Gotomeeting requires the 'requests' python module in order to turn gotomeeting urls into line numbers. Please pip install requests or easy_install requests to add this module to your system. 1.2.3: Fixing ICON calls (autoupdate should be working now) ICON calls were written incorrectly, which was breaking a lot of things autoupdate feature should now be working 1.2.0: Turn a gotomeet.me url into a phonebook entry Added: New entry adding functionality, url instead of line number: go add <description> <http://gotomeet.me/customname> will now fetch a meeting number and turn it into a phonebook entry. 1.1.2: Sharing is Caring (and reading is fun) Added: ability to share a gotomeeting url from alfred. Added: the full phonebook is now listed by default if the query is empty. 1.1.0: Backup/restore, plus joining lines without an entry Added ability to backup the phonebook from internal cpickle format Added ability to restore from said backup Added ability to (destructively) import a comma-separated csv in the form of "line","description" for new users. Added ability to join a line if you have no current entry for that line: go join 123456789 will be a selectable menu item once the line number entered is deemed valid (9-digit line) Lastly, externalized some sanitization functions to keep code more lean. 1.0.3: Fixed issue with "update" not working The update action was clobbering the wrong entry on update, this is now fixed. 1.0.2: allow numbers with dashes Added better line number handling for gotomeeting lines (usually they're displayed as xxx-xxx-xxx, this is now handled correctly) 1.0.1 initial release with basic CRUD functionality
  17. Like
    surrealroad got a reaction from yellowsoar in Notes   
    This just creates a new note in notes.app. To keep it simple, it just uses the first folder in the first account it finds. You can change this behaviour by editing providing the respective names in the "properties" in the applescript.
     
    Usage
     
    To search existing notes, type "n search_term" into Alfred. E.g. "n something I wrote yesterday" (not working in macOS High Sierra)
    To create a new note, just type "n note_text" into Alfred. E.g. "n something very important I will probably forget"
    To create a note from the clipboard, type "nclip optional_note_name"
    Hold option to open the note in a new window after creating it.
     

     
    iCloud Notes on OS 10.11+
     
    As of Mac OS El Capitan, you are given the option to upgrade iCloud notes accounts. Once you do this, with the normal Notes workflow you'll start seeing duplicate lines in notes. The reason for this is that prior to the upgrade the "Title" of the note and the "Body" of the note were displayed separately. After the upgrade, Notes assumes the title is *not* also included in the body, which is different behaviour, and led to the apparent duplication.
     
    Sadly there's no reliable way for the workflow to detect whether your Notes account has been upgraded or not, so fixing it would entail breaking it on installs that have not undergone this upgrade. Therefore I have opted to make a separate Workflow which is to be used by anyone who has upgraded to the new iCloud version of Notes. You will find that download link below.
     
    Changelog:
    Tuesday, 5th July 2016 - Fixed a regression where "nclip" would not work if a custom title was provided
    Thursday, 30 June 2016 – Compatibility for users who did not previously have Alfred v2 installed
    Wednesday, 27 January 2016 – Fixed an issue with notes from clipboard not working; existing iCloud notes are now searched too (thanks, Vero!)
    Friday, 16 October 2015 – Added a new Workflow for iCloud upgraded notes in OS 10.11+ (Thanks Nikita!)
    Monday, 27 October 2014 – workaround for apple bug #18734006 on OS 10.10
    Monday, 13 October 2014 – Hold option to open note window after creation
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Thursday, 18 April 2013 – Only first line is used as a title when using "nclip" with no arguments
    Sunday, 7 April 2013 – Properly escape illegal characters in query
    Friday, 5 April 2013 – Fixed an issue where a temporary file was getting written to the wrong place, sorry about that! Thursday, 4 April 2013 – Combined into single workflow; renamed to "Notes"; fixed an issue with clip keyword; nclip now pastes HTML if possible; workflow will notify if updates are available Saturday, 16 March 2013 – First version  
    Download (Alfred v3 and iCloud)
    http://bit.ly/2w2mILX
     
    Note: this workflow will notify you if a newer version is available. To disable this functionality, change the property "shouldCheckForUpdates" to "false"
     
    Alfred v2
    It's not currently known whether the latest release will be backward-compatible with Alfred v2.
    If you are using Mac OS 10.11+ and have "upgraded" your iCloud notes, you should use this workflow:
    Notes for Alfred v2 (iCloud)
     
    In all other cases, this is the one to use:
    Notes for Alfred v2 (non-iCloud)
     
    Source: https://github.com/surrealroad/alfred-notes
     
    Issues
    Please raise issues on GitHub, as it's easier for me to keep track of them there.
  18. Like
    surrealroad reacted to alfredo.psi in Reminders   
    wow  amazing !! this fixes all my problems !  when I was back to choosing the right reminders tool among huge amount of options, i found this upgrade ! this works perfect with my alfred ! thank you  ! 
  19. Like
    surrealroad got a reaction from 40-02 in Notes   
    This just creates a new note in notes.app. To keep it simple, it just uses the first folder in the first account it finds. You can change this behaviour by editing providing the respective names in the "properties" in the applescript.
     
    Usage
     
    To search existing notes, type "n search_term" into Alfred. E.g. "n something I wrote yesterday" (not working in macOS High Sierra)
    To create a new note, just type "n note_text" into Alfred. E.g. "n something very important I will probably forget"
    To create a note from the clipboard, type "nclip optional_note_name"
    Hold option to open the note in a new window after creating it.
     

     
    iCloud Notes on OS 10.11+
     
    As of Mac OS El Capitan, you are given the option to upgrade iCloud notes accounts. Once you do this, with the normal Notes workflow you'll start seeing duplicate lines in notes. The reason for this is that prior to the upgrade the "Title" of the note and the "Body" of the note were displayed separately. After the upgrade, Notes assumes the title is *not* also included in the body, which is different behaviour, and led to the apparent duplication.
     
    Sadly there's no reliable way for the workflow to detect whether your Notes account has been upgraded or not, so fixing it would entail breaking it on installs that have not undergone this upgrade. Therefore I have opted to make a separate Workflow which is to be used by anyone who has upgraded to the new iCloud version of Notes. You will find that download link below.
     
    Changelog:
    Tuesday, 5th July 2016 - Fixed a regression where "nclip" would not work if a custom title was provided
    Thursday, 30 June 2016 – Compatibility for users who did not previously have Alfred v2 installed
    Wednesday, 27 January 2016 – Fixed an issue with notes from clipboard not working; existing iCloud notes are now searched too (thanks, Vero!)
    Friday, 16 October 2015 – Added a new Workflow for iCloud upgraded notes in OS 10.11+ (Thanks Nikita!)
    Monday, 27 October 2014 – workaround for apple bug #18734006 on OS 10.10
    Monday, 13 October 2014 – Hold option to open note window after creation
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Thursday, 18 April 2013 – Only first line is used as a title when using "nclip" with no arguments
    Sunday, 7 April 2013 – Properly escape illegal characters in query
    Friday, 5 April 2013 – Fixed an issue where a temporary file was getting written to the wrong place, sorry about that! Thursday, 4 April 2013 – Combined into single workflow; renamed to "Notes"; fixed an issue with clip keyword; nclip now pastes HTML if possible; workflow will notify if updates are available Saturday, 16 March 2013 – First version  
    Download (Alfred v3 and iCloud)
    http://bit.ly/2w2mILX
     
    Note: this workflow will notify you if a newer version is available. To disable this functionality, change the property "shouldCheckForUpdates" to "false"
     
    Alfred v2
    It's not currently known whether the latest release will be backward-compatible with Alfred v2.
    If you are using Mac OS 10.11+ and have "upgraded" your iCloud notes, you should use this workflow:
    Notes for Alfred v2 (iCloud)
     
    In all other cases, this is the one to use:
    Notes for Alfred v2 (non-iCloud)
     
    Source: https://github.com/surrealroad/alfred-notes
     
    Issues
    Please raise issues on GitHub, as it's easier for me to keep track of them there.
  20. Like
    surrealroad reacted to downthescreenhole in Reminders   
    r this
     
    Great workflow and r this is just brilliant. It's seemingly simple things actions which make me love Alfred more every day. And make one wonder why after years macOS still isn't that smart.
     
    Thanks for the awesome work on this workflow and for sharing with the world, @surrealroad.
  21. Like
    surrealroad reacted to roccitman in Reminders   
    Issue resolved. And priorities are great!
  22. Like
    surrealroad reacted to roccitman in Reminders   
    Wow, pretty slick! Still getting used to the syntax, but it's pretty darn smart. But what have you done with J*** J****?!?!!
  23. Like
    surrealroad reacted to roccitman in Reminders   
    Oh, also like the second option in case you're trying to put numbers into your reminder note...

  24. Like
    surrealroad got a reaction from gandalfsaxe in Reminders   
    This creates a new reminder in Reminders.app
    Download the latest version, for Alfred v3+ and macOS 10.12+
    For older versions, go here.
    Usage
    To use, just type r <some text> into Alfred.
    For example, r check out some of Alfred's other workflows will create a new reminder called "check out some of Alfred's other workflows".
    You can also include times and dates in the text and have Alfred set a reminder for that particular time.
    r this will capture the current application and turn it into a reminder.
    r help will show some built-in examples.

    Dates
    To be reminded at a specific date/time, simply type a date into the command, for example:
    r today release the hamsters into the wild r tomorrow bring about financial ruin upon my enemies r in 5 minutes drop everything r in 2 hours laugh out loud r on 24/12/13 forget everything I know about things in movies r on 12 June 15 come up with some interesting ideas r on 31-12-99 23:22 panic about the millennium bug r at 2pm wait for nothing in particular r next thursday at 15.30 ask some difficult questions
    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 example mp or p 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 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 example r 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).
    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 example r 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 Mail Mailplane 3 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.
    Getting help
    r help will display the above examples
    All sorts of combinations are possible!
    Configuration
    If you want to change the default reminder list, edit the variables component at the top of the workflow, otherwise it will just use the first one (unless you use "in Y list" at the end).
    External Trigger
    To call the workflow as an external trigger, use applescript such as
    tell application "Alfred 3" to run trigger "remind" in workflow "com.surrealroad.alfred-reminder" with argument "something tomorrow at 5pm"  
     
    Changelog
    v74 (Thursday, 3 August 2017) – Fixed an issue where impartial queries did not get parsed (thanks Nibblesh!)
    v73 (Friday, 21 July 2017) - Added support for Mailplane 3 (thanks devguydavid!), ensure dates are always in the future (thanks saeedmahani!), added external trigger
    v72 (Monday, 6 March 2017) – Quit reminders if needed when complete
    v71 (Saturday, 4 March 2017) – Added built-in help
    v70 (Friday, 3 March 2017) – Added OneUpdater
    v69 (Tuesday, 3 January 2017) – Added support for different lists
    v68 (Friday, 9 December 2016) – Added remaining app handlers, escaped paths
    v67 (Thursday, 8 December 2016) – Added support for app-secific reminders
    v66 (Thursday, 8 December 2016) - Added support for priorities
    v65 (Thursday, 8 December 2016) – Fixed reminders app hanging temporarily after creating a new reminder
    v64 (Wednesday, 7 December 2016) – Rewritten from the ground up in JavaScript for Automation. 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.
    Note: there are still several features that have not been carried across to this version. As such, this should be considered a beta version.
    Monday, 24 October 2016 – Add support for Microsoft Word, Adobe Acrobat Pro, OneNote, Powerpoint (Thanks to catgsmith!)
    Friday, 3 June 2016 – Compatbility for users who did not previously have Alfred v2 installed
    Wednesday, 28 October 2015 - attempted fix for reminders not quitting on OS <10.9
    Tuesday, 27 October 2015 - fix for reminders not closing after adding a new reminder
    Thursday, 15 October 2015 – compatibility for OS 10.11 El Capitan (and hopefully future releases)
    Wednesday, 21 January 2015 – added pattern “r in {x} days at {time} to {something}” 
    Thursday, 30 October 2014 – days can now be abbreviated to 3 or more characters (e.g. “tod”, “tomo”, “thurs”, etc.), minutes can be abbreviated to “min” or “mins”, hours can be abbreviated to “hr”; the priority of the reminder can now be specified by “ !” at the end of the query, “ !1”,“ !2”,“ !3” each with increasing priorities
    Wednesday, 22 October 2014 – fixed cache process errors on OS 10.10, workaround for apple bug #18734006 on OS 10.10
    Tuesday, 21 October 2014 – addressed some internal errors (which should also improve performance a little), notifications should now be working on OS 10.10, fixed Mail integration on OS 10.10, Mail integration now takes the most recent message if multiple messages (or a conversation) are selected
    Saturday, 26 July 2014 – Disable showing reminders in OS 10.10 (Yosemite)
    Thursday, 9 January 2014 – Fixed Finder links in OS 10.9
    Saturday, 23 November 2013 – Disable display of existing reminders under OS 10.9
    Friday, 22 November 2013 – Workflow will now display a message if the command is not valid
    Saturday, 2 November 2013 – Fixed an issue that would cause the workflow to crash the first few times it was run; fixed an issue that would prevent update checking to work correctly
    Friday, 1 November 2013 – Fixed an issue where caching reminders would cause update checking to fail
    Wednesday, 23 October 2013 – Increased timeout on OS 10.9, and allowed reminders to be retrieved from the cache while it's running; times specified without am/pm are now assumed to be in 24hour format; corrected an issue where 12 o'clock times were calculated incorrectly; you can now use "noon" and "midnight" to specify time
    Tuesday, 22 October 2013 – Prevent cache processes overlapping; recreate damaged cache file if needed; workaround for OS 10.9 GM2 plist bug
    Wednesday, 9 October 2013 – Added support for Google Chrome Canary; added plain text formats of applescripts; fix for cache process failing for new users
    Monday, 7 October 2013 – Added profiling to rtest; "r" with no arguments is now the same as "r all"
    Friday, 4 October 2013 – Compatbility with OS 10.9 Mavericks GM
    Wednesday, 18 September 2013 – Fix for non-gregorian date format
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Wednesday, 10 July 2013 - Added support for OmniFocus 2, TextMate 2 and FoldingText
    Thursday, 18 April 2013 – Fixed recognition of 10/11/12am/pm times
    Tuesday, 16 April 2013 -- Added support for WebKit Nightly. Monday, 15 April 2013 – Added "r in x days y hours", "r in x hours y minutes", "r today/tomorrow/weekday at time to x" patterns Thursday, 11 April 2013 – Added support for OmniFocus, Vienna, reminder from address book now adds a link to the contact Wednesday, 10 April 2013 – Fix for -609 error (thanks, stevef!) Tuesday, 9 April 2013 – Added "r refresh" keyword to refresh list ("r all" will no longer refresh the list); added "rshow", which will only show options for existing reminders, "radd", which will only show options for adding new reminders; added "rtest" which runs a set of tests to check for potential problems; fixed an issue that would cause workflow to crash (thanks, erist!) Monday, 8 April 2013 – Better compatibility for editing library scripts on other systems; it's now possible to delete reminders by holding down control; fixed a rare issue where the workflow might incorrectly report a new version is available; iconography tweak; added "overdue" keyword; added support for TextMate and TextEdit; allow "r in 1 minute/hour/day" Sunday, 7 April 2013 – Don't mark reminder as complete with option held down; properly escape illegal characters in query; added support for Finder and Chromium Saturday, 6 April 2013 – Added "r this" which captures data from the current application and turns it into a reminder; support for Google Chrome, Safari, and Mail; fixed a regression; support for contacts/address book; added icons from the icon factory; "r all" now refreshes the cache Friday, 5 April 2013 – Show "r all" in help; don't close reminders if its been moved to the foreground; all keywords can now be used to filter displayed reminders; changed the cache duration to 2 hours; subtitle for existing reminders shows more information where possible Thursday, 4 April 2013 – Performance improvements; hold option to view the selected reminder in Reminders.app Wednesday, 3 April 2013 – Fix for "in list" pattern breaking up text; added "r help" examples; don't prompt to create reminder with "all" keyword; checks for newer versions of the workflow Tuesday, 2 April 2013 – If reminders.app is closed, it will stay closed when using this workflow Sunday, 31 March 2013 – Added pattern "r Wednesday something" Wednesday, 27 March 2013 – Renamed workflow to "Reminders"; Use application id instead of name, Alfred now shows existing reminders in his list (selecting one will mark it as complete); keyword is now optional Tuesday, 26 March 2013 – Now sets specified date as the reminder date, rather than due date; added pattern "r something in Y list" Wednesday, 20 March 2013 – You can now use the pattern "r at 1.30 to something"; Alfred will tell you what's going to happen before you press enter; split off code to library file Tuesday, 19 March 2013 – You can now use the pattern "r in X minutes/hours/days something" Sunday, 17 March 2013 – You can now specify a date for the reminder. See the examples above. Acknowledgements
    Date parsing is done via chrono.js
    Uses icons from the Flurry collection by David Lanham / The Icon Factory
    Updates via OneUpdater
     
    Disclaimer
    This workflow is provided as-is, use it at your own risk. I can't take any responsibility for anything bad that happens as a result of using it, including, but not limited to, loss of data, loss of sanity, spontaneous human combustion.
     
    Feedback
    By far the best way to give me feedback is to submit an issue on GitHub. Alternatively, just reply to this post.
  25. Like
    surrealroad got a reaction from gandalfsaxe in Notes   
    This just creates a new note in notes.app. To keep it simple, it just uses the first folder in the first account it finds. You can change this behaviour by editing providing the respective names in the "properties" in the applescript.
     
    Usage
     
    To search existing notes, type "n search_term" into Alfred. E.g. "n something I wrote yesterday" (not working in macOS High Sierra)
    To create a new note, just type "n note_text" into Alfred. E.g. "n something very important I will probably forget"
    To create a note from the clipboard, type "nclip optional_note_name"
    Hold option to open the note in a new window after creating it.
     

     
    iCloud Notes on OS 10.11+
     
    As of Mac OS El Capitan, you are given the option to upgrade iCloud notes accounts. Once you do this, with the normal Notes workflow you'll start seeing duplicate lines in notes. The reason for this is that prior to the upgrade the "Title" of the note and the "Body" of the note were displayed separately. After the upgrade, Notes assumes the title is *not* also included in the body, which is different behaviour, and led to the apparent duplication.
     
    Sadly there's no reliable way for the workflow to detect whether your Notes account has been upgraded or not, so fixing it would entail breaking it on installs that have not undergone this upgrade. Therefore I have opted to make a separate Workflow which is to be used by anyone who has upgraded to the new iCloud version of Notes. You will find that download link below.
     
    Changelog:
    Tuesday, 5th July 2016 - Fixed a regression where "nclip" would not work if a custom title was provided
    Thursday, 30 June 2016 – Compatibility for users who did not previously have Alfred v2 installed
    Wednesday, 27 January 2016 – Fixed an issue with notes from clipboard not working; existing iCloud notes are now searched too (thanks, Vero!)
    Friday, 16 October 2015 – Added a new Workflow for iCloud upgraded notes in OS 10.11+ (Thanks Nikita!)
    Monday, 27 October 2014 – workaround for apple bug #18734006 on OS 10.10
    Monday, 13 October 2014 – Hold option to open note window after creation
    Tuesday, 17 September 2013 – Updated q_workflow module to latest version
    Thursday, 18 April 2013 – Only first line is used as a title when using "nclip" with no arguments
    Sunday, 7 April 2013 – Properly escape illegal characters in query
    Friday, 5 April 2013 – Fixed an issue where a temporary file was getting written to the wrong place, sorry about that! Thursday, 4 April 2013 – Combined into single workflow; renamed to "Notes"; fixed an issue with clip keyword; nclip now pastes HTML if possible; workflow will notify if updates are available Saturday, 16 March 2013 – First version  
    Download (Alfred v3 and iCloud)
    http://bit.ly/2w2mILX
     
    Note: this workflow will notify you if a newer version is available. To disable this functionality, change the property "shouldCheckForUpdates" to "false"
     
    Alfred v2
    It's not currently known whether the latest release will be backward-compatible with Alfred v2.
    If you are using Mac OS 10.11+ and have "upgraded" your iCloud notes, you should use this workflow:
    Notes for Alfred v2 (iCloud)
     
    In all other cases, this is the one to use:
    Notes for Alfred v2 (non-iCloud)
     
    Source: https://github.com/surrealroad/alfred-notes
     
    Issues
    Please raise issues on GitHub, as it's easier for me to keep track of them there.
×
×
  • Create New...