Customize hotkeys in PowerGUI Script Editor

One of the hidden gems in PowerGUI Script Editor is the ability to fully customize its toolbars and hotkeys.

Say, you want to have a hotkey to collapse all regions in a PowerShell script – this could not be easier, just:

  1. On the Tools menu, click Customize.
  2. In the Customize dialog box, click the Keyboard tab.
  3. On the Keyboard tab, select the command you need.
  4. In the Press shortcut key(s), assign the hotkey you want.

Customize-Editor-Hotkeys

Other tabs of this dialog box are also useful:

  • Toolbars - lets you create your own toolbars.
  • Commands - lets you add buttons to existing toolbars by simply dragging them from the dialog box to the toolbar.

Hope this makes your PowerShell scripting even more enjoyable!

About these ads

2 Responses to “Customize hotkeys in PowerGUI Script Editor”


  1. 1 Tibor January 8, 2014 at 10:50 am

    I like to remove a hotkey because I cannot type the pipe character on Hungarian keyboard. After a PowerGUI restarted the hotkey is there again!
    Hoe can I disable It permanently???

    • 2 Dmitry Sotnikov January 8, 2014 at 11:22 am

      Tibor,

      I am no longer on the PowerGUI team and it has been awhile… If I remember right, there was a configuration file that contained the info which you could delete or rename to reset the shortcuts… You can actually delete or rename the whole configuration folder if you do not care about your customizations, etc.

      If this does not help – ask on the forums at powergui.org.

      Dmitry


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

July 2009
M T W T F S S
« Jun   Aug »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Follow

Get every new post delivered to your Inbox.

Join 93 other followers

%d bloggers like this: