Last active
December 20, 2015 01:39
-
-
Save TLMcode/6050967 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Global GUIHwnd | |
OnMessage(0x201,"GuiMove") | |
Gui, -border hwndGUIHwnd ; feel free to change this but LEAVE hwndGUIHwnd! | |
; INSERT CODE BELOW | |
Gui, Add, Text, , Move GUI | |
Gui, Show | |
; INSERT CODE ABOVE | |
Return | |
GuiMove() { | |
PostMessage, 0xA1, 2,,, % "ahk_id" GUIHwnd | |
} | |
GuiClose: | |
ExitApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment