add a button function #20383

Closed
opened 2026-01-31 07:12:05 +00:00 by claunia · 4 comments
Owner

Originally created by @siliyuan6 on GitHub (Aug 19, 2023).

Is there a plan to add a button function similar to secureCRT?
Many commonly used long commands need to be entered, and it is very inconvenient to manually enter each time

Originally created by @siliyuan6 on GitHub (Aug 19, 2023). Is there a plan to add a button function similar to secureCRT? Many commonly used long commands need to be entered, and it is very inconvenient to manually enter each time
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 07:12:05 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 21, 2023):

Alrighty, so I'm not super familiar with SecureCRT, so I'm basing a lot of this response off of: https://www.vandyke.com/support/tips/button_bar.html

A lot of that already seems possible today with the sendInput action. That'll let you save an action to your settings that will send a string of characters to the Terminal. Those'll show up in the Command Palette today.

To build on that:

So, I'm guessing that there's a dupe somewhere in the nexus of all those - sound about right/?

@zadjii-msft commented on GitHub (Aug 21, 2023): Alrighty, so I'm not _super_ familiar with SecureCRT, so I'm basing a lot of this response off of: https://www.vandyke.com/support/tips/button_bar.html A lot of that already seems possible today with the [`sendInput`](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#send-input) action. That'll let you save an action to your settings that will send a string of characters to the Terminal. Those'll show up in the Command Palette today. To build on that: * #3759 - "I want to customize the new tab dropdown with my own actions too" * #2934 - also, #3459 - "I want a toolbar where I can put arbitrary buttons that do things" - This would follow #3759 * #1595 - Vaguely similar. Another way of using `sendInput` actions a little easier. - "I want an easy UI for activating saved scripts" - We'll almost certainly be doing more with "tasks" in the future, ala #12857 So, I'm guessing that there's a dupe somewhere in the nexus of all those - sound about right/?
Author
Owner

@siliyuan6 commented on GitHub (Aug 22, 2023):

Oh, indeed, this method is very good. Thank you very much.

@siliyuan6 commented on GitHub (Aug 22, 2023): Oh, indeed, this method is very good. Thank you very much.
Author
Owner

@zadjii-msft commented on GitHub (Aug 22, 2023):

Cool, thanks for following up!

/dup #3759
/dup #2934

@zadjii-msft commented on GitHub (Aug 22, 2023): Cool, thanks for following up! /dup #3759 /dup #2934
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Aug 22, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Aug 22, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20383