Jump to content

Recommended Posts

You need to connect a series of Keyword inputs to your Snippet Trigger, saving the input from each to a workflow variable, then calling the next. Then in your Paste template, you can use:

Dear {var:NAME},

Thank you for your {var:WHAT}, which we received on {var:DATE}.

It's nowhere near as simple, or convenient, as a "form" fill-in in TextExpander or Typinator, but it is possible. And with Alfred you can add additional logic between the inputs if you like.

 

Share this post


Link to post

@sepulchra Here's an example workflow I created where you can chain inputs (three list filters in this case):

https://www.dropbox.com/s/eqq91b8tyxom5t1/Chaining inputs for a Snippet Trigger.alfredworkflow?dl=0

 

Each item doesn't have to be a List Filter, as you can combine list filters, free text, scripts, etc. You'll find examples of each of these in the Getting Started > Snippet Triggers built-in workflow, and some more info here:

https://www.alfredapp.com/help/workflows/triggers/snippet/snippet-triggers-with-dynamic-inputs/

 

Cheers,
Vero

Share this post


Link to post

and one more question -- I use ISO dates all of the time, is it possible to do date math with dynamic placeholders like this:

 

{date:yyyy-MM-dd+1d}

 

I can't get that to work for me.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...