Change a window's "Always On Top" attribute.
WinSetOnTop ( "title", "text", flag )
| title | The title of the window to affect. See Title special definition. |
| text | The text of the window to affect. |
| flag | Determines whether the window should have the "TOPMOST" flag set. 1=set on top flag, 0 = remove on top flag |
| Success: | Returns 1. |
| Failure: | Returns 0 if window is not found. |
WinSetOnTop("[CLASS:Notepad]", "", 1)