Sign in to follow this  
Followers 0
philo

Ontop

5 posts in this topic

Hi,

I made a Input box.

I want it to always stay ontop of everythings. Can you do this with Autoit?

Thx

:o


Auto It Ruels

Share this post


Link to post
Share on other sites



Have a script to look at, you may just need to disable the controls under it?


[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

I don't think so without running a second script or using AdlibEnable() << And I don't know if that would work.


[center]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.[/center]

Share this post


Link to post
Share on other sites

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

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  
Followers 0