app window to top

Allows you to set a Window on top.


Running this code will create a UI button that will run “Notepad”. Then, the following properties will set the specified window to the top:

  • Mode: Processes Name
  • Window Class: notepad
ui button("Run Notepad") {
    shell("cmd /c start \"\" \"notepad.exe\"")
plugin command("Desktop Automation.dll", "app window to top", "Processes Name", "", "notepad")

Was this helpful?

Previous Article

app window title change