problem

06/19/2011 17:07 .Cdog#1
Hey leute ich habe mall wide rein problem:D

ich würd egerne wissen wie ich die inputs
PHP Code:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"502114173124)
$Input1 GUICtrlCreateInput("Beispiel 1"1204034521)
$Input2 GUICtrlCreateInput("Beispiel 2"1208034521)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

    EndSwitch
WEnd 
In eine msg box einfügen kann also der text der geschrieben wurde.


Danke im voraus wer mir geholfen hat bekommt 1e*gold
06/19/2011 17:26 BlackHybrid#2
Sachen aus einer GUI muss man mit GUICtrlRead auslesen.

PHP Code:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"502114173124)
$Input1 GUICtrlCreateInput("Beispiel 1"1204034521)
$Input2 GUICtrlCreateInput("Beispiel 2"1208034521)
$Button GUICtrlCreateButton("Button"5050)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button
            MsgBox
(1""GUICtrlRead($Input1) & "," GUICtrlRead($Input2))
    EndSwitch
WEnd 
06/19/2011 19:10 xShizoidx#3
Hier noch ein Beispiel von mir :

Code:
MsgBox(4096, "Test für Script", "Sie werden von mir keine "& GUICtrlRead($Input1) &" und auch keine "& GUICtrlRead($Input2) &" bekommen.")
06/19/2011 19:39 Adroxxx#4
[Only registered and activated users can see links. Click Here To Register...]