Prevent determined software to run?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kayo7
Posts: 15
Joined: 03 Dec 2016, 09:47

Prevent determined software to run?

09 Dec 2016, 11:43

Is there a way to prevent certain program to run by pressing a key, (like the opposite of the command Run)?

I'm trying:

a::
Sleep 1000
WinClose, chrome.exe (<--Just an example)
Return

With this, the program (in this case Chrome.exe) opens briefly, and then it closes. There is a way to block the program before it opens?
User avatar
fischgeek
Posts: 435
Joined: 29 Jan 2014, 21:39

Re: Prevent determined software to run?

09 Dec 2016, 11:56

You can attack it at the process level. Or, just uninstall it or turn it's respective service off (if it has one). But, your example for me does not show the window before it closes like you're indicating.
kayo7
Posts: 15
Joined: 03 Dec 2016, 09:47

Re: Prevent determined software to run?

09 Dec 2016, 12:38

I understood that attacking at the process level is better, thanks for the tip.

But I want to know if instead of closing the program, I can prevent it from opening.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot] and 256 guests