Jump to content

Query for Snippet Expansion / Trigger


Recommended Posts

One Quick Query:

 

Regarding Snippets, I couldn't find the option to see the snippets while typing on the go. For example, if my keyword is: “Key1”, then as I type, I was expecting that, it will show me in a little pop-up for possible such snippets. For example, “Key2” is another keyword, then it will show me these 2 available snippets and I can trigger them manually by confirming one of them.

 

So, is there a way to see such options while typing on-the-go? (In any editing utility, for example, if I am typing on textedit or word document.)

 

At present, what happens is: I know the keyword and when I finish typing that keyword, it rapidly triggers the snippet… But I want a little variant of this. I hope, I have explained properly.

Link to comment

@DrDishant Take a look at this recent blog post where I use one snippet trigger to present a set of possible snippets to use:

https://www.alfredapp.com/blog/guides-and-tutorials/single-keyword-for-multiple-snippets-workflow/

 

With one snippet, I can choose from a list of three possible email signatures, depending on the identity I want to use.

 

snippet-triggers-workflow-window.png

 

Pressing return will then paste the selected snippet to the frontmost app.

 

You can download an example workflow from the blog post as well to help you get started.

Link to comment

Thanks a lot @Vero.

 

I tried and it worked pretty well!  More or less, this is what I wanted to achieve… not exactly, but kind of configurable.

 

However, without settings this up, can we have the option of monitoring the input keywords?

 

Still, it will be more convenient.

 

For example, see the attached screenshot… where, the manual trigger is possible, and also it gives me that option.

photo_2022-01-13 19.24.42.jpeg

Edited by DrDishant
The answer was not fully solving my purpose.
Link to comment

That image is from your text editor, right? But what you’re asking is for that type of suggestion popup to show up across every app, is that correct?


Do other text expansion apps do that? I somehow doubt it. That looks like a feature which would consume considerably more resources and is unlikely to work in every text field. If dedicated apps which only do text expansion don’t have the feature, it probably wouldn’t be feasible for Alfred to implement it either. If I am wrong, an example of a general text expansion app which does this might be helpful.

Link to comment

Yes, you are right. I'm seeking for the same kind of functionality which should work on every app.

 

In previous post, I mentioned an example of "PhraseExpress" - TextExpansion App.

 

In screenshot, I was trying this on "Typora". But it works on Word or any other typing field.

 

In fact today, I tried with two testing keywords:

 

1. ttyl : talk to you later

 

And 

 

2. ttyt: talk to you today

 

And then, when I wrote "tty", it immediately popped-up with the both the possibilities: ttyl and ttyt.

 

From this, I can immediately pick up the suitable phrase for my use case.

 

If you want, you can try it too. PhraseExpress is free for personal use. :)

 

Edited by DrDishant
Link to comment

Their website is down and they have been excluded from The Internet Archive’s Wayback Machine, which is not something I’ve seen before (and I use that a lot). They don’t have a Wikipedia page, the iOS app has mediocre ratings, and every mention I’m finding of them is from shady download sites. It is not inspiring a lot of trust right now, but I’ll take another look when the website is back up.

Link to comment

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...