timtops Posted March 18, 2021 Share Posted March 18, 2021 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: 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 Terminal, Display Name and Billdrk7 3 Link to comment Share on other sites More sharing options...
Terminal Posted April 11, 2021 Share Posted April 11, 2021 Forgive me for my ignorance. But how would Alfred know which letters to capitalize? Would it always be the first letter of the snippet? Link to comment Share on other sites More sharing options...
timtops Posted April 11, 2021 Author Share Posted April 11, 2021 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 More sharing options...
DrDannySands Posted June 8, 2021 Share Posted June 8, 2021 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. timtops 1 Link to comment Share on other sites More sharing options...
richlin71 Posted February 1, 2022 Share Posted February 1, 2022 Agreed, I'd say this missing feature really makes snippets un-usable - because you'd need to make 2 shortcuts for each word where this is possible. FYI, Keyboard Maestro handles this as well timtops 1 Link to comment Share on other sites More sharing options...
kengetz Posted June 11, 2022 Share Posted June 11, 2022 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 More sharing options...
richlin71 Posted August 2, 2022 Share Posted August 2, 2022 +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 More sharing options...
andy4222 Posted May 16, 2023 Share Posted May 16, 2023 @vitorDo you have any recommendations on how we can handle this scenario (without adding snippets with different casing) until Alfred provides this out of the box? Link to comment Share on other sites More sharing options...
andy4222 Posted June 8, 2023 Share Posted June 8, 2023 Requesting this feature https://espanso.org/docs/matches/basics/#case-propagation Link to comment Share on other sites More sharing options...
pinkwetnoodle Posted March 19 Share Posted March 19 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). Alan He 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now