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. Scripter192

Beiträge von Scripter192

  • Decompiler - Wie kann man sich schützen?

    • Scripter192
    • 4. April 2010 um 18:30

    dann gehts aber doppelt so lang :D

  • Alles ListviewItems auslesen

    • Scripter192
    • 4. April 2010 um 18:23

    das musst du mit einem for loop machen ...


    beispiel:


    Listview mit einer "Reihe"
    [autoit]

    #include <GUIConstantsEx.au3>
    #include <ListViewConstants.au3>
    #include <WindowsConstants.au3>
    #include<guilistview.au3>
    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("", 625, 443, 192, 124)
    $ListView1 = GUICtrlCreateListView("blablablaaaa :D", 72, 56, 185, 297)
    _GUICtrlListView_AddItem($ListView1, "bla")
    _GUICtrlListView_AddItem($ListView1, "bla2")
    _GUICtrlListView_AddItem($ListView1, "bla3")
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    MsgBox(0, "", "Inhalte: " & _getcontent($ListView1))
    Exit
    EndSwitch
    WEnd
    Func _getcontent($hWnd)
    Local $text
    $count = _GUICtrlListView_GetItemCount($hWnd)
    For $i = 0 To $count
    $text &= _GUICtrlListView_GetItemText($hWnd, $i) & " "
    Next
    Return $text
    EndFunc ;==>_getcontent

    [/autoit]

    bzw.

    Listview mit 2 Reihen
    [autoit]

    #include <GUIConstantsEx.au3>
    #include <ListViewConstants.au3>
    #include <WindowsConstants.au3>
    #include<guilistview.au3>
    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("", 625, 443, 192, 124)
    $ListView1 = GUICtrlCreateListView("blablablaaaa :D|kategorie2 :D", 72, 56, 185, 297)
    GUICtrlCreateListViewItem("11|12",$ListView1)
    GUICtrlCreateListViewItem("21|22",$ListView1)
    GUICtrlCreateListViewItem("31|32",$ListView1)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###
    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    MsgBox(0, "", "Inhalte: " & _getcontent($ListView1))
    Exit
    EndSwitch
    WEnd
    Func _getcontent($hWnd)
    Local $text
    $count = _GUICtrlListView_GetItemCount($hWnd)
    For $i = 0 To $count
    $text &= _GUICtrlListView_GetItemText($hWnd, $i)&"|"&_GUICtrlListView_GetItemText($hWnd, $i,1) & " "
    Next
    Return $text
    EndFunc ;==>_getcontent

    [/autoit]
  • NotenManager 5 - Notenverwaltung für Schüler

    • Scripter192
    • 4. April 2010 um 17:55

    nach dem ersten starten einfach neuer jahrgang und neues fach fertisch ...

    das ganze kommt auch nach dem starten "als administrator"

    /edit: 2181 (consolewrite gibt folgendes aus: SELECT FachEx, Gewichtung FROM ("2009-2010") WHERE FachEx = ("Deutsch"); )
    / 2184 :

    nach dem anzeigen von dem hier:
    Der Inhalt kann nicht angezeigt werden, da er nicht mehr verfügbar ist.
    fängt das programm auf zu funktionieren
    greez

    Dateien

    error2.JPG 78,53 kB – 0 Downloads
  • NotenManager 5 - Notenverwaltung für Schüler

    • Scripter192
    • 4. April 2010 um 15:26

    ganz gut :thumbup:

    leider passiert bei mir beim erstellen eines neuen fach folgendes:
    Der Inhalt kann nicht angezeigt werden, da er nicht mehr verfügbar ist.

    Code
    >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Users\Stefan\Desktop\Notenmanager 5.00\Notenmanager.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams	
    +>15:35:47 Starting AutoIt3Wrapper v.2.0.0.3	Environment(Language:0407  Keyboard:00000407  OS:WIN_VISTA/  CPU:X64 OS:X86)
    >Running AU3Check (1.54.19.0)  from:C:\Program Files\AutoIt3
    +>15:35:48 AU3Check ended.rc:0
    >Running:(3.3.2.0):C:\Program Files\AutoIt3\autoit3.exe "C:\Users\Stefan\Desktop\Notenmanager 5.00\Notenmanager.au3"	
    C:\Users\Stefan\Desktop\Notenmanager 5.00\Notenmanager.au3 (2186) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:
    If $aResult[$i][2] = 1 Then
    If ^ ERROR
    ->15:35:50 AutoIT3.exe ended.rc:1
    +>15:35:51 AutoIt3Wrapper Finished
    >Exit code: 1	Time: 3.866
    Alles anzeigen

    Dateien

    error.JPG 107,8 kB – 0 Downloads
  • Decompiler - Wie kann man sich schützen?

    • Scripter192
    • 4. April 2010 um 14:56
    Zitat von PrideRage

    Noch nen tipp, baue die Skriptspache für dich um.
    Bsp. deine Variable heisst $Num nenn sie $1001102R
    Oder statt If $Var >= 100 Then
    If $264E1 >= 3000/30 Then
    Usw.
    Kreativität hilft da weiter ^^
    MfG. PrideRage

    Alles anzeigen


    was dann aber das programmieren schwerer macht weil man ggf. selber durcheinander kommt ^^

  • Befehl = Variable; Variable = Variablen; Befehl = Variablen

    • Scripter192
    • 1. April 2010 um 23:47

    ja ... und was ist jetzt noch unklar ?

  • InputBox -Abfrage ersetzen /GUI

    • Scripter192
    • 1. April 2010 um 23:44

    $variable &= "dazu" entspricht $variable = $variable & "dazu"

    also muss $variable ( in deinem fall $sCom ) vorher schon definiert sein

    am besten du setzt an den anfang von deinem script :

    [autoit]

    global $sCom, $funktion

    [/autoit]
  • Befehl = Variable; Variable = Variablen; Befehl = Variablen

    • Scripter192
    • 1. April 2010 um 23:41

    ich versteh nich ganz was du damit willst :P

    wenn du alle variabeln definiert hast ( $m="m" $s="s" $g="g" ... )
    was willst du dann mit denen machen ?

    --> Zudem kannst du keine $(="(" erstellen

  • Befehl = Variable; Variable = Variablen; Befehl = Variablen

    • Scripter192
    • 1. April 2010 um 23:38

    meinst du vllt sowas wie

    [autoit]

    $msgbox='msgbox(0,"","Test")'
    Execute($msgbox)

    [/autoit]
  • We aRe oNe - Webradioplayer

    • Scripter192
    • 1. April 2010 um 23:30

    windows 7 kann ich dir nich geben ^^

    hier die aero.au3 :

    aero.au3
    [autoit]

    #include <GUIConstants.au3>

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

    $Struct = DllStructCreate("int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight;")
    $sStruct = DllStructCreate("dword;int;ptr;int")

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

    ; #FUNCTION#;===============================================================================
    ;
    ; Name...........: _Vista_ApplyGlass
    ; Description ...: Applys glass effect to a window
    ; Syntax.........: _Vista_ApplyGlass($hWnd, [$bColor)
    ; Parameters ....: $hWnd - Window handle:
    ; $bColor - Background color
    ; Return values .: Success - No return
    ; Failure - Returns 0
    ; Author ........: James Brooks
    ; Modified.......:
    ; Remarks .......: Thanks to weaponx!
    ; Related .......:
    ; Link ..........;
    ; Example .......; Yes
    ;
    ;;==========================================================================================
    Func _Vista_ApplyGlass($hWnd, $bColor = 0x000000)

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

    GUISetBkColor($bColor); Must be here!
    $Ret = DllCall("dwmapi.dll", "long", "DwmExtendFrameIntoClientArea", "hwnd", $hWnd, "long*", DllStructGetPtr($Struct))
    If @error Then
    Return 0
    SetError(1)
    Else
    Return $Ret
    EndIf

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

    EndFunc ;==>_Vista_ApplyGlass

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

    ; #FUNCTION#;===============================================================================
    ;
    ; Name...........: _Vista_ApplyGlassArea
    ; Description ...: Applys glass effect to a window area
    ; Syntax.........: _Vista_ApplyGlassArea($hWnd, $Area, [$bColor)
    ; Parameters ....: $hWnd - Window handle:
    ; $Area - Array containing area points
    ; $bColor - Background color
    ; Return values .: Success - No return
    ; Failure - Returns 0
    ; Author ........: James Brooks
    ; Modified.......:
    ; Remarks .......: Thanks to monoceres!
    ; Related .......:
    ; Link ..........;
    ; Example .......; Yes
    ;
    ;;==========================================================================================
    Func _Vista_ApplyGlassArea($hWnd, $Area, $bColor = 0x000000)

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

    If IsArray($Area) Then
    DllStructSetData($Struct, "cxLeftWidth", $Area[0])
    DllStructSetData($Struct, "cxRightWidth", $Area[1])
    DllStructSetData($Struct, "cyTopHeight", $Area[2])
    DllStructSetData($Struct, "cyBottomHeight", $Area[3])
    GUISetBkColor($bColor); Must be here!
    $Ret = DllCall("dwmapi.dll", "long*", "DwmExtendFrameIntoClientArea", "hwnd", $hWnd, "ptr", DllStructGetPtr($Struct))
    If @error Then
    Return 0
    Else
    Return $Ret
    EndIf
    Else
    MsgBox(16, "_Vista_ApplyGlassArea", "Area specified is not an array!")
    EndIf

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

    EndFunc ;==>_Vista_ApplyGlassArea

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

    ; #FUNCTION#;===============================================================================
    ;
    ; Name...........: _Vista_EnableBlurBehind
    ; Description ...: Enables the blur effect on the provided window handle.
    ; Syntax.........: _Vista_EnableBlurBehind($hWnd)
    ; Parameters ....: $hWnd - Window handle:
    ; Return values .: Success - No return
    ; Failure - Returns 0
    ; Author ........: James Brooks
    ; Modified.......:
    ; Remarks .......: Thanks to komalo
    ; Related .......:
    ; Link ..........;
    ; Example .......; Yes
    ;
    ;;==========================================================================================
    Func _Vista_EnableBlurBehind($hWnd, $bColor = 0x000000)

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

    Const $DWM_BB_ENABLE = 0x00000001

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

    DllStructSetData($sStruct, 1, $DWM_BB_ENABLE)
    DllStructSetData($sStruct, 2, "1")
    DllStructSetData($sStruct, 4, "1")

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

    GUISetBkColor($bColor); Must be here!
    $Ret = DllCall("dwmapi.dll", "int", "DwmEnableBlurBehindWindow", "hwnd", $hWnd, "ptr", DllStructGetPtr($sStruct))
    If @error Then
    Return 0
    Else
    Return $Ret
    EndIf

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

    EndFunc ;==>_Vista_EnableBlurBehind

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

    ; #FUNCTION#;===============================================================================
    ;
    ; Name...........: _Vista_ICE
    ; Description ...: Returns 1 if DWM is enabled or 0 if not
    ; Syntax.........: _Vista_ICE()
    ; Parameters ....:
    ; Return values .: Success - Returns 1
    ; Failure - Returns 0
    ; Author ........: James Brooks
    ; Modified.......:
    ; Remarks .......: Thanks to BrettF
    ; Related .......:
    ; Link ..........;
    ; Example .......; Yes
    ;
    ;;==========================================================================================
    Func _Vista_ICE()
    $ICEStruct = DllStructCreate("int;")
    $Ret = DllCall("dwmapi.dll", "int", "DwmIsCompositionEnabled", "ptr", DllStructGetPtr($ICEStruct))
    If @error Then
    Return 0
    Else
    Return DllStructGetData($ICEStruct, 1)
    EndIf
    EndFunc ;==>_Vista_ICE

    [/autoit]
  • YouTube Converter

    • Scripter192
    • 1. April 2010 um 20:44

    du könntest das ganze dem "neuen" youtube jetzt noch anpassen

  • We aRe oNe - Webradioplayer

    • Scripter192
    • 1. April 2010 um 20:41

    klar

  • icq feld auslesen

    • Scripter192
    • 27. März 2010 um 12:53

    naja ... verwende ich halt die Strg+a Strg + c methode -.-

  • Gui Inhalt Löschen

    • Scripter192
    • 26. März 2010 um 22:32

    jo ... hab bei den guictrl funktionen gesucht ...

  • icq feld auslesen

    • Scripter192
    • 26. März 2010 um 22:27

    ups :D
    icq 7

  • Gui Inhalt Löschen

    • Scripter192
    • 26. März 2010 um 22:19

    doch ... --> mit meiner methode ... mir fällt nur grad nicht ein wie man positionen von controls ermittelt

  • icq feld auslesen

    • Scripter192
    • 26. März 2010 um 22:16

    wie krieg ich das raus mit was icq läuft 8|

    nach dem [CLASS:Internet Explorer_Server; INSTANCE:3] denk ich mal an internet explorer

  • Gui Inhalt Löschen

    • Scripter192
    • 26. März 2010 um 22:07

    alle positionen der controls in einer for schleife abfragen und vergleichen

  • icq feld auslesen

    • Scripter192
    • 26. März 2010 um 22:03

    gehts nicht auch mit controlgettext ?

    bekomm mit dem window info tool keine id angezeigt ... nur [CLASS:Internet Explorer_Server; INSTANCE:3] und das geht mit controlgettext nicht

  • icq feld auslesen

    • Scripter192
    • 26. März 2010 um 21:55

    wie kann ich in icq das feld indem die bereits geschriebenen nachrichten sind auslesen ?

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™