topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday April 18, 2024, 4:51 am
  • 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: Task killing program by clicking its window  (Read 3935 times)

RedPillow

  • Member
  • Joined in 2008
  • **
  • Posts: 141
  • Pillows.
    • View Profile
    • Read more about this member.
    • Donate to Member
Task killing program by clicking its window
« on: February 24, 2010, 12:45 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,277
    • View Profile
    • Donate to Member
Re: Task killing program by clicking its window
« Reply #1 on: February 24, 2010, 12:56 AM »
you can try the program mentioned in this thread - Process Manager for Windows.

RedPillow

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

skwire

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

Code: AutoIt [Select]
  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. }

RedPillow

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