topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 11, 2024, 2:51 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Windows 7 hotkeys reminder popup - AutoHotkey script  (Read 8872 times)

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Windows 7 hotkeys reminder popup - AutoHotkey script
« on: February 28, 2012, 07:05 AM »
This can be a handy and time-saving script.
For ergonomic efficiency and out of preference - but also necessitated by my having had RSI in my wrists - I tend to use the keyboard a lot more than I do the mouse.
However, I cannot always remember the hotkey combos that I need to invoke some of the lesser-used Windows functionality.

Some time ago, a friend asked me to provide them with a popup reminder of certain Windows keys, so I used a simple bit of AHK script to do it. I later adapted the thing to my own needs, and this is the script that I arrived at. It gives a fairly comprehensive popup display of all the Windows 7 Hotkey combos that I might want to be reminded of.
The popup is invoked by pressing the Win+H hotkey combo. (Please note that some of the hotkey combos shown may be peculiar to my installation.)
The popup window can be closed by either clicking on the OK button or by pressing the ESC key.
Spoiler
;-------------------------------------------------------------------
#h:: ; Display panel of Windows system hotkeys - some from: http://www.worldstar...key-refresher-course
TextOut=
(
WINDOWS Hotkeys:
================
Win      - Press windows key to open start menu
Win+B - Open Windows bar in Systray for alpha-tab selection
Win+D - Toggle Desktop view
Win+E - Press keys to open My Computer
Win+F - Find (search options)
Win+F+Ctrl - Active Directory search for computers
Win+G - Gadgets to foreground (temp)
Win+H - Bring up this Win Hotkeys Help window
Win+J - Open OneNote Journal
Win+L - Lock keyboard
Win+M - Minimise all open windows
Win+Shift+M - Maximize all opened windows
Win+N - Open fresh OneNote notepad
Win+Shift+N - Open OneNote notebooks
Win+O - OneNote Hotkeys list   
Win+P - HP ENVY display selector
Win+R - Start/Run box
Win+S - OneNote Screen Clipper
Win+T - Tabs down Windows bar of running apps.
Win+U - Apply keys to open Utility Manager
Win+X - HP Windows Mobility Centre
-----------------------------------------------------
Win+F1                  - Windows Help
Win+Pause           - System Properties dialog box
Win+Tab (repeat) - Rotate through all taskbar program windows
-----------------------------------------------------
Alt+Tab (repeat) - View/select window of taskbar program objects
Alt+F4                 - Close active Windows program
Alt+Enter            - Open file properties in WinExplorer
Alt+SPACEBAR - Open the system menu of active window
Alt+SPACEBAR...+R - Restore the active window
Alt+SPACEBAR...+M - Press keys to move the active program
Alt+SPACEBAR...+S - Size the active window
Alt+SPACEBAR...+N - Minimize the active window
Alt+SPACEBAR...+X - Maximize the active window
Alt+SPACEBAR...+C - Close the active window
-----------------------------------------------------
Ctrl+Alt+Delete - Open Windows Task Manager
Ctrl+Shift+Esc  - Open Windows Task Manager
Ctrl+Esc            - Toggle Start Menu
Shift+Delete     - Delete file/folder permanently
)
MsgBox, %TextOut%
return
;-------------------------------------------------------------------

Here's the popup:
Spoiler
Screenshot - 2012-02-29Win7 Hotkeys pop-up.png

« Last Edit: February 28, 2012, 12:08 PM by IainB »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #1 on: February 28, 2012, 01:23 PM »
Thanks for sharing your idea  :up:

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #2 on: February 29, 2012, 02:57 AM »
Thanks Iain -
I'll use that for a bit, it'll help me learn some of those nice shortcuts
I never knew Win+B, that's a really nice one :-*
-
The Alt one's for moving/resizing windows are nice too, but seem a bit quirky. I'm not sure how to stop them working - Esc undos any changes in window position/size. The only way I can see is a mouse click which kind of defeats the purpose of using fancy shortcuts...
Tom

bob99

  • Supporting Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 345
    • View Profile
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #3 on: February 29, 2012, 06:56 AM »
Ian,
Thank you for this. I have been meaning to try and learn some about AHK but haven't so far. Your script is helpful for Win7.  if I wanted to do similar for a different program could I just replace your hotkeys text with something else using an editor and run it in AHK?

There was a similar request a while back by another member for something like this.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #4 on: February 29, 2012, 07:26 AM »
There was a similar request a while back by another member for something like this.
:tellme: I think that might have been me.

Request / idea was to show a list of shortcuts overlaid on the desktop (to one side) related to the current focused app.
New app => new list.

IDEA ~ Show List of Shortcuts overlaid on Desktop
Tom

bob99

  • Supporting Member
  • Joined in 2008
  • **
  • default avatar
  • Posts: 345
    • View Profile
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #5 on: February 29, 2012, 08:12 AM »
There was a similar request a while back by another member for something like this.
:tellme: I think that might have been me.

Request / idea was to show a list of shortcuts overlaid on the desktop (to one side) related to the current focused app.
New app => new list.

IDEA ~ Show List of Shortcuts overlaid on Desktop

Yep, yours was the one. I like your idea and have been watching out in my "travels" to different sites for something like it. I even thought about trying a wallpaper changer but that seemed more of a hassle than a solution.  I like Ian's solution. I'll just have to learn a bit about AHK. Which definitely isn't a bad thing.
« Last Edit: February 29, 2012, 08:15 AM by bob99, Reason: Typo. Shaky fingers, touchy tablet screen. »

IainB

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 7,544
  • @Slartibartfarst
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Windows 7 hotkeys reminder popup - AutoHotkey script
« Reply #6 on: March 01, 2012, 08:27 AM »
I never knew Win+B, that's a really nice one :-*
Yes, it is nice. I didn't know most of these Hotkeys when I started!
I got the hotkeys initially from the URL referred to in the AHK script, then discovered more by using Win+[Key] to see what happened and researching the result a bit.
I cribbed most of the AHK script from somewhere - I think it might have been the AHK site (they have a lot of useful stuff there). I modified it a bit though, to suit my peculiar needs.

I've done something similar for MS OneNote Hotkeys too.

if I wanted to do similar for a different program could I just replace your hotkeys text with something else using an editor and run it in AHK?
Yes - I don't see why not. That's what I did - as above, I used the same approach for MS OneNote Hotkeys. (By the way, I consider myself a relative novice with AHK. I learn something new most times I use it. It seems quite a powerful tool.)
« Last Edit: March 01, 2012, 08:32 AM by IainB, Reason: Minor correction. »