1. Dashboard
  2. Mitglieder
    1. Letzte Aktivitäten
    2. Benutzer online
    3. Team
    4. Mitgliedersuche
  3. Forenregeln
  4. Forum
    1. Unerledigte Themen
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. AutoIt.de - Das deutschsprachige Forum.
  2. Mitglieder
  3. Jam00

Beiträge von Jam00

  • µit Light April '09

    • Jam00
    • 1. Mai 2009 um 20:32

    Was ist mit den Andern? Postet ihr euer Passwort auch mal?

  • µit Light April '09

    • Jam00
    • 1. Mai 2009 um 16:27

    Ich würde meins auch Gerne Weiterentwicheln

    Ich habe mein Passwort jetzt auch reingestelt (Siehe post mit Dateianhang)

  • Image-Slider erstellen

    • Jam00
    • 30. April 2009 um 21:27

    such mal mach USkin

  • Text eines mit rechter Maustaste angeklicktem TreeItem herausfinden

    • Jam00
    • 30. April 2009 um 19:11

    Naja will man nicht so sein

    Spoiler anzeigen
    [autoit]

    #Include <GuiTreeView.au3>
    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Tree View Text", 216, 364, 193, 125)
    $TreeView1 = GUICtrlCreateTreeView(2, 2, 209, 357)
    $Con = GUICtrlCreateContextMenu ($TreeView1)
    $Text = GUICtrlCreateMenuItem("Text",$Con)
    GUICtrlCreateTreeViewItem("Test", $TreeView1)
    GUICtrlCreateTreeViewItem("Test2", $TreeView1)
    GUICtrlCreateTreeViewItem("Test3", $TreeView1)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case -3
    Exit
    Case $Text
    MsgBox (0,"",_GUICtrlTreeView_GetText($TreeView1,_GUICtrlTreeView_GetSelection($TreeView1)))
    EndSwitch
    WEnd

    [/autoit]
  • _FTP - Funltionen

    • Jam00
    • 30. April 2009 um 18:52

    Es gibt dazu schon viele Beispiel in dem Post ftp.au3 unter Scripte!
    Und in der UDF sind auch alle Functionen erklärt!

  • Programm-log

    • Jam00
    • 30. April 2009 um 18:42

    Entweder du liest den Text erst aus, und fügst den wieder mit ein oder du nimmst einfach _GUICtrlEdit_AppendText

  • Label transparent über Child-Gui ?

    • Jam00
    • 30. April 2009 um 18:40

    Jo sieht cool aus :thumbup:

  • Text eines mit rechter Maustaste angeklicktem TreeItem herausfinden

    • Jam00
    • 30. April 2009 um 18:22

    Dann Poste doch mal Script

  • Label transparent über Child-Gui ?

    • Jam00
    • 30. April 2009 um 18:21

    Ahso jetzt sehe ich das! Na dann mach es doch so:

    Spoiler anzeigen
    [autoit]

    #Include <Color.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Opt('PixelCoordMode', 0)
    Opt("GUIOnEventMode", 1)

    [/autoit] [autoit][/autoit] [autoit]

    Const $WS_EX_COMPOSITED = 0x2000000
    Global $title = "Funkey's Moving Transition ;-)"
    Global $hGui = GUICreate($title, 400, 500, -1, -1, BitOR($WS_POPUP, $WS_DLGFRAME), $WS_EX_COMPOSITED)
    GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('0', 348, 2, 16, 16, 0x0800) ; _
    GUICtrlSetOnEvent(-1, '_Minimize')
    GUICtrlSetTip(-1, 'Minimieren')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('1', 364, 2, 16, 16, 0x0800) ;
    GUICtrlSetOnEvent(-1, '_Maximize')
    GUICtrlSetTip(-1, 'Maximieren')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')
    GUICtrlSetState(-1, $GUI_DISABLE)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('r', 382, 2, 16, 16, 0x0800) ; x
    GUICtrlSetOnEvent(-1, '_Exit')
    GUICtrlSetTip(-1, 'Schließen')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateLabel(" " & $title, 20, 2, 200, 16, 0x4000200,0x00000020 )
    GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
    GUICtrlSetColor(-1, 0xFFFFFF)
    GUICtrlSetFont(-1, 9.8, 400, 0, 'MS Sans Serif')

    [/autoit] [autoit][/autoit] [autoit]

    Global $hChild = GUICreate('Child', 1600, 20, 0, 0, $WS_CHILD, -1, $hGui)
    Global $Ctrl_Grafik = _CreateColorTransition(0, 0, 1600, 20, 0xFF0000, 0xFFFF00, 1, 4)
    GUISetState()
    GUISwitch($hGUI)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    AdlibEnable('_RotateCaption', 50)

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    Sleep(10000)
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func _RotateCaption()
    Local $aPosC = WinGetPos($hChild), $aPosG = WinGetPos($hGui)
    If $aPosC[0] - $aPosG[0] <= -800 Then
    WinMove($hChild, '', -5, 0)
    Else
    WinMove($hChild, '', $aPosC[0] - $aPosG[0] - 5, 0)
    EndIf
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Minimize()
    GUISetState(@SW_MINIMIZE)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Maximize()
    GUISetState(@SW_MAXIMIZE)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Exit()
    Exit
    EndFunc ;==>_Exit

    [/autoit] [autoit][/autoit] [autoit]

    Func _CreateColorTransition($iPosx, $iPosy, $iWidth, $iHeight, $nColorStart, $nColorEnd, $iAlignment = 0, $iWaveFaktor = 1)
    ; funkey
    Local $startRot, $startGruen, $startBlau, $endRot, $endGruen, $endBlau, $Color
    Local $ColorOffsetRot, $ColorOffsetGruen, $ColorOffsetBlau, $Grafik
    $startRot = _ColorGetRed($nColorStart)
    $startGruen = _ColorGetGreen($nColorStart)
    $startBlau = _ColorGetBlue($nColorStart)
    $endRot = _ColorGetRed($nColorEnd)
    $endGruen = _ColorGetGreen($nColorEnd)
    $endBlau = _ColorGetBlue($nColorEnd)
    $Grafik = GUICtrlCreateGraphic($iPosx, $iPosy, $iWidth, $iHeight, 0)
    GUICtrlSetState(-1, $GUI_DISABLE)
    $iHeight += $iWaveFaktor - Mod($iHeight, $iWaveFaktor)
    Switch $iAlignment
    Case 0
    $ColorOffsetRot = ($endRot - $startRot) / ($iHeight / $iWaveFaktor)
    $ColorOffsetGruen = ($endGruen - $startGruen) / ($iHeight / $iWaveFaktor)
    $ColorOffsetBlau = ($endBlau - $startBlau) / ($iHeight / $iWaveFaktor)
    Switch Mod($iWaveFaktor, 2)
    Case 0
    For $w = 1 To $iWaveFaktor - 1 Step 2
    For $i = ($w - 1) * ($iHeight / $iWaveFaktor) To ($w) * ($iHeight / $iWaveFaktor) - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    For $i = $w * ($iHeight / $iWaveFaktor) To ($w + 1) * ($iHeight / $iWaveFaktor) - 1
    $Color = '0x' & Hex($endRot - $ColorOffsetRot * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2) & _
    Hex($endGruen - $ColorOffsetGruen * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2) & _
    Hex($endBlau - $ColorOffsetBlau * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    Next
    Case 1
    For $i = 0 To $iHeight - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    EndSwitch
    Case Else
    $ColorOffsetRot = ($endRot - $startRot) / ($iWidth / $iWaveFaktor)
    $ColorOffsetGruen = ($endGruen - $startGruen) / ($iWidth / $iWaveFaktor)
    $ColorOffsetBlau = ($endBlau - $startBlau) / ($iWidth / $iWaveFaktor)
    Switch Mod($iWaveFaktor, 2)
    Case 0
    For $w = 1 To $iWaveFaktor - 1 Step 2
    For $i = ($w - 1) * ($iWidth / $iWaveFaktor) To ($w) * ($iWidth / $iWaveFaktor) - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, $i, 0)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $i, $iHeight)
    Next
    For $i = $w * ($iWidth / $iWaveFaktor) To ($w + 1) * ($iWidth / $iWaveFaktor) - 1
    $Color = '0x' & Hex($endRot - $ColorOffsetRot * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2) & _
    Hex($endGruen - $ColorOffsetGruen * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2) & _
    Hex($endBlau - $ColorOffsetBlau * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, $i, 0)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $i, $iHeight)
    Next
    Next
    Case 1
    For $i = 0 To $iHeight - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    EndSwitch
    EndSwitch
    Return $Grafik
    EndFunc ;==>_CreateColorTransition

    [/autoit]
  • Label transparent über Child-Gui ?

    • Jam00
    • 30. April 2009 um 16:42

    Hä wie jetzt?

  • µit Light April '09

    • Jam00
    • 30. April 2009 um 16:41

    Da es diese Zeit nie geben wird haben wir unenlich zeit :rofl:

  • Label transparent über Child-Gui ?

    • Jam00
    • 30. April 2009 um 14:46
    Spoiler anzeigen
    [autoit]

    #Include <Color.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    Opt('PixelCoordMode', 0)
    Opt("GUIOnEventMode", 1)

    [/autoit] [autoit][/autoit] [autoit]

    Const $WS_EX_COMPOSITED = 0x2000000
    Global $title = "Funkey's Moving Transition ;-)"
    Global $hGui = GUICreate($title, 400, 500, -1, -1, BitOR($WS_POPUP, $WS_DLGFRAME), $WS_EX_COMPOSITED)
    GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('0', 348, 2, 16, 16, 0x0800) ; _
    GUICtrlSetOnEvent(-1, '_Minimize')
    GUICtrlSetTip(-1, 'Minimieren')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('1', 364, 2, 16, 16, 0x0800) ;
    GUICtrlSetOnEvent(-1, '_Maximize')
    GUICtrlSetTip(-1, 'Maximieren')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')
    GUICtrlSetState(-1, $GUI_DISABLE)

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateButton('r', 382, 2, 16, 16, 0x0800) ; x
    GUICtrlSetOnEvent(-1, '_Exit')
    GUICtrlSetTip(-1, 'Schließen')
    GUICtrlSetFont(-1, 8, 0, 0, 'Marlett')

    [/autoit] [autoit][/autoit] [autoit]

    GUICtrlCreateLabel(" " & $title, 20, 2, 200, 16, 0x4000200, 0x00100000)
    GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT)
    GUICtrlSetColor(-1, 0xFFFFFF)
    GUICtrlSetFont(-1, 9.8, 400, 0, 'MS Sans Serif')

    [/autoit] [autoit][/autoit] [autoit]

    ;~ Global $hChild = GUICreate('Child', 1600, 20, 0, 0, $WS_CHILD, -1, $hGui)
    Global $Ctrl_Grafik = _CreateColorTransition(0, 0, 1600, 20, 0xFF0000, 0xFFFF00, 1, 4)
    GUISetState()
    GUISwitch($hGUI)
    GUISetState()

    [/autoit] [autoit][/autoit] [autoit]

    AdlibEnable('_RotateCaption', 50)

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    Sleep(10000)
    WEnd

    [/autoit] [autoit][/autoit] [autoit]

    Func _RotateCaption()
    ;~ Local $aPosC = WinGetPos($hChild), $aPosG = WinGetPos($hGui)
    ;~ If $aPosC[0] - $aPosG[0] <= -800 Then
    ;~ WinMove($hChild, '', -5, 0)
    ;~ Else
    ;~ WinMove($hChild, '', $aPosC[0] - $aPosG[0] - 5, 0)
    ;~ EndIf
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Minimize()
    GUISetState(@SW_MINIMIZE)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Maximize()
    GUISetState(@SW_MAXIMIZE)
    EndFunc

    [/autoit] [autoit][/autoit] [autoit]

    Func _Exit()
    Exit
    EndFunc ;==>_Exit

    [/autoit] [autoit][/autoit] [autoit]

    Func _CreateColorTransition($iPosx, $iPosy, $iWidth, $iHeight, $nColorStart, $nColorEnd, $iAlignment = 0, $iWaveFaktor = 1)
    ; funkey
    Local $startRot, $startGruen, $startBlau, $endRot, $endGruen, $endBlau, $Color
    Local $ColorOffsetRot, $ColorOffsetGruen, $ColorOffsetBlau, $Grafik
    $startRot = _ColorGetRed($nColorStart)
    $startGruen = _ColorGetGreen($nColorStart)
    $startBlau = _ColorGetBlue($nColorStart)
    $endRot = _ColorGetRed($nColorEnd)
    $endGruen = _ColorGetGreen($nColorEnd)
    $endBlau = _ColorGetBlue($nColorEnd)
    $Grafik = GUICtrlCreateGraphic($iPosx, $iPosy, $iWidth, $iHeight, 0)
    GUICtrlSetState(-1, $GUI_DISABLE)
    $iHeight += $iWaveFaktor - Mod($iHeight, $iWaveFaktor)
    Switch $iAlignment
    Case 0
    $ColorOffsetRot = ($endRot - $startRot) / ($iHeight / $iWaveFaktor)
    $ColorOffsetGruen = ($endGruen - $startGruen) / ($iHeight / $iWaveFaktor)
    $ColorOffsetBlau = ($endBlau - $startBlau) / ($iHeight / $iWaveFaktor)
    Switch Mod($iWaveFaktor, 2)
    Case 0
    For $w = 1 To $iWaveFaktor - 1 Step 2
    For $i = ($w - 1) * ($iHeight / $iWaveFaktor) To ($w) * ($iHeight / $iWaveFaktor) - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1 - (($w - 1) * $iHeight / $iWaveFaktor)), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    For $i = $w * ($iHeight / $iWaveFaktor) To ($w + 1) * ($iHeight / $iWaveFaktor) - 1
    $Color = '0x' & Hex($endRot - $ColorOffsetRot * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2) & _
    Hex($endGruen - $ColorOffsetGruen * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2) & _
    Hex($endBlau - $ColorOffsetBlau * ($i - ($w * $iHeight / $iWaveFaktor) + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    Next
    Case 1
    For $i = 0 To $iHeight - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    EndSwitch
    Case Else
    $ColorOffsetRot = ($endRot - $startRot) / ($iWidth / $iWaveFaktor)
    $ColorOffsetGruen = ($endGruen - $startGruen) / ($iWidth / $iWaveFaktor)
    $ColorOffsetBlau = ($endBlau - $startBlau) / ($iWidth / $iWaveFaktor)
    Switch Mod($iWaveFaktor, 2)
    Case 0
    For $w = 1 To $iWaveFaktor - 1 Step 2
    For $i = ($w - 1) * ($iWidth / $iWaveFaktor) To ($w) * ($iWidth / $iWaveFaktor) - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1 - (($w - 1) * $iWidth / $iWaveFaktor)), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, $i, 0)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $i, $iHeight)
    Next
    For $i = $w * ($iWidth / $iWaveFaktor) To ($w + 1) * ($iWidth / $iWaveFaktor) - 1
    $Color = '0x' & Hex($endRot - $ColorOffsetRot * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2) & _
    Hex($endGruen - $ColorOffsetGruen * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2) & _
    Hex($endBlau - $ColorOffsetBlau * ($i - ($w * $iWidth / $iWaveFaktor) + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, $i, 0)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $i, $iHeight)
    Next
    Next
    Case 1
    For $i = 0 To $iHeight - 1
    $Color = '0x' & Hex($startRot + $ColorOffsetRot * ($i + 1), 2) & _
    Hex($startGruen + $ColorOffsetGruen * ($i + 1), 2) & _
    Hex($startBlau + $ColorOffsetBlau * ($i + 1), 2)
    GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $Color)
    GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i)
    GUICtrlSetGraphic(-1, $GUI_GR_LINE, $iWidth, $i)
    Next
    EndSwitch
    EndSwitch
    Return $Grafik
    EndFunc ;==>_CreateColorTransition

    [/autoit]
  • µit Light April '09

    • Jam00
    • 30. April 2009 um 14:15

    Wann sollen wir denn die Passwörter reinstellen?

  • Wer wird Millionär ?

    • Jam00
    • 28. April 2009 um 23:04
    Spoiler anzeigen
    [autoit]

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 277, 57, 193, 125)
    Dim $Button[4][2]
    $Button[0][0] = GUICtrlCreateButton("Falsch", 2, 2, 75, 25, 0)
    $Button[1][0] = GUICtrlCreateButton("Falsch", 78, 2, 75, 25, 0)
    $Button[2][0] = GUICtrlCreateButton("Falsch", 2, 28, 75, 25, 0)
    $Button[3][0] = GUICtrlCreateButton("Falsch", 78, 28, 75, 25, 0)
    For $1 = 0 To 3
    $Button[$1][1] = False
    Next

    [/autoit] [autoit][/autoit] [autoit]

    $50 = GUICtrlCreateButton("50-50", 198, 2, 75, 25, 0)
    $Ran = Random(0,3)
    GUICtrlSetData ($Button[$Ran][0],"Richtig")
    $Button[$Ran][1] = True
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    For $1 = 0 To 3
    Switch $nMsg
    Case -3
    Exit
    Case $Button[$1][0]
    If $Button[$1][1] = True Then
    MsgBox (64,"Richtig","Richtig")
    ElseIf $Button[$1][1] = False Then
    MsgBox (16,"Falsch","Falsch")
    EndIf
    Case $50
    GUICtrlSetState ($50,128)
    For $1 = 1 To 2
    Do
    $Ran = Random(0,3)
    Until $Button[$Ran][1] = False
    GUICtrlSetState($Button[$Ran][0],128)
    $Button[$Ran][1] = "NO"
    Next
    EndSwitch
    Next
    WEnd

    [/autoit]
  • µit Light April '09

    • Jam00
    • 28. April 2009 um 16:41

    Danke
    Nein, das war scherzhaft gemeint ;)
    Nicht das ich das Schlimm fände^^

  • µit Light April '09

    • Jam00
    • 28. April 2009 um 14:55

    na wenn Progandy mitmacht hab ich ja schon keine Changse mehr :D

  • GUICtrlCreatePic - PNG-Dateien [Größe|SetPos]

    • Jam00
    • 27. April 2009 um 20:56
    Spoiler anzeigen
    [autoit]

    #include <GDIPlus.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #Region ### START Koda GUI section ### Form=
    $hWnd = GUICreate("PNG mit GDI+", 10, 10,Default,Default,0x80000000)
    GUISetBkColor (0x000000)
    GUISetState(@SW_SHOW)
    GUISetState(@SW_MAXIMIZE)
    #EndRegion ### END Koda GUI section ###

    [/autoit] [autoit][/autoit] [autoit]

    HotKeySet ("{esc}","ende")
    $Old = MouseGetPos()
    _GDIPlus_Startup()
    $hImage = _GDIPlus_ImageLoadFromFile(@ScriptDir & "\1.png")
    $hGraphics = _GDIPlus_GraphicsCreateFromHWND($hWnd)
    _GDIPlus_GraphicsDrawImageRect($hGraphics, $hImage, $Old[0]-50, $Old[1]-50, 100, 100 )
    While 1
    $Pos = MouseGetPos()
    If $Pos[0] <> $Old[0] Or $Pos[1] <> $Old[1] Then
    _GDIPlus_GraphicsFillRect($hGraphics, $Old[0]-50, $Old[1]-50, 100, 100)
    _GDIPlus_GraphicsDrawImageRect($hGraphics, $hImage, $Pos[0]-50, $Pos[1]-50, 100, 100 )
    $Old = MouseGetPos()
    EndIf
    WEnd
    Func ende()
    Exit
    EndFunc

    [/autoit]
  • Brauche Hilfe bei einem Befehl und Start des Scriptes.

    • Jam00
    • 27. April 2009 um 20:34

    Du musst am besten erstmal ein Grundlagen Tutorial machen, und dann lad dir die Deutschen hilfen runter!

  • GUICtrlCreatePic - PNG-Dateien [Größe|SetPos]

    • Jam00
    • 27. April 2009 um 20:30

    Du musst es per GDI-Plus machen! Lad mal deine PNG hoch

  • Mein erster Prüfsummenberechner

    • Jam00
    • 27. April 2009 um 20:25

    Okay, ist nicht schlecht, und auch eig von der Geschwindikeit ganz gut, aber warum Postest du das unter Hilfe & Unterstüzung?

Spenden

Jeder Euro hilft uns, Euch zu helfen.

Download

AutoIt Tutorial
AutoIt Buch
Onlinehilfe
AutoIt Entwickler
  1. Datenschutzerklärung
  2. Impressum
  3. Shoutbox-Archiv
Community-Software: WoltLab Suite™