korrekt ich brauche dies für eine Serial-Code...
mfG
korrekt ich brauche dies für eine Serial-Code...
mfG
hm ne sry ,leider net :-/
Hier ma BsP.
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Test-Gui", 232, 83, 192, 124)
$1 = GUICtrlCreateInput("", 16, 32, 201, 21)
$Label1 = GUICtrlCreateLabel("Format: XXXX-XXXX-XXXX-XXXX", 32, 8, 163, 17)
$Button1 = GUICtrlCreateButton("Weiter", 144, 56, 75, 25, $WS_GROUP)
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Hallo
Ich habe jetzt ne Inputbox,ich möchte,dass nach jeden 4.Zeichen ein "-" (Bindestrich) automatisch kommt.
Die Zeichenlänge sollte auf 4 Balken (mit 16 Zeichen ) reduziert werden....
z.B.
XXXX-XXXX-XXXX-XXXX
so ?
[autoit]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 174, 50, 192, 124)
$Button1 = GUICtrlCreateButton("Check", 8, 16, 75, 25, $WS_GROUP)
$Checkbox1 = GUICtrlCreateCheckbox("Check ?!", 88, 16, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
if GUICtrlRead($Checkbox1) = $GUI_CHECKED Then
MsgBox(0,"","Haken vorhanden !")
Else
MsgBox(0,"","Kein Haken vorhanden !")
EndIf
EndSwitch
WEnd
würdeste das auch hinbekommen ,dass der das Wort ausließt
hier is ma nen bsp:
[autoit]#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Search Test", 371, 213, 192, 124)
$Edit1 = GUICtrlCreateEdit("", 0, 0, 369, 169, BitOR($ES_AUTOVSCROLL,$ES_AUTOHSCROLL,$ES_WANTRETURN))
GUICtrlSetData(-1, "This is a Test.")
$Label1 = GUICtrlCreateLabel("Word:", 40, 176, 33, 17)
GUICtrlCreateInput("", 80, 176, 193, 21)
$Button1 = GUICtrlCreateButton("Search", 280, 176, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
wenn das wort erfolgreich gefunden wurde,soll ne msg kommen mit den wort.
mfg
Hallo
mal ne Frage kann man in Autoit ,sowas wie ne suchmaschine einbauen (realisieren)...
wenn ja wie geht sowas..
mfg
Hallo
Ich habe mal ne Frage unzwar ,wie kann ich eine
While 1
..
WEnd
Schleife beenden
hier ma das skript:
[autoit]#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("The Way to AfK", 283, 83, 192, 124, -1, BitOR($WS_EX_TOOLWINDOW, $WS_EX_TOPMOST, $WS_EX_WINDOWEDGE))
$Label1 = GUICtrlCreateLabel("Client:", 8, 8, 40, 17)
$Combo1 = GUICtrlCreateCombo("", 48, 8, 145, 25)
$Label2 = GUICtrlCreateLabel("", 8, 48, 4, 4)
$Radio1 = GUICtrlCreateRadio("Person 1", 208, 8, 73, 17)
$Button1 = GUICtrlCreateButton("Start", 64, 48, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Stop", 176, 48, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
If GUICtrlRead($Radio1) = $Gui_CHECKED Then
While 1
ControlSend(GUICtrlRead($Combo1), "", "Edit1", "1")
Sleep(10000)
WEnd
Else
MsgBox(48, "", "Take a tick into the Radiobox!")
EndIf
Case $Button2
ExitLoop
hier weiss ich jetzt net ...
EndSwitch
WEnd
top ocsar danke
closee.
Hallo
ich habe eine frage unzwar wie bekomme ich das hin,wenn ich ein button anclicke ,dass der dann eingedrückt bleibt ...
hier nen bsp.:
[Blockierte Grafik: http://img5.imagebanana.com/img/307txth7/Unbenannt.bmp.png]
mfg
also sowas wie HDD´s... habe da ne sehr gute möglichkeit ,die ich relative ungern pub. mache
danke an alle, besonders an Schnitzel
~close~
ne geht auch noch net wie ich das will.. ich möchte das gUI ja noch bewegen...
ne dann kann ich das GUI net mehr bewegen..
hallo
ich habe ein problem mit meinen script..
unzwar ich habe ein Bild und auf das bild ein button gesetzt aber der button reagiert net...
testscript:
[autoit]#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 171, 157, 192, 124, BitOR($WS_MINIMIZEBOX,$WS_SYSMENU,$WS_POPUP,$WS_GROUP,$WS_CLIPSIBLINGS))
$Pic1 = GUICtrlCreatePic("C:\Dokumente und Einstellungen\Admin\Desktop\AcidTech\images\cell.gif", -7, -8, 199, 215, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS), $GUI_WS_EX_PARENTDRAG)
$Button1 = GUICtrlCreateButton("Back", 0, 0, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Exit
EndSwitch
WEnd
[Blockierte Grafik: http://image.cp-g.net/pics/4aef050d6262f.gif] das is das testbild
danke
/close
kleine bsp script vll. wäre nett
mfg
Hallo sry das ich schon wieder nerve aber ich habe nen Problem xD
naja..
Ich möchte das mein GUI eine feste Position auf den Desktop hat ,unzwar ganz unten rechts....
wie geht das ?
mfg
ich habe dies aber mit einer navigation gelöst finde das stylischer