Jump to content
Sign in to follow this  
rawrr

Above Script.

Recommended Posts

rawrr

DESCRIPTION

Well, I was making a script for a game I play and I needed it to appear over the game at

Certain times so I made this script.

SOURCE

;Name - Above script
;Author - Rawrr
;==========================================================

#include <GUIConstants.au3>

Hotkeyset ("{ESC}","Close"); Sets Escape to close the Script.
Hotkeyset ("{INS}","Above"); Sets Insert to make the gui above over anything.

$GUI = Guicreate ("Above",200,200); Creates a gui.
;==========================================================
; Makes the X button close the gui and script.
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
Wend
;===========================================================
; When Insert is pressed the gui appears over everything.
Func Above()
    Guisetstate(@SW_SHOW, $GUI)
Endfunc
;============================================================
; When Escape is pressed closes the script.
Func Close()
    Exit
EndFunc

It is described inside the script.

Hope you like it!

Share this post


Link to post
Share on other sites
Generator

DESCRIPTION

Well, I was making a script for a game I play and I needed it to appear over the game at

Certain times so I made this script.

SOURCE

;Name - Above script
;Author - Rawrr
;==========================================================

#include <GUIConstants.au3>

Hotkeyset ("{ESC}","Close"); Sets Escape to close the Script.
Hotkeyset ("{INS}","Above"); Sets Insert to make the gui above over anything.

$GUI = Guicreate ("Above",200,200); Creates a gui.
;==========================================================
; Makes the X button close the gui and script.
While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then Exit
Wend
;===========================================================
; When Insert is pressed the gui appears over everything.
Func Above()
    Guisetstate(@SW_SHOW, $GUI)
Endfunc
;============================================================
; When Escape is pressed closes the script.
Func Close()
    Exit
EndFunc

It is described inside the script.

Hope you like it!

:( I certainly don't see how this is useful and it does have flaws. But thanks for sharing what you have. :)

Share this post


Link to post
Share on other sites
rawrr

Yeah, I know it has flaws, I'm still an AutoIt noob. I just shared it because it helped me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×