Jump to content

Make Snippets case sensitive


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...
  • 4 months later...

Funny, I just did a google search on this topic, found this thread, and had the exact same example (Lmk vs lmk) for "Let me know" vs "let me know"). Also coming from TextExpander and Keyboard Maestro--trying to consolidate macros! This would be an excellent addition to Alfred!

Link to comment
Share on other sites

  • 1 month later...

+1, this makes snippets almost unusable. eg. if I set 'agmt' to expand into 'agreement', then I have to create a 2nd snippet for Agreement? Unfortunately because of this I have half my snippets in Alfred and half in Keyboard Maestro. 😿

Link to comment
Share on other sites

  • 9 months later...
  • 4 weeks later...
  • 9 months later...

I'm jumping on this Feature Suggestion to add my vote. I switched from TextExpander to aText (which seems to be abandoned). I'd love to replace my snippets functionality with Alfred. Please consider supporting the snippets expanding to match the existing case I've typed (explained above).  

Link to comment
Share on other sites

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