daniel02 Posted April 8, 2009 Share Posted April 8, 2009 Hi all, I want my autoit gui to be allways on top, also in a game which is running in fullscreen mode. The autoit script is showing position data and has a stop and start button. Is there a possiblity? Thanks in advance Daniel Link to comment Share on other sites More sharing options...
CodyBarrett Posted April 8, 2009 Share Posted April 8, 2009 look into the GUIsetstyle() functions.. and guicreate() sections of the helpfile [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Yashied Posted April 8, 2009 Share Posted April 8, 2009 Hi all,I want my autoit gui to be allways on top, also in a game which is running in fullscreen mode. The autoit script is showing position data and has a stop and start button. Is there a possiblity?Thanks in advanceDanielNot sure, but I think that without DirectX here can not do. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
sias Posted April 8, 2009 Share Posted April 8, 2009 I attempted to write a script that placed a small dot on the screen to help with aiming in certain games. Unfortunately it didn't work in most of the games I tried as the $WS_EX_TOPMOST does not seem to work in conjunction with full screen games. Regardless, here is the script I wrote if you want to see how it is done or mess around with it. ; Dot in center of screen, and "almost" always on top #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> HotKeySet("{Escape}", "_dummy") 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 _dummy() ;dummy func EndFunc Func _Exit() Exit EndFunc ;==>_Exit "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...
daniel02 Posted April 9, 2009 Author Share Posted April 9, 2009 Hi all, yes it it a directx game. So is it possible to "forward" the auoit gui somehow into the directx game? Thanks Daniel 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