$app window status

Allows you to get a list of the current status of a process or application.


Example

Running this code will create a UI button that will run “Notepad”. Also, a UI button "Check" will be created for application status checking, loading it in the UBot browser.

This is shown in the UBot browser.

ui button("Run Notepad") {
    shell("cmd /c start \"\" \"notepad.exe\"")
}
ui button("Check") {
    load html($plugin function("Desktop Automation.dll", "$app window status", "notepad", "False"))
}

Was this helpful?

Previous Article

$app window size/location

Next Article

$capture screen normal