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

Beiträge von Greek

  • Pixelsetcolor

    • Greek
    • 4. Mai 2009 um 15:32
    Zitat von ChaosKeks

    EDIT Greek: Nein bei Css funktioniert es nicht..

    Ohne die Sleeps Funktioniert das bei Css ganz gut.

  • Villigers - Highscoreliste und Endgültige Version

    • Greek
    • 4. Mai 2009 um 15:10

    HighScore geht aber noch nicht.
    Fatal Error!
    Es scheint ein schwerliegendes Problem mit der Verbindung zu unserem Server geben!

  • Starplayer (MP3-Player)

    • Greek
    • 3. Mai 2009 um 20:58

    Woher bekommt ihr eigentlich immer die tollen Icons? Malt ihr die selber? 8|

    Super Player :)

  • Pixelsetcolor

    • Greek
    • 2. Mai 2009 um 14:28

    Welches Counterstrike? Bei 1.6 klappt es perfekt, mit Source hab ichs net ausprobiert.

  • Pixelsetcolor

    • Greek
    • 2. Mai 2009 um 13:20

    Was meinste mit frei auf dem Bildschirm die Pixel ersetzen?

    Habs noch net oft aus probiert, aber das hier geht eigentlich fast überall drüber:

    [autoit]

    $handle = ControlGetHandle("paskjh^2g387zaisug2937856", "", 1)
    While 1
    SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2, 0xFF0000)
    For $i=1 To 5
    SetPixel($handle, @DesktopWidth/2+$i, @DesktopHeight/2, 0xFF0000)
    SetPixel($handle, @DesktopWidth/2-$i, @DesktopHeight/2, 0xFF0000)
    Sleep(0.1)
    SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2+$i, 0xFF0000)
    SetPixel($handle, @DesktopWidth/2, @DesktopHeight/2-$i, 0xFF0000)
    Next
    Sleep(10)
    WEnd

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

    Func SetPixel ($handle, $x, $y, $color)
    $dc= DllCall ("user32.dll", "int", "GetDC", "hwnd", $handle)
    $setpixel= DllCall ("gdi32.dll", "long", "SetPixel", "long", $dc[0], "long", $x, "long", $y, "long", $color)
    $realesedc= DllCall ("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0])
    EndFunc

    [/autoit]
  • Problem mit FileReadLine

    • Greek
    • 2. Mai 2009 um 00:58

    thx! :)

  • Pixelsetcolor

    • Greek
    • 2. Mai 2009 um 00:45

    Kla gibts die Funktion:

    [autoit]

    Func SetPixel ($handle, $x, $y, $color)
    $dc= DllCall ("user32.dll", "int", "GetDC", "hwnd", $handle)
    $setpixel= DllCall ("gdi32.dll", "long", "SetPixel", "long", $dc[0], "long", $x, "long", $y, "long", $color)
    $realesedc= DllCall ("user32.dll", "int", "ReleaseDC", "hwnd", 0, "int", $dc[0])
    EndFunc

    [/autoit]
  • Problem mit FileReadLine

    • Greek
    • 2. Mai 2009 um 00:42

    hihi,

    [autoit]

    #Include <File.au3>
    $lines=_FileCountLines(@ScriptDir&"\neuedb.txt")
    Global $read[$lines+1]
    For $i=1 To $lines Step +1
    $read[$i]=FileReadLine ( "neuedb.txt",$i )
    Next
    MsgBox(0,"",$read[1])
    MsgBox(0,"",$read[2]) ; leer
    MsgBox(0,"",$read[3])
    MsgBox(0,"",$read[4]) ; leer

    [/autoit]

    Warum ist der Array immer abwechselnd voll und leer?

    Edit:
    Teil der txt Datei:

    Spoiler anzeigen

    dfsdfd

    charlie

    13

    dffffffga

    CrIs1ShOt

    543

    dsfgdfsdf

    Magnet im Kopf

    546

    dsfdsgfgfd

    RunenKrieger

    541fdgfdfdg

    hand

    548

    fdgfdgfdgfdg

    Jordan

    539

    fdgfdgdfg

    oliver141

    538

    dfgfdgdf

    aNdö

    547

    fdgfdg

    MasterDune

    537

    Hä, wenn ich das hier Einfüg sind Lücken dazwischen???

  • _ExcelBookOpen Funktioniert nicht.

    • Greek
    • 1. Mai 2009 um 21:27

    Jop, Funktioniert, dank dir.

  • _ExcelBookOpen Funktioniert nicht.

    • Greek
    • 1. Mai 2009 um 21:01
    Zitat

    1 1195760617 1214719659 exo md5 passwort
    3 1195764496 1240004239 duke md5 passwort
    6 1195765175 1209898760 Hernie md5 passwort
    5 1195765008 1210430014 Elite md5 passwort

    Das ist in der Excel Table.
    ( UserId, Registerdate, LastLogin, Name, Passwort )

    Das will ich mit _ExcelReadArray, in einer Schleife alles Auslesen. Es sind 503 Benutzer drin.

  • hallo brauche hilfe über 2 tastaturen

    • Greek
    • 30. April 2009 um 23:43
    Zitat von Harun27

    was meinst du damit

    Das dein Deutsch miserable ist.

  • _ExcelBookOpen Funktioniert nicht.

    • Greek
    • 30. April 2009 um 23:38

    Neu Frage:

    [autoit]

    #include <Array.au3>
    #include <Excel.au3>
    Global $array[504][6]
    $open=_ExcelBookOpen(@ScriptDir&"\webs_user.xls",0)
    For $i=1 To 503 Step +1
    $array[$i]=_ExcelReadArray($open, $i, 1, 5, 0, 0)
    Next
    If Not IsArray($array) Then
    MsgBox(0,"",$array&" ErrorCode: "&@error)
    Else
    _ArrayDisplay($array[$i])
    EndIf

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

    _ExcelBookClose($open)

    [/autoit]

    Wie mach ich das gescheit in einen Array ;(

    Will haben $array[0][0]=bla1
    $array[0][1]=bla2
    $array[0][3]=bla3
    ...
    $array[0][5]=bla5
    $array[1][0]=blub1

    Steh gerade voll aufem Schlauch, wie mach ich das?

  • _ExcelBookOpen Funktioniert nicht.

    • Greek
    • 30. April 2009 um 22:51

    O.o, dachte @Scriptdir ist überall standart( ist ja auch eigentlich so)

    thx, für die Hilfe

  • _ExcelBookOpen Funktioniert nicht.

    • Greek
    • 30. April 2009 um 22:23
    [autoit]

    #include <Excel.au3>
    $open=_ExcelBookOpen("webs_user.xls")

    [/autoit]

    Erhalte dann den Fehler:

    D:\Programme\AutoIt3\Include\Excel.au3 (189) : ==> The requested action with this object has failed.:
    If $sPassword = "" And $sWritePassword = "" Then .WorkBooks.Open($sFilePath, Default, $fReadOnly)
    If $sPassword = "" And $sWritePassword = "" Then .WorkBooks.Open($sFilePath, Default, $fReadOnly)^ ERROR

  • Progressbar verdeckt MessageBoxen

    • Greek
    • 29. April 2009 um 16:40

    Oder es bei der Msgbox anschalten, oder?

    [autoit]

    MsgBox(262144,"","Hi")

    [/autoit]
  • Durchsichtige Ellipse mit GDI+

    • Greek
    • 28. April 2009 um 19:27
    Spoiler anzeigen
    [autoit]

    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #include <winapi.au3>

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

    HotKeySet("{ESC}", "_Exit")

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

    Global $Anzahl = @DesktopWidth / 2
    Global Const $WS_EX_COMPOSITED = 0x2000000
    Global $Ellipse[$Anzahl+1]

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

    $my_gui = GUICreate("MyGUI", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP,BitOR( $WS_EX_TOPMOST,$WS_EX_LAYERED, $WS_EX_COMPOSITED))
    GUISetBkColor(0x000000)
    GUISetState(@SW_SHOW)

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

    For $i = $Anzahl - 1 To 1 Step -1
    $Ellipse[$i] = _DrawTransparentEllipse ($my_gui, @DesktopWidth/16, @DesktopHeight/8 + $i / 2, @DesktopWidth/1.15, @DesktopHeight/1.30 - $i, 255)
    GUIDelete ($Ellipse[$i+1])
    Next

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

    While 1
    Sleep (100)
    WEnd

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

    Func _WinAPI_SetLayeredWindowAttributes($hwnd, $i_transcolor, $Transparency = 255, $dwFlages = 0x03, $isColorRef = False)
    ; progandy
    If $dwFlages = Default Or $dwFlages = "" Or $dwFlages < 0 Then $dwFlages = 0x03
    If Not $isColorRef Then
    $i_transcolor = Hex(String($i_transcolor), 6)
    $i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2))
    EndIf
    Local $Ret = DllCall("user32.dll", "int", "SetLayeredWindowAttributes", "hwnd", $hwnd, "long", $i_transcolor, "byte", $Transparency, "long", $dwFlages)
    Select
    Case @error
    Return SetError(@error, 0, 0)
    Case $Ret[0] = 0
    Return SetError(4, _WinAPI_GetLastError(), 0)
    Case Else
    Return 1
    EndSelect
    EndFunc ;==>_WinAPI_SetLayeredWindowAttributes

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

    Func _Exit()
    Exit
    EndFunc

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

    Func _DrawTransparentEllipse($hwnd, $x, $y, $w, $h, $Transparency = 255)
    $Child=GUICreate ("", $w, $h, $x, $y, $WS_CHILD, -1, $hwnd )
    _WinAPI_SetLayeredWindowAttributes($hwnd, 0xABCDEF, $Transparency)
    GUISetBkColor (0xABCDEF, $Child )
    _GuiRoundCorners ($Child, 0, 0, $w, $h)
    GUISetState()
    Return $Child
    EndFunc

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

    Func _GuiRoundCorners($hWnd, $x1, $y1, $x3, $y3)
    Local $pos, $ret, $ret2
    $pos = WinGetPos($hWnd)
    $ret = DllCall('gdi32.dll', 'long', 'CreateRoundRectRgn', 'long', $x1, 'long', $y1, 'long', $pos[2], 'long', $pos[3], 'long', $x3, 'long', $y3)
    If $ret[0] Then
    $ret2 = DllCall('user32.dll', 'long', 'SetWindowRgn', 'hwnd', $hWnd, 'long', $ret[0], 'int', 1)
    If $ret2[0] Then
    Return 1
    Else
    Return 0
    EndIf
    Else
    Return 0
    EndIf
    EndFunc

    [/autoit]

    So klappts bei mir.

  • Viele Linux fragen

    • Greek
    • 28. April 2009 um 19:22

    oh, danke :)

    Edit: Oh das war falsch vom Blatt abgeschrieben, da steht 711 nicht 771, wups :D

  • Viele Linux fragen

    • Greek
    • 28. April 2009 um 18:00

    SO zum nächsten Blatt:

    Welche numerische Notation entspricht der angegebenen symbolischen Notation
    rwx r_x __x

    751

    Welche numerische Notation entspricht der angegebenen symbolischen Notation 711

    rwx __x __x

    Auf dem Bildschirm wurde nachfolgende Informationen Angegeben:

    J: glaube ls –all
    K: weis ich nicht genau
    L: weis ich auch nicht

    Und die 3 Blick ich garnet mehr xD

  • Viele Linux fragen

    • Greek
    • 28. April 2009 um 17:51

    jup, manches ist echt übertrieben einfach, aber mit Kontrolstruktur wirds auch schwerer, das hatte ich eigentlich noch garnet, hatte er nur mal kurz an die Tafel gemalt und uns nicht abschreiben lassen -.-

    Also SNC00134, hab ich ja jetzt abgeschrieben wie du siehst =)

    Hoffe es stimmt so weit, mach mich gleich mal an nächste ran.

  • Viele Linux fragen

    • Greek
    • 28. April 2009 um 17:46

    Also ich fang ma mit Bild SNC00134 an:

    Welche Aussage zum Leserecht ist richtig?
    Lösung: Der Inhalt der Datei darf gelesen und kopiert werden.

    Welches 3 Benutzerklassen gibt es?
    Lösung: user,group,all

    Mit welchem Befehl wird folgende Zeile dargestellt
    drwx...
    Lösung: ls -l

    Welche Rechte hat dieser Benutzer
    drwx...
    Lösung: read, write, execute

    Wie heißt diese Gruppe:
    Lösung: users

    Mit welchem Befehl können die Rechte verändert werden?
    Lösung: chmod

    So das hab ich jetzt aus dem Kopf gemacht, das erst Blatt war ja auch einfach, jetzt mal den Rest anschauen ;)

    Edit: Korrigiert mich bitte wenn ich einen Fehler gemacht habe.

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™