Jump to content

Date Snippets - insert upcoming days (next Monday etc.)

Recommended Posts

Dynamic snippets to insert the date corresponding to the upcoming day.


d.nm - next Monday

d.nt - next Tuesday

d.nw - next Wednesday

d.nr - next Thursday

d.nf - next Friday

d.ns - next Saturday


So given today's date 2018-07-30, the snippets in sequence produce








d.m+ - first day of next month



And dt.n to add the next business day in prose, e.g. Tuesday, June 4, 2019




v. 1.2 

- added first day of next month

- added external triggers for M of next week and 1st of next month

- updated so snippets will paste in Alfred (using the trick here: https://www.alfredforum.com/topic/11765-snippet-triggers-triggered-in-alfred-dont-paste-to-alfred/?tab=comments#comment-61652 )


Edited by dfay
Link to post
  • 10 months later...
  • 2 months later...

Thanks. Yes, I have the powerpack and workflow installed.


One thing I noticed just now is that the snippets in the workflow didn't import with the keywords set. Once I added a keyword I was able to get the snippet to work, e.g. here => 2020-04-27. Are the keywords not supposed to be imported along with the workflow, or is there a problem somewhere?


That aside, what I'm really trying to do is use these snippet triggers within another snippet. OnceI realized this was probably the problem, I found your comment to a thread on nested snippets, which I read as saying I'll need to customize the workflow in order to get this to work. Is that still the case, as far as you know?



Link to post
2 hours ago, sbc said:

Are the keywords not supposed to be imported along with the workflow, or is there a problem somewhere?


Alfred strips hotkeys and snippet triggers on import  to prevent surprises. You have to set your own, but once you do, Alfred will remember them and keep your changes when you update a workflow.

Link to post
  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...