Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Font = Franklin Gothic
- Gui, +HwndIAMNOOBHwnd
- Gui, Margin, 0,0
- Gui, Color, 000000
- Gui, Font, q4 s30, %Font%
- Gui, Add, Text, c00FF00 x0 y0, I AM N00B. THE QUESTION IS THE AUTOHOTKEY THREAD.
- Gui, -Caption -Border +LastFound +AlwaysOnTop +E0x08000000 +E0x00000080
- WinSet, Transcolor, 000000
- Gui, Show, NA NoActivate Hide, I AM N00B Window
- DetectHiddenWindows, On
- WinGetPos, , , Width, Height, ahk_id %IAMNOOBHwnd%
- WinMove, ahk_id %IAMNOOBHwnd%, , (A_ScreenWidth/2 - Width/2), (A_ScreenHeight - 40)
- DllCall("AnimateWindow","UInt",IAMNOOBHwnd,"Int",1,"UInt",0x16)
- SetTimer, AlwaysOnTopTimer, 1000
- If FileExist("game.exe")
- Run, game.exe
- return
- AlwaysOnTopTimer:
- WinGetPos, , , Width, Height, ahk_id %IAMNOOBHwnd%
- WinMove, ahk_id %IAMNOOBHwnd%, , (A_ScreenWidth/2 - Width/2), (A_ScreenHeight - 40)
- WinSet, AlwaysOnTop, ON, ahk_id %IAMNOOBHwnd%
- return
- ~esc::
- WinClose, ahk_exe game.exe
- exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement