Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotstrings / canned responses / pasting predefined text snippets #16014

Closed
lanort opened this issue Feb 3, 2022 · 2 comments
Closed

Hotstrings / canned responses / pasting predefined text snippets #16014

lanort opened this issue Feb 3, 2022 · 2 comments
Labels
Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@lanort
Copy link

lanort commented Feb 3, 2022

Description of the new feature / enhancement

Option to enter shortcuts and replacements for that, eg

Shortcut:
br#

Result:
best regards
Alex

So whenever you enter "br#" in any application, it automatically replaces the text with the result.

Also great would be an option to not just enter text, but also rich text (like with formatting, links, etc).

Also an idea to send keystrokes in this process, like

Shortcut:
hap#

Result:
I am happy to meet you in front of the appartment.{Left 27}+{Right 11}

This in Autohotkey would eg highlight the part "in front of" so you can easily replace it just by continuing to type:
image

Scenario when this would be used?

This can be a daily timesaver. You can define eg shortcuts for

  • the current date (needs dynamic content)
  • the current time (needs dynamic content)
  • personal data you need to write a lot, like your
    • email, eg shortcut @@@ gets replaced with [email protected]
    • address block for message forms on the internet
    • bank details
  • canned responses outside your email program, like chats, crm software, etc
  • templates, like you want to always enter the same data (and modify it) in commit messages, online request forms eg default text in ebay, etc...
  • code templates without needing the IDE to support it, like wrapping something in a try/catch block,...

Supporting information

Autohotkey already has a feature like, that, but you script everything by hand, which makes it of course more versatile, but also more complex.

Ac'tivaid also has a module called HotStrings, which handles those replacements.

@lanort lanort added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Feb 3, 2022
@franky920920
Copy link
Contributor

Duplicate of #5074

@franky920920 franky920920 marked this as a duplicate of #5074 Feb 3, 2022
@franky920920
Copy link
Contributor

Issue is a duplicate

Thank you for your issue! We've linked your report against another issue to centralize the thread.

Thanks for helping us to make PowerToys a better piece of software.

@franky920920 franky920920 added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Feb 3, 2022
@crutkas crutkas closed this as completed Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants