EDIT Greek: Nein bei Css funktioniert es nicht..
Ohne die Sleeps Funktioniert das bei Css ganz gut.
EDIT Greek: Nein bei Css funktioniert es nicht..
Ohne die Sleeps Funktioniert das bei Css ganz gut.
HighScore geht aber noch nicht.
Fatal Error!
Es scheint ein schwerliegendes Problem mit der Verbindung zu unserem Server geben!
Woher bekommt ihr eigentlich immer die tollen Icons? Malt ihr die selber? ![]()
Super Player ![]()
Welches Counterstrike? Bei 1.6 klappt es perfekt, mit Source hab ichs net ausprobiert.
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
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
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
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
Warum ist der Array immer abwechselnd voll und leer?
Edit:
Teil der txt Datei:
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???
Jop, Funktioniert, dank dir.
Zitat1 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.
was meinst du damit
Das dein Deutsch miserable ist.
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
_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?
O.o, dachte @Scriptdir ist überall standart( ist ja auch eigentlich so)
thx, für die Hilfe
#include <Excel.au3>
$open=_ExcelBookOpen("webs_user.xls")
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
Oder es bei der Msgbox anschalten, oder?
[autoit]MsgBox(262144,"","Hi")
[/autoit]#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <winapi.au3>
HotKeySet("{ESC}", "_Exit")
[/autoit] [autoit][/autoit] [autoit]Global $Anzahl = @DesktopWidth / 2
Global Const $WS_EX_COMPOSITED = 0x2000000
Global $Ellipse[$Anzahl+1]
$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)
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
While 1
Sleep (100)
WEnd
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
Func _Exit()
Exit
EndFunc
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
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
So klappts bei mir.
oh, danke ![]()
Edit: Oh das war falsch vom Blatt abgeschrieben, da steht 711 nicht 771, wups ![]()
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
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.
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.