| View previous topic :: View next topic |
| Author |
Message |
vibez Guest
|
Posted: Sat Apr 16, 2005 3:37 pm Post subject: looking for alternative to alt+f4 |
|
|
Hi,
When trying to close some games I press alt+f4, but they dont close straight away, but pop up with a window that says 'are you sure you want to exit' which I have to click with my mouse. Is there a way with autohot key to kill a program without without it asking for confirmation. it needs to be generic & not just for a specific game/program |
|
| Back to top |
|
 |
niwi
Joined: 27 Feb 2005 Posts: 128 Location: Heidelberg, Germany
|
Posted: Sat Apr 16, 2005 3:43 pm Post subject: |
|
|
Hi,
I don't think that you can use a generic tool for this. There are several programs which can't even be closed using the task manager
NiWi. |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1276
|
Posted: Sat Apr 16, 2005 3:44 pm Post subject: |
|
|
WinKill is a bit extreme but works for alot of apps; you could try using it with WinGetActiveTitle like so:
| Code: | !F4::
WinGetActiveTitle, title
WinKill, %title%, , 2 ; wait 2 seconds for window to close |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
vibez Guest
|
Posted: Sun Apr 17, 2005 8:21 am Post subject: |
|
|
thansk but it looks like niwi was right. I cant even close it from taskmanager, it still prompts me to confirm that i want to exit. I got around it with sending 'alt + 4' then sending 'space' this click the 'yes' dialogue box.
thanks guys |
|
| Back to top |
|
 |
TeknoMusicMan
Joined: 14 Apr 2005 Posts: 188 Location: Wisconsin, USA
|
Posted: Sun Apr 17, 2005 5:08 pm Post subject: |
|
|
try this out
| Code: | | Process, Close, PINBALL.EXE |
all you need to do is put in the games executable filename in place of PINBALL.exe |
|
| Back to top |
|
 |
|