Page 1 of 1

Closing a Programm

Posted: Mon Mar 16, 2020 12:46 pm
by zyan
Hey is it Possible to Close a Programm with push2run?

Re: Closing a Programm

Posted: Mon Mar 16, 2020 1:31 pm
by RobLatour
if it is the active program that has your system focus, and if the program only has one open window, then yes - I do it from time to time myself.

open: Active Window

Keys to send: {alt}{F4}[*]


If it is a specific program, you might need to find a way to write your on .vbs script, but it may be problematic if the program has multiple windows open or has multiple instances running.

Re: Closing a Programm

Posted: Fri Jul 03, 2020 2:35 am
by nameiboom
Would it be possible to use it to kill a process?

got it with powershell!

open: Powershell.exe

{WAIT050} taskkill /IM "service name" {ENTER} {WAIT050} exit {ENTER}