Jump to content

Recommended Posts

I state that I am not a programmer, but a simple geek, and I can create small programs with the help of the guides and thinking about them.
My problem is that using Koda, I can create the working GUI, but as soon as I try to do this step, I get stuck because I have not found anything about it.
The problem is this:
I create an input box where the user will type a number. The program will have to write this number in a given box. I put the cursor in that box, but I don't know what the command is to make the number typed in the input box write.
Thanks in advance.

Link to post
Share on other sites

HotKeySet ("{ESC}", "Terminate")

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\users\maurizio\desktop\autoit programmi\form1.kxf
$Form1_1 = GUICreate("Controllo Player", 615, 438, 192, 124)
$Galassia = GUICtrlCreateLabel("Galassia", 80, 32, 44, 17)
$Sistema = GUICtrlCreateLabel("Sistema", 240, 32, 41, 17)
$Input1 = GUICtrlCreateInput("Input1", 80, 80, 41, 21)
$Input10 = GUICtrlCreateInput("Input10", 232, 80, 49, 21)
$Orbita = GUICtrlCreateLabel("Orbita", 408, 32, 32, 17)
$Input2 = GUICtrlCreateInput("Input2", 392, 80, 49, 21)
$Avvia = GUICtrlCreateButton("Avvia", 248, 192, 75, 25)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
         Case $Avvia




Func Terminate()



where there are the two spaces, I would like to write what is written in the input box

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...