不多说,上源- #cs ----------------------------------------------------------------------------
- AutoIt Version: 3.3.6.1
- Author: myName
- Script Function:
- Template AutoIt script.
- #ce ----------------------------------------------------------------------------
- ; Script Start - Add your code below here
- #Include <WinAPI.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- $Form1 = GUICreate("我就是这么犀利,谁能挡住我?还有谁?", 623,200, 192, 114)
- GUISetState(@SW_SHOW)
- While 1
- $hw=_WinAPI_GetForegroundWindow()
- If $hw<>$Form1 Then
- _WinAPI_SetWindowPos($hw, -2, 0, 0, 0, 0, 3)
-
- EndIf
- _WinAPI_SetWindowPos($Form1, -1, 0, 0, 0, 0, 3)
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- EndSwitch
- WEnd
复制代码 |