blackhydra866 Posted September 9, 2009 Share Posted September 9, 2009 Is there anyway I can create something like a 10x10 white square that I can have stay on top of every window using autoit? I'm not even sure where to start for making a script for this. It's for an old FPS game that I play, and it lacks a crosshair and I don't exactly feel like putting a dot on my monitor, lol. Kind of a strange script request, I know.. Link to comment Share on other sites More sharing options...
dantay9 Posted September 9, 2009 Share Posted September 9, 2009 Did you forget to search the forums first? I know there is a crosshair script on here and I think I remember seeing a script that allows you to draw lines and stuff on the desktop. Link to comment Share on other sites More sharing options...
sias Posted September 9, 2009 Share Posted September 9, 2009 #include<guiconstants.au3> #include <WindowsConstants.au3> HotKeySet("^+Z", "_Exit") $maingui =guicreate("dot", 3, 3, @desktopwidth/2-1.5, @desktopheight/2-1.5, BitOR($WS_POPUP, $WS_BORDER), BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW)) guisetstate() WinSetOnTop("dot", "", 1) GUISetBkColor(0xffff33) while 1 sleep(100) WinSetOnTop("dot", "", 1) $msg = guigetmsg() Select Case $msg = $gui_event_close Exit EndSelect WEnd Func _Exit() Exit EndFunc ;==>_ExitI wrote this awhile back, it worked on some FPS, didn't work on others. The only true way of making one to work in every game would be to have it draw directly from the video card...Also, I am tagging it with a "Works on My Machine" cert. "The true measure of a man is how he treats someone who can do him absolutely no good." Link to comment Share on other sites More sharing options...
omikron48 Posted September 9, 2009 Share Posted September 9, 2009 (edited) You could always just get a marker and draw a dot on your LCD/CRT... x_x Edit: Or stick a piece of clear tape and draw on that. Edited September 9, 2009 by omikron48 Link to comment Share on other sites More sharing options...
blackhydra866 Posted September 9, 2009 Author Share Posted September 9, 2009 #include<guiconstants.au3> #include <WindowsConstants.au3> HotKeySet("^+Z", "_Exit") $maingui =guicreate("dot", 3, 3, @desktopwidth/2-1.5, @desktopheight/2-1.5, BitOR($WS_POPUP, $WS_BORDER), BitOR($WS_EX_TOPMOST, $WS_EX_TOOLWINDOW)) guisetstate() WinSetOnTop("dot", "", 1) GUISetBkColor(0xffff33) while 1 sleep(100) WinSetOnTop("dot", "", 1) $msg = guigetmsg() Select Case $msg = $gui_event_close Exit EndSelect WEnd Func _Exit() Exit EndFunc ;==>_Exit I wrote this awhile back, it worked on some FPS, didn't work on others. The only true way of making one to work in every game would be to have it draw directly from the video card...Also, I am tagging it with a "Works on My Machine" cert. This is just what I was looking for, thank you! Works like a charm. Link to comment Share on other sites More sharing options...
sias Posted September 9, 2009 Share Posted September 9, 2009 Does this mean I can add a "Works on His Machine" certification? "The true measure of a man is how he treats someone who can do him absolutely no good." Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now