Close apps from taskbar quickly

Discussion in 'Windows 7 Help and Support' started by jimhoyle, Sep 24, 2009.

  1. jimhoyle

    jimhoyle New Member

    Joined:
    Sep 24, 2009
    Messages:
    24
    Likes Received:
    0
    What's the fastest way to close an application currently on the taskbar? In XP I used to do: right click an item (running application button on the taskbar) and then immediately press c. That would immediately close the application. In Windows 7, if I do the same, first I have to wait for the animation to bring the list of choices and then, if I press c, it'll only select Close window but not actually close it. I have to press enter. So not fast at all. What's the fast way?
     
  2. loathe

    loathe New Member

    Joined:
    Jan 16, 2009
    Messages:
    1,718
    Likes Received:
    66
    Hello and welcome to windows7forums.

    I tend to use Alt + F4 for closing windows/programs quickly. You would think that pushing c would close it rather than just highlight close though.
     
  3. Tepid

    Tepid New Member

    Joined:
    Jun 11, 2009
    Messages:
    1,344
    Likes Received:
    38
    You should be able to then hit enter since Close would be selected. Added key stroke, but oh well.
     
  4. loathe

    loathe New Member

    Joined:
    Jan 16, 2009
    Messages:
    1,718
    Likes Received:
    66
    I guess its just as easy to right click and click close yeh? Same as selecting an open program out of the taskbar, you need and extra click now to choose the window after you bring up the preview windows. Ohwell.
     
  5. RAK

    RAK Extraordinary Member

    Joined:
    Jul 6, 2009
    Messages:
    2,502
    Likes Received:
    126
    I normally press the top right hand "X"
    I must admit that I have two programs,however, which drop down to the customise area ahen I do this. They are seldom used programs so it bothers me not.
     
  6. jimhoyle

    jimhoyle New Member

    Joined:
    Sep 24, 2009
    Messages:
    24
    Likes Received:
    0
    Yes. If I want to close for example 9 out of 10 programs quickly from the taskbar, it's a bit painful now. Maybe I should try to find some kind of key macro program and try to find some solution. Any suggestions?

    The alt+f4 solution is weak for this since first I have to left click and open the program and then use alt+f4 (which also is relatively uncomfortable for the hand when you have to use it very frequently). I just want to close taskbar programs with 1 or 2 clicks without mouse movement in between the 2 clicks, that'd be nice.
     
  7. jimhoyle

    jimhoyle New Member

    Joined:
    Sep 24, 2009
    Messages:
    24
    Likes Received:
    0
    The answer is AutoHotkey. And this is probably a good example for that purpose. (At least by quick tests it seems to work very nicely.)

    ^§:: ; IN TASKBAR: CLOSE AN ITEM WHEN HOVERING MOUSE ON TOP OF IT
    Send {LButton}
    Send !{F4}
    return
     
  8. jimhoyle

    jimhoyle New Member

    Joined:
    Sep 24, 2009
    Messages:
    24
    Likes Received:
    0
    That script had some problems, here's a new version (though it possibly still has some problems):

    $MButton::
    SetBatchLines, -1
    CoordMode, Mouse, Screen
    MouseGetPos,,, glob_WinID
    WinActivate, ahk_id %glob_WinID%
    IfWinNotActive, ahk_class Shell_TrayWnd
    {
    Send, {MButton}
    }
    Else
    {
    Send {LButton}
    WinWaitNotActive, ahk_class Shell_TrayWnd,, 0.5 ; wait for the window to get active
    If ErrorLevel = 1
    Send, !{Tab} ; failed to get active in time specified, we'll just alt+tab instead
    Else
    Send !{F4}
    }
    Return
     
    #8 jimhoyle, Oct 11, 2009
    Last edited: Oct 11, 2009

Share This Page

Loading...