Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 12:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



GUICtrlRead ?

Discussion on GUICtrlRead ? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 108
Received Thanks: 3
GUICtrlRead ?

Hallo E*PvP ich stehe gerade irgend wie aufm Schlauch D:

PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Wecker"242438192124)
$Label11 GUICtrlCreateLabel("Uhrzeit"083717)
$Stunden GUICtrlCreateInput("Stunden"4084921)
$Minuten GUICtrlCreateInput("Min"10482521)
$Label2 GUICtrlCreateLabel(":"968717)
$Label3 GUICtrlCreateLabel("Erinnerung "0405817)
$Erinerung GUICtrlCreateInput("An was Wilslt du Erinnert werden ?"86422521)
GUICtrlSetLimit(-1999)
$Button1 GUICtrlCreateButton("Start"0887525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

Func _Start()
    If 
$Stunden = @HOUR And $Minuten = @MIN Then
        MsgBox
(1"ACHTUNG" GUICtrlRead($Erinerung")
    EndIf
EndFunc   ;==>_Start



While 1
    
$nMsg = GUIGetMsg()
    Switch 
$nMsg
        Case 
$GUI_EVENT_CLOSE
            Exit
        Case 
$Button1
            _Start

    EndSwitch
WEnd 
Was ist daran falsch ?
Danke
Hackerfreak1 is offline  
Old 03/25/2011, 00:34   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
du nutz hier schon den guictrlread() befehl GUICtrlRead($Erinerung) aber bei $Stunden und $minuten nicht... warrrumm?

bei Case $Button1 .. _Start fehlen die beiden klammern _Start()
und eine funk immer unterhalb vom quellcode setzten, wo du diesen gebrauchst..

bzw halt unter der haupt while - schleife...

PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Wecker"242438192124)
$Label11 GUICtrlCreateLabel("Uhrzeit"083717)
$Stunden GUICtrlCreateInput("Stunden"4084921)
$Minuten GUICtrlCreateInput("Min"10482521)
$Label2 GUICtrlCreateLabel(":"968717)
$Label3 GUICtrlCreateLabel("Erinnerung "0405817)
$Erinerung GUICtrlCreateInput("An was Wilslt du Erinnert werden ?"86422521)
GUICtrlSetLimit(-1999)
$Button1 GUICtrlCreateButton("Start"0887525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


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

    EndSwitch
WEnd



Func _Start
()
    While @
HOUR GUICtrlRead($Stunden) And @MIN GUICtrlRead($Minuten)
        
$msg MsgBox(1"ACHTUNG"GUICtrlRead($Erinerung))
        If 
$msg 1 Then ExitLoop
    WEnd
EndFunc 
omer36 is offline  
Thanks
1 User
Old 03/26/2011, 12:09   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 108
Received Thanks: 3
Quote:
Originally Posted by omer36 View Post
du nutz hier schon den guictrlread() befehl GUICtrlRead($Erinerung) aber bei $Stunden und $minuten nicht... warrrumm?

bei Case $Button1 .. _Start fehlen die beiden klammern _Start()
und eine funk immer unterhalb vom quellcode setzten, wo du diesen gebrauchst..

bzw halt unter der haupt while - schleife...

PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Wecker"242438192124)
$Label11 GUICtrlCreateLabel("Uhrzeit"083717)
$Stunden GUICtrlCreateInput("Stunden"4084921)
$Minuten GUICtrlCreateInput("Min"10482521)
$Label2 GUICtrlCreateLabel(":"968717)
$Label3 GUICtrlCreateLabel("Erinnerung "0405817)
$Erinerung GUICtrlCreateInput("An was Wilslt du Erinnert werden ?"86422521)
GUICtrlSetLimit(-1999)
$Button1 GUICtrlCreateButton("Start"0887525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


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

    EndSwitch
WEnd



Func _Start
()
    While @
HOUR GUICtrlRead($Stunden) And @MIN GUICtrlRead($Minuten)
        
$msg MsgBox(1"ACHTUNG"GUICtrlRead($Erinerung))
        If 
$msg 1 Then ExitLoop
    WEnd
EndFunc 

Ach wtf xd

Danke
Hackerfreak1 is offline  
Reply


Similar Threads Similar Threads
[AutoIt] Hilfe! GUICtrlRead Combobox = 0 ??
02/15/2011 - AutoIt - 1 Replies
Hallo! Ich habe ein kleines Problem mit meiner Combobox. Immer wenn ich mithilfe der Funktion show() den Wert der Combobox auslesen möchte, ist das Ergebnis eine 0. Hab schon lange gegoogelt aber nichts gefunden was mich weiterbringt. Kann mir bitte eine sagen woran es liegen kann? Thx garantie :P Unten ist ein Beispiel, wollte keinen Kilometerlangen Code reinkopieren. #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 297, 140,...
[Schnelle Hilfe]Guictrlread???
04/08/2010 - AutoIt - 2 Replies
Hallo will mal schnell fragen mach grade nen script für mich in SciTe bzw. AutoIt... also wie macht man das nochmal mit send, guictrlread under input? also ich meins so ist falsch ich weiß... (glaub ich) send(Guictrlread=$input1) was hab ich da falsch gemacht?? hatte das mal im kopf doch dann hab ichs vergessen thx für help.
GUICtrlRead und WinSetState
12/10/2009 - AutoIt - 6 Replies
Hi, ich hätte da mal eine Frage. Und zwar programmier ich grade ein Programm (Script), das ein beliebiges Programm beendet, minimiert oder maximiert. Mein Code: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Include <GuiEdit.au3>
Problem mit GUICtrlRead
11/26/2009 - AutoIt - 8 Replies
Wollte hier n Script machen welches ne eingegebene IP bzw Hostnamen pingen kann und auch nen anderen Rechner durchsuchen kann (das ist erstma zweitrangig). Problem ist das das anpingen beim 1. mal funktioniert und beim 2. mal nur 0 gepingt wird. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=c:\users\hans\desktop\autoit test\lanchecker\w gui\lan checker v01a gui.kxf...
[HILFE] GuiCtrlRead funst nit
09/19/2009 - AutoIt - 10 Replies
Hey, ich habe ein problem #include <GUIConstants.au3> #Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\admin\desktop\autoexpspender.kxf $Auto = GUICreate("mouwMOUW", 633, 447, 193, 125) GUISetBkColor(0x000080)



All times are GMT +1. The time now is 12:22.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.