philo Posted March 9, 2006 Share Posted March 9, 2006 Hi, I made a Input box. I want it to always stay ontop of everythings. Can you do this with Autoit? Thx Auto It Ruels Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 9, 2006 Moderators Share Posted March 9, 2006 Have a script to look at, you may just need to disable the controls under it? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
philo Posted March 9, 2006 Author Share Posted March 9, 2006 Have a script to look at, you may just need to disable the controls under it?the script:$kogels = InputBox("Kogels", "Type aantal kogels", "", "", _ -1, -1, 0, 0)MouseClick("left", 840, 405, 1, 1)Send($kogels)Sleep(1000)MouseClick("left", 837, 385, 1, 1) Auto It Ruels Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 9, 2006 Moderators Share Posted March 9, 2006 I don't think so without running a second script or using AdlibEnable() << And I don't know if that would work. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 9, 2006 Share Posted March 9, 2006 I don't think so without running a second script or using AdlibEnable() << And I don't know if that would work. Hi, hmmh does that help? #include <GUIConstants.au3> GUICreate(" My GUI input", 320,120, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018); WS_EX_ACCEPTFILES GUICtrlCreateLabel("Type aantal kogels", 5, 5, 300, 20) $txt = GUICtrlCreateInput ( "Type aantal kogels", 10, 35, 300, 20) $btn = GUICtrlCreateButton ("Ok", 40, 75, 60, 20) GUISetState () $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() WinSetOnTop("My GUI input", "",1 ) Select Case $msg = $btn MsgBox(0, "Typed" ,GUICtrlRead ($txt)) Exitloop EndSelect Wend So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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