Jump to content

Above Script.


rawrr
 Share

Recommended Posts

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!

Link to comment
Share on other sites

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. :)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...