Hi,
schön, dass du es erweitert hast.
Wäre denke ich sinnvoller das ganze ins deutsche zu übersetzen, oder?
Hat es eigentlich einen Grund warum die Farbe so: $CornflowerBlue = 0x6495ED kopiert wird und nicht so: 0x6495ED ?
Beiträge von Tweaky
-
-
Hat jemand Lust die restlichen Dateien zu übersetzen?
Sind keine Funktionen, sondern allgemeiner Text.
Wäre schön von euch

-
Hi,
vom Ansatz OK,
würds jedoch eher mit Stringreplace machen.Spoiler anzeigen
[autoit]#include <File.au3>
[/autoit] [autoit][/autoit] [autoit]
#include <Array.au3>Global $Files, $Path = @ScriptDir = "\Partylieder\Ich Schie+ƒ Mich Ab Vol. II - Extended Version (F)\"
[/autoit] [autoit][/autoit] [autoit]$Files = _FileListToArray($Path)
[/autoit] [autoit][/autoit] [autoit]
If Not (IsArray($Files) = 1) Then
MsgBox(16, "Fehler", "Konnte Dateien nicht einlesen")
Exit
EndIf_Arraydisplay($Files)
[/autoit] [autoit][/autoit] [autoit]For $i = 1 To $Files[0]
[/autoit]
$neuer_name = StringReplace($Files[$i], "+ƒ", "ß")
$neuer_name = StringReplace($neuer_name, "o¦ê", "oe")
$neuer_name = StringReplace($neuer_name, "u¦ê", "ue")
$neuer_name = StringReplace($neuer_name, "a¦ê", "ae")
FileMove($Path & $Files[$i], $Path & $neuer_name, 1)
Next -
Hi,
und herzlich willkommen.Wenn du die au3-Datei auf einem anderen Rechner ausführen willst, muß dort AutoIt installiert sein und auch die misc.au3 vorhanden sein.
Um dies zu umgehen, kannst du daraus eine exe-Datei machen.Rechte Maustaste auf dein Script und "Compile Script".
Dies läuft dann ohne AutoiT auf jedem Rechner
-
Hi,
dies mußt du in die Datei"au3.user.calltips" im Ordner "C:\Programme\AutoIt3\SciTE\api" einfügen
z. B. so:
Zitat;arraymore.au3
_Array2DPush(Array, Einzelwert/Array [, Richtung v. rechts=0/v. links=1]); #include ArrayMore.au3 -
Danke, habs in eine UDF getan.
Nun klappts -
Hi,
[autoit]
damit dürfte es gehen;*****************************************************
[/autoit][autoit][/autoit][autoit]
; _CheckInet()
; ermittelt, ob eine Internetverbindung besteht
; ja (True)
; nein (False)
; erforderlich
; ---
;*****************************************************Func _CheckInet()
[/autoit]
Local $aDll,$sRet
$aDll = DllCall("WinInet.dll","int","InternetGetConnectedState","int*",0,"int",0)
If @error Then Return SetError(1,0,-1)
If nOt IsArray($aDll) Then SetError(2,0,-1)
If $aDll[0] = 0 Then Return False
Return True
EndFunc -
Der_Doc
dann hoffen wir mal, dass so schnell keine neue Version mehr rauskommt und wir das aktuelle komplett fertig bekommen
-
ausloggen und wieder einloggen dürfte das ganze beheben.
Vorher am besten das übersetzte in die Zwischenablage kopieren
Sicher ist sicher

-
4. ClearProg - Löschen in Internetmüll, Cookies, Temp-Ordner, benutzerdefinierte Ordner, ... Website
5. ExifViewer - Infos über Digitalfotos Website
6. FreeCommander - Explorer Ersatz u. a. 2 Fensterhälfen Website
7. IE7pro - IE7 Erweiterung - Popups blocken, Passwortspeicherer, Flashblocker, ... Website -
probier mal dies:
in die While Wend Schleife schreiben
Spoiler anzeigen
[autoit];GUI manuell verschieben
[/autoit]
If _IsPressed("01", $dll) Then
$mousepos = MouseGetPos()
$winpos = WinGetPos($GUI_titel, "")
If $mousepos[0] >= $winpos[0] And $mousepos[0] <= ($winpos[0] +$winpos[2]) And _ ;"x"
$mousepos[1] >= $winpos[1] And $mousepos[1] <= ($winpos[1] +$winpos[3]) Then ;"y"
Do
$mousepos2 = MouseGetPos()
WinMove($GUI_titel, "", $winpos[0]-$mousepos[0]+$mousepos2[0], $winpos[1]-$mousepos[1]+$mousepos2[1])
Sleep(15)
Until Not _IsPressed("01", $dll)
EndIf
EndIf
Sleep(15) -
Hi,
[autoit]
habe früher die Scrollfunktionen vom engl. Board verwendet.
Da mußte ich am Anfang des Skripts nurGUIRegisterMsg($WM_VSCROLL, "MY_WM_VSCROLL")
[/autoit]
GUIRegisterMsg($WM_HSCROLL, "MY_WM_HSCROLL")
GUIRegisterMsg($WM_SIZE, "MY_WM_SIZE")einfügen.
Nun sind diese Funktion ja in der AutoIt Version enthalten.
Nun muß ich aber immer die komplette Funktion ins Skript schreiben.
Wie kann ich dies umgehen?Spoiler anzeigen
[autoit]
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
GUIRegisterMsg($WM_VSCROLL, "WM_VSCROLL")
GUIRegisterMsg($WM_HSCROLL, "WM_HSCROLL")
GUIRegisterMsg($WM_SIZE, "WM_SIZE");****************************************
[/autoit] [autoit][/autoit] [autoit]
; für Scrollfunktion *
;****************************************Func WM_SIZE($hWnd, $Msg, $wParam, $lParam)
[/autoit] [autoit][/autoit] [autoit]
#forceref $Msg, $wParam
Local $index = -1, $yChar, $xChar, $xClientMax, $xClient, $yClient, $ivMax
For $x = 0 To UBound($aSB_WindowInfo) - 1
If $aSB_WindowInfo[$x][0] = $hWnd Then
$index = $x
$xClientMax = $aSB_WindowInfo[$index][1]
$xChar = $aSB_WindowInfo[$index][2]
$yChar = $aSB_WindowInfo[$index][3]
$ivMax = $aSB_WindowInfo[$index][7]
ExitLoop
EndIf
Next
If $index = -1 Then Return 0Local $tSCROLLINFO = DllStructCreate($tagSCROLLINFO)
[/autoit] [autoit][/autoit] [autoit]
; Retrieve the dimensions of the client area.
$xClient = BitAND($lParam, 0x0000FFFF)
$yClient = BitShift($lParam, 16)
$aSB_WindowInfo[$index][4] = $xClient
$aSB_WindowInfo[$index][5] = $yClient
; Set the vertical scrolling range and page size
DllStructSetData($tSCROLLINFO, "fMask", BitOR($SIF_RANGE, $SIF_PAGE))
DllStructSetData($tSCROLLINFO, "nMin", 0)
DllStructSetData($tSCROLLINFO, "nMax", $ivMax)
DllStructSetData($tSCROLLINFO, "nPage", $yClient / $yChar)
_GUIScrollBars_SetScrollInfo($hWnd, $SB_VERT, $tSCROLLINFO)
; Set the horizontal scrolling range and page size
DllStructSetData($tSCROLLINFO, "fMask", BitOR($SIF_RANGE, $SIF_PAGE))
DllStructSetData($tSCROLLINFO, "nMin", 0)
DllStructSetData($tSCROLLINFO, "nMax", 2 + $xClientMax / $xChar)
DllStructSetData($tSCROLLINFO, "nPage", $xClient / $xChar)
_GUIScrollBars_SetScrollInfo($hWnd, $SB_HORZ, $tSCROLLINFO)Return $GUI_RUNDEFMSG
[/autoit] [autoit][/autoit] [autoit]
EndFunc ;==>WM_SIZEFunc WM_HSCROLL($hWnd, $Msg, $wParam, $lParam)
[/autoit] [autoit][/autoit] [autoit]
#forceref $Msg, $lParam
Local $nScrollCode = BitAND($wParam, 0x0000FFFF)Local $index = -1, $xChar, $xPos
[/autoit] [autoit][/autoit] [autoit]
Local $Min, $Max, $Page, $Pos, $TrackPosFor $x = 0 To UBound($aSB_WindowInfo) - 1
[/autoit] [autoit][/autoit] [autoit]
If $aSB_WindowInfo[$x][0] = $hWnd Then
$index = $x
$xChar = $aSB_WindowInfo[$index][2]
ExitLoop
EndIf
Next
If $index = -1 Then Return 0
;~ ; Get all the horizontal scroll bar information
Local $tSCROLLINFO = _GUIScrollBars_GetScrollInfoEx($hWnd, $SB_HORZ)
$Min = DllStructGetData($tSCROLLINFO, "nMin")
$Max = DllStructGetData($tSCROLLINFO, "nMax")
$Page = DllStructGetData($tSCROLLINFO, "nPage")
; Save the position for comparison later on
$xPos = DllStructGetData($tSCROLLINFO, "nPos")
$Pos = $xPos
$TrackPos = DllStructGetData($tSCROLLINFO, "nTrackPos")
#forceref $Min, $Max
Switch $nScrollCodeCase $SB_LINELEFT ; user clicked left arrow
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos - 1)Case $SB_LINERIGHT ; user clicked right arrow
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos + 1)Case $SB_PAGELEFT ; user clicked the scroll bar shaft left of the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos - $Page)Case $SB_PAGERIGHT ; user clicked the scroll bar shaft right of the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos + $Page)Case $SB_THUMBTRACK ; user dragged the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $TrackPos)
EndSwitch;~ // Set the position and then retrieve it. Due to adjustments
[/autoit] [autoit][/autoit] [autoit]
;~ // by Windows it may not be the same as the value set.DllStructSetData($tSCROLLINFO, "fMask", $SIF_POS)
[/autoit] [autoit][/autoit] [autoit]
_GUIScrollBars_SetScrollInfo($hWnd, $SB_HORZ, $tSCROLLINFO)
_GUIScrollBars_GetScrollInfo($hWnd, $SB_HORZ, $tSCROLLINFO)
;// If the position has changed, scroll the window and update it
$Pos = DllStructGetData($tSCROLLINFO, "nPos")
If ($Pos <> $xPos) Then _GUIScrollBars_ScrollWindow($hWnd, $xChar * ($xPos - $Pos), 0)
Return $GUI_RUNDEFMSG
EndFunc ;==>WM_HSCROLLFunc WM_VSCROLL($hWnd, $Msg, $wParam, $lParam)
[/autoit] [autoit][/autoit] [autoit]
#forceref $Msg, $wParam, $lParam
Local $nScrollCode = BitAND($wParam, 0x0000FFFF)
Local $index = -1, $yChar, $yPos
Local $Min, $Max, $Page, $Pos, $TrackPosFor $x = 0 To UBound($aSB_WindowInfo) - 1
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
If $aSB_WindowInfo[$x][0] = $hWnd Then
$index = $x
$yChar = $aSB_WindowInfo[$index][3]
ExitLoop
EndIf
Next
If $index = -1 Then Return 0; Get all the vertial scroll bar information
[/autoit] [autoit][/autoit] [autoit]
Local $tSCROLLINFO = _GUIScrollBars_GetScrollInfoEx($hWnd, $SB_VERT)
$Min = DllStructGetData($tSCROLLINFO, "nMin")
$Max = DllStructGetData($tSCROLLINFO, "nMax")
$Page = DllStructGetData($tSCROLLINFO, "nPage")
; Save the position for comparison later on
$yPos = DllStructGetData($tSCROLLINFO, "nPos")
$Pos = $yPos
$TrackPos = DllStructGetData($tSCROLLINFO, "nTrackPos")Switch $nScrollCode
[/autoit] [autoit][/autoit] [autoit]
Case $SB_TOP ; user clicked the HOME keyboard key
DllStructSetData($tSCROLLINFO, "nPos", $Min)Case $SB_BOTTOM ; user clicked the END keyboard key
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Max)Case $SB_LINEUP ; user clicked the top arrow
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos - 1)Case $SB_LINEDOWN ; user clicked the bottom arrow
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos + 1)Case $SB_PAGEUP ; user clicked the scroll bar shaft above the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos - $Page)Case $SB_PAGEDOWN ; user clicked the scroll bar shaft below the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $Pos + $Page)Case $SB_THUMBTRACK ; user dragged the scroll box
[/autoit] [autoit][/autoit] [autoit]
DllStructSetData($tSCROLLINFO, "nPos", $TrackPos)
EndSwitch
;~ // Set the position and then retrieve it. Due to adjustments
;~ // by Windows it may not be the same as the value set.DllStructSetData($tSCROLLINFO, "fMask", $SIF_POS)
[/autoit] [autoit][/autoit] [autoit]
_GUIScrollBars_SetScrollInfo($hWnd, $SB_VERT, $tSCROLLINFO)
_GUIScrollBars_GetScrollInfo($hWnd, $SB_VERT, $tSCROLLINFO)
;// If the position has changed, scroll the window and update it
$Pos = DllStructGetData($tSCROLLINFO, "nPos")If ($Pos <> $yPos) Then
[/autoit] [autoit][/autoit] [autoit]
_GUIScrollBars_ScrollWindow($hWnd, 0, $yChar * ($yPos - $Pos))
$yPos = $Pos
EndIfReturn $GUI_RUNDEFMSG
[/autoit]
EndFunc ;==>WM_VSCROLL -
integrierst du diese Funktion auch noch in die arraymore.au3?
-
So nurnoch 800 Dateien zu übersetzen

Aber es kommt mir vor, dass es einfach nicht weniger wird

-
kannst probieren den Sleep Wert zu erhöhen
-
Zeig mal dein komplettes Script.
Bei mir klappt es so
Spoiler anzeigen
[autoit]#include <GUIConstantsEx.au3>
[/autoit] [autoit][/autoit] [autoit]
#include <WindowsConstants.au3>$zahl = 0
[/autoit] [autoit][/autoit] [autoit]GUICreate("My GUI picture", 350, 300, -1, -1, $WS_SIZEBOX + $WS_SYSMENU) ; will create a dialog box that when displayed is centered
[/autoit] [autoit][/autoit] [autoit]GUISetBkColor(0xE0FFFF)
[/autoit] [autoit][/autoit] [autoit]
$load = GUICtrlCreatePic(@ScriptDir & "\load7.jpg", 40, 260, $zahl, 15)GUISetState()
[/autoit] [autoit][/autoit] [autoit]$s = 60
[/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]
For $i = 2 to 98 Step 2
$zahl += 2
GUICtrlSetPos($load, 40, 260, $zahl, 15)
Sleep($s)
NextWhile 1
[/autoit]
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd -
Oh sorry
hätt ich wohl besser durchlesen sollen.aber das verändern der Größe oder Position geht mir GUICtrlSetPos

-
Hi,
um das Bild nachträglich zu ändern ist GUICtrlSetImage zu verwenden (steht aber auch in der Hilfe
) -
Da muß ich dir recht geben GtaSpider,
Tweaky sich selbst fragt "warum übersetzt ich denn den Scheiß überhaupt
" 
warum
klar kann man das meiste erraten oder zusammenreimen.
Aber ich ärgere mich immer wenn ich die Funktion nicht richtig verstehe und dann übersetzt ich es im Kopf und dann das gleiche nächstesmal wieder.
Also wäre es am besten wenn man es einmal richtig übersetzt und jeder daran teilhaben kann.Also nach jetzigem Stand dürften wir so ca. 60% der Funktionen in Deutsch haben.
Wobei wir daran schon ein halbes Jahr ArbeitenAusgang offen :wacko:
Und gerade weil AutoIt immer umfangreicher wird, sehe ich ein Problem wenn alles in Englisch ist.
Leichter wird es dadurch auch nicht.
Ich selbst kann z. B. mit den Func
_EventLog...
_Security...
nicht wirklich was anfangen.
Da ich sie allerdings reviewt habe (vorwiegend auf Rechtschreibfehler), sind sie wenigstens etwas klarer geworden
-
Wo bleiben die angeforderten Reviewer
