Empty Command

Get help with using AutoHotkey and its commands and hotkeys
zeenun
Posts: 3
Joined: 13 Jan 2019, 09:31

Empty Command

13 Jan 2019, 15:44

Is there a command that does absolutely nothing? I need a command that will not do anything, open anything, or slow down my computer. Or if you could tell me any other way I can make a command run if microsoftedge is not running, that would be helpful :D

Script:

if WinExist("ahk_exe microsoftedge.exe")
(command that does nothing)
else
(Command That I want to be ran if microsoftedge.exe is not running)
User avatar
kczx3
Posts: 820
Joined: 06 Oct 2015, 21:39

Re: Empty Command

13 Jan 2019, 19:38

Code: Select all

if (!WinExist("ahk_exe microsoftedge.exe")) {
    ; code that runs if Edge doesn’t exist
}

Return to “Ask For Help”

Who is online

Users browsing this forum: flyingDman, Google [Bot], just me, teadrinker and 151 guests