Checks to see if the specified application is currently running. See also the Shell function.
IsAppRunning ( application )
Application - (Input, expression, Required)
Specifies the name of the application to search for. Newlook attempts to find this application in two ways. It enumerates the top-level windows and will match either the first window found whose program name matches the application, (e.g. Notepad.exe) or if the window’s title matches the application (e.g. “Untitled – Notepad”). If found, True is returned, otherwise False.
Returns True if the application was found, otherwise False. Error is returned if a non-string application name is passed, or if the application name is blank.
The application program name can only be used under Windows 2000 and Windows XP. Under Windows 98, Windows ME and Windows NT 4.0 the application title bar text must be used.
IsAppRunning (“Nl.exe”) |
Returns True |
IsAppRunning (“ABCDEFG”) |
Returns False |
IsAppRunning (Null) |
Returns Error |
IsAppRunning (Error) |
Returns Error |
Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.
Functions | Environ function | IsAppRunning function | QBColor function | RGB function | Shell function
© 2004-2021 looksoftware. All rights reserved.