Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 05, 2015, 12:46:44 AM
  • Proudly celebrating 10 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: Task killing program by clicking its window  (Read 1870 times)

RedPillow

  • Member
  • Joined in 2008
  • **
  • Posts: 141
  • Pillows.
    • View Profile
    • Donate to Member
Task killing program by clicking its window
« on: February 24, 2010, 12:45:29 AM »
Hi, I was wondering, if there is program like Glass2K (you can click a window and a menu opens) - which allows you to set-up for example "hold down ctrl and right click a window to open a menu where you can taskkill the process the window is running on"

Lol, I suck at explaining thing but you get the idea.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,219
    • View Profile
    • Coding Snacks by Lanux128
    • Donate to Member
Re: Task killing program by clicking its window
« Reply #1 on: February 24, 2010, 12:56:46 AM »
you can try the program mentioned in this thread - Process Manager for Windows.

RedPillow

  • Member
  • Joined in 2008
  • **
  • Posts: 141
  • Pillows.
    • View Profile
    • Donate to Member
Re: Task killing program by clicking its window
« Reply #2 on: February 24, 2010, 12:59:48 AM »
Very nice, thanks!!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,393
    • View Profile
    • Donate to Member
Re: Task killing program by clicking its window
« Reply #3 on: February 24, 2010, 01:16:21 AM »
Here's a quick AHK script to ctrl-right-click a window and have the option to kill it.

Code: AutoIt
  1. ^RButton::
  2. {
  3.     MouseGetPos, , , myWindowID,
  4.     WinGetTitle, myTitle, % "ahk_id " . myWindowID
  5.     MsgBox, 4, Kill me now..., % "Are you sure you want to kill '" . myTitle . "'?"
  6.     IfMsgBox, Yes
  7.     {
  8.         WinKill, % "ahk_id " . myWindowID
  9.     }
  10. }
  11.  

RedPillow

  • Member
  • Joined in 2008
  • **
  • Posts: 141
  • Pillows.
    • View Profile
    • Donate to Member
Re: Task killing program by clicking its window
« Reply #4 on: February 24, 2010, 01:43:29 AM »
Thanks, tryin' that too  :Thmbsup: