Jump to content

Make Snippets case sensitive


timtops
 Share

Recommended Posts

It'd be really useful if snippets could recognise and maintain the case I use when triggering them.

 

For example, if I type "lmk" Alfred would automatically expand it to "let me know". But if I type "Lmk" it would expand to "Let me know". Or "lMk" or "lmK" for that matter. At the moment I have to create two versions like so:

 

image.png.05504146d091068a70190095e77e1871.png

 

Which I guess isn't so hard... but y'know. 

 

I used to use https://textexpander.com/ which allows for this, but in a fit of consolidation I was hoping to streamline my apps. :) 

 

t

 

 

Link to comment
Share on other sites

  • 4 weeks later...

Hi, thanks for asking,

 

it’s not all that clever to be honest - it’s just as I provided in the examples, the expansion follows the capitalisation the author provides. So:

 

Lmk becomes “Let me know”, but

lmk becomes “let me know”.

 

it’s useful of course because you use these phrases in different parts of sentences. You might start off “Lmk what you think...”. Or at the end of a sentence; “... lmk if you agree”.

 

lMk would become “let Me know” (not as useful but shows the format). 
 

As i mentioned, Textexpander has this as a specific option when creating expansions so it can’t just be me who finds it useful :) 
 

Thanks

Tim

Link to comment
Share on other sites

  • 1 month later...

I agree with @timtops that capitalization of snippets is a huge deficiency.

 

Another simple example:

 

I have set "thx" to expand to "thanks".

 

But context matters for capitalization, for example:

 

"I sent my thanks to John" vs. "Thanks."

 

I would type the former keyword as "thx" and the latter as "Thx." But currently Alfred only will recognize and expand "thx" and do nothing to "Thx", which requires me to create two different snippets, one capitalized and one not. Should not be needed.

 

I have also used TextExpander as well as aText and they both handle this.

 

Thanks.

 

Link to comment
Share on other sites

  • 7 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
 Share

×
×
  • Create New...