hi,
i search the programm for a few hours, as well as i search here in the forum.
i hope i am not blind, but i didnt find a solution to end a app with a shortcut.
for example hit win + F2 and the active app closes.
thanks in advance
closing an active app with shortcut
Type: Send
Command:
If you just want to minimize the app:
Type: Command
Command:
Also check the Library for many examples.
Command:
Code: Select all
!{F4}
Type: Command
Command:
Code: Select all
WinMinimize, A
thank you for your fast answer.
that what you answered i have already tested, but not all programs reakt to it.
it works with windows stuff , browseres. but teamspeak / a musik programm i cant close.
its so strange. i have no clue.
btw, if i hit alt+f4 when teamspeakwindow is active, it closes the program, not with the shortcut.
do you know by any chance an other command to close apps ? or know a solution for the problem.
thanks again for your help
(sorry for my english, i am german. hope its readable)
that what you answered i have already tested, but not all programs reakt to it.
it works with windows stuff , browseres. but teamspeak / a musik programm i cant close.
its so strange. i have no clue.
btw, if i hit alt+f4 when teamspeakwindow is active, it closes the program, not with the shortcut.
do you know by any chance an other command to close apps ? or know a solution for the problem.
thanks again for your help
(sorry for my english, i am german. hope its readable)
some intressting i found. i can close all apps , except apps they run in admin mode.
maybe there is a solution to close also them ?
thanks for your help again !
maybe there is a solution to close also them ?
thanks for your help again !
-
- Posts: 34
- Joined: Aug 2nd, ’14, 20:50
try for example
Code: Select all
WinGet, active_app, ProcessName, A
Runwait, taskkill /im "%active_app%" /f,, hide
return