ont[-] [window]
int ont([window])
window - top-level or child window. Default: active window.
Options: - not on top. Default: on top.
Syntax1: Makes window always-on-top or not always-on-top, and also activates. Only top-level windows can have always-on-top style. If it is child window, brings it to the top or bottom of the Z order of immediate parent window.
Syntax2: Returns 1 if window has always-on-top style, or 0 if not. If it is child window, returns 1 if it is in the top of the Z order, or 0 if not.
ont "Notepad" ;;set "Notepad" always-on-top ont- "Notepad" ;;set "Notepad" not always-on-top