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

Beiträge von Tweaky

  • arrays addieren & noch eine Frage

    • Tweaky
    • 28. Juni 2008 um 23:35

    Hi,
    du mußt den Asc Wert von jedem Buchstaben erfassen.
    Das ganze passiert in einer For Next Schleife und wird dann zusammengezählt

    Spoiler anzeigen
    [autoit]

    #include<Array.au3>
    Dim $summe_neu

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

    $string = InputBox ("","","") ; Ein Wort eingeben BSP.: "LOL"
    $lenght = StringLen ($string); LOL wird in Anzahl der Länge ausgegeben also 3
    $split = StringSplit($string, ""); LOL wird in einzelnen Buchstaben als Array gesplittet also L O L
    ;~ _ArrayDisplay($split)
    For $i = 1 to UBound($split) -1
    $summe_neu += Asc($split[$i])
    Next
    ConsoleWrite($summe_neu & @CRLF)

    [/autoit]
  • Cab-Datei entpacken

    • Tweaky
    • 26. Juni 2008 um 18:31

    Ok Schnuffel,

    so klappts

    [autoit]

    Run('expand C:\test.cab -F:legitcheckcontrol.dll C:\')

    [/autoit]

    Danke

  • Cab-Datei entpacken

    • Tweaky
    • 26. Juni 2008 um 17:57

    Hi,
    ich versuche eine cab-Datei zu entpacken.
    Mit der Suche im deutschen und englischen Forum habe ich zwar eine Funktion gefunden.
    Aber irgendwie funktioniert die nicht.
    Habt ihr ne Idee

    Spoiler anzeigen
    [autoit]

    #include<File.au3>
    InetGet("http://go.microsoft.com/fwlink/?LinkID=39204", "C:\test.cab", 1, 0)

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

    _CabExtract("C:\test.cab", "C:\");, -1, -1, '*.*')

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

    ;===================================================================================================

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

    ; Function Name: _MakeDff()
    ; Description: Create a dff file containing the directives to create a cabinet.
    ; Remarks: To create a *.cab, a dff file containing the directives must be create. Such file
    ; contains information about how the cabinet is to be built (i.e., cabinet file name, the
    ; directory where the dff is to be stored, the target media (floppy, cdrom, etc) and maximum
    ; file size, etc.) as well as a list of files to store in the cabinet.
    ; Usage: 1.-The $pFiles parameter can either be a 1Dim array with each element containing a full path
    ; to a file, or a path to a directory, or to a single file. If $pExtis an array, try to
    ; group files according to their type to help compression. If $pExt is a path to a directory,
    ; you can use the $pExtto specify file types, wildcards allowed.
    ; 2.-You may modify the settings that define the directives for the dff with the $pSettings
    ; parameter, substituting the default values.
    ; Parameter(s): $pDffFile - Compulsory: FileName for dff file
    ; $pFiles - Compulsory: Files array or path to directory
    ; $pCabDirName - Compulsory: Subdirectory of $pDffDest where
    ; the cabinet will be stored
    ; $pCabName - Compulsory: Name for the cabinet file
    ; $pDffDest - Optional: Path to $pDffFile
    ; -1 = (Default) Current directory
    ; String = path to output directory, no trailing slash. If the directory
    ; doesn't already exist, the script will attempt to create it.
    ; $pFileIndex - Optional: specifies index to start logging the $pFiles array
    ; 1 = (Default) start with element 1 of the $pFiles array
    ; $pSettings - Optional: Directives for the dff file, see the $lSettings array
    ; -1 = (Default) directives as set in the $lSettings array
    ; if modified, make sure your directives start at element 1 of the array
    ; $pExt - Optional: Specifies filetypes in $pFiles directory to be included in the dff,
    ; only relevant if $pFiles is a path pointing to a directory.
    ; WildCards allowed i.e, *.* or *.h?ml, etc.
    ; Requirement(s): AutoIt3 V3.2 or higher
    ; Return Value(s): On Success - returns 1 and createsthe file
    ; On Failure - Returns 0 and sets @ERROR
    ; @ERROR = 1 Invalid Parameters, see extended
    ; @Extended = 1 when not using default $pDffDest and dff destination dir is not a string
    ; = 2 when not using default $pDffDest and dff destination dir could not be created
    ; = 3 dff file is invalid or already exists
    ; = 4 $pCabDirName is not a valid directory name
    ; = 5 $pCabName already exists or is not a valid filename
    ; = 6 wrong type for $pFiles (neither array nor string)
    ; = 7 invalid $pSettings neither array nor default value=-1
    ; = 8 invalid $pFileIndex in $pFiles array
    ; @ERROR = 2 $pFiles array error
    ; @Extended = 1 unable to generate files in $pFiles dir
    ; @ERROR = 3 file in $pFiles array error
    ; @Extended = 1 file in $pFiles array does not exist
    ; NOTE: Subdirectories are omitted from cabinet when $pFiles is a path to a directory
    ; TODO: CHECK $pExt for errors
    ; Date: 11/9/2007
    ; Author: Ivan Perez
    ;===================================================================================================

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

    Func _MakeDff($pDffFile, $pFiles, $pCabDirName, $pCabName, $pDffDest = -1, $pFileIndex = 1, $pSettings = -1, $pExt = '*.*')
    Local $lFileAttr, $lDff, $lFileSearch, $lFileFound, $lDffHndl
    Dim $lFileList[1] = [0], $lFileArr[1] = [0], $lSettings[19]
    $lSettings[0] = 19
    $lSettings[1] = '.OPTION EXPLICIT'
    $lSettings[2] = '.Set InfDiskHeader="[disk list]"'
    $lSettings[3] = '.Set InfDiskHeader1=";<disk number>,<disk label>"'
    $lSettings[4] = '.Set InfDiskLineFormat="*disk#*,*label*"'
    $lSettings[5] = '.Set InfCabinetHeader="[cabinet list]"'
    $lSettings[6] = '.Set InfCabinetHeader1=";<cabinet number>,<disk number>,<cabinet file name>"'
    $lSettings[7] = '.Set InfCabinetLineFormat="*cab#*,*disk#*,*cabfile*"'
    $lSettings[8] = '.Set InfFileHeader=";*** File List ***"'
    $lSettings[9] = '.Set InfFileHeader1=";<disk number>,<cabinet number>,<filename>,<size>"'
    $lSettings[10] = '.Set InfFileHeader2=";Note: File is not in a cabinet if cab# is 0"'
    $lSettings[11] = '.Set InfFileHeader3=""'
    $lSettings[12] = '.Set InfFileLineFormat="*disk#*,*cab#*,*file*,*date*,*size*"'
    $lSettings[13] = '.Set GenerateInf=ON'
    $lSettings[14] = '.Set Compress=ON'
    $lSettings[15] = '.Set Cabinet=ON'
    $lSettings[16] = '.Set CompressionType=MSZIP'
    $lSettings[17] = '.Set DiskDirectoryTemplate=CDROM'
    $lSettings[18] = '.Set MaxDiskSize=CDROM'

    ; valid dff destination
    If $pDffDest <> -1 Then
    If Not IsString($pDffDest) Then
    SetError(1, 1, 0)
    Return
    EndIf
    If Not FileExists($pDffDest) Then DirCreate($pDffDest)
    If Not FileExists($pDffDest) Or Not StringInStr(FileGetAttrib($pDffDest), 'D') Then
    SetError(1, 2, 0)
    Return
    EndIf
    Else
    $pDffDest = @ScriptDir
    EndIf

    ; $pDffFile: valid filename and not exist
    If Not _IsValidFileName($pDffFile) Or FileExists($pDffDest & '\' & $pDffFile) Then
    SetError(1, 3, 0)
    Return
    EndIf

    ; check $pCabDirName
    If Not _IsValidFileName($pCabDirName) Then
    SetError(1, 4, 0)
    Return
    EndIf
    ; check $pCabName
    If Not _IsValidFileName($pCabName) Or FileExists($pDffDest & '\' & $pCabDirName & '\' & $pCabName) Then
    SetError(1, 5, 0)
    Return
    EndIf

    ; check type on parm $pFiles
    If Not (IsArray($pFiles) Or IsString($pFiles)) Then
    SetError(1, 6, 0)
    Return
    EndIf

    ; validate $pSettings
    If IsArray($pSettings) Then
    $lSettings = $pSettings
    ElseIf $pSettings <> -1 Then
    SetError(1, 7, 0)
    Return
    EndIf
    ReDim $lSettings[UBound($lSettings) + 1]
    $lSettings[UBound($lSettings) - 1] = '.Set DiskDirectory1=' & $pCabDirName
    ReDim $lSettings[UBound($lSettings) + 1]
    $lSettings[UBound($lSettings) - 1] = '.Set CabinetNameTemplate=' & $pCabName

    ; define $lFileList or set $pFiles array
    If IsString($pFiles) Then
    ; files exist
    If FileExists($pFiles) Then
    ; Just assign
    If Not StringInStr(FileGetAttrib($pFiles), 'D') Then
    ReDim $lFileList [UBound($lFileList) + 1]
    $lFileList[UBound($lFileList) - 1] = '"' & $pFiles & '"'
    ; build files in directory
    Else
    $lFileSearch = FileFindFirstFile($pFiles & '\' & $pExt)
    If $lFileSearch = -1 Then
    SetError(2, 1, 0)
    Return
    EndIf
    While 1
    $lFileFound = FileFindNextFile($lFileSearch)
    If @error Then ExitLoop
    If FileExists($pFiles & '\' & $lFileFound) And Not StringInStr(FileGetAttrib($lFileFound), 'D') Then
    ReDim $lFileArr[UBound($lFileArr) + 1]
    $lFileArr[UBound($lFileArr) - 1] = $pFiles & '\' & $lFileFound
    EndIf
    WEnd
    $lFileArr[0] = UBound($lFileArr) - 1
    FileClose($lFileSearch)
    ; reset for array procedure
    $pFiles = $lFileArr
    $pFileIndex = 1
    EndIf
    EndIf
    EndIf
    ; define $lFileList from $pFiles array
    If IsArray($pFiles) Then
    ; valid index on array
    If Not IsInt($pFileIndex) And $pFileIndex < 0 And $pFileIndex < UBound($pFiles) Then
    SetError(1, 8, 0)
    Return
    EndIf
    ; files exist
    For $i = $pFileIndex To UBound($pFiles) - 1 Step 1
    $lFileAttr = FileGetAttrib($pFiles[$i])
    If FileExists($pFiles[$i]) = 1 Then
    If Not StringInStr($lFileAttr, 'D') Then
    ReDim $lFileList [UBound($lFileList) + 1]
    $lFileList[UBound($lFileList) - 1] = '"' & $pFiles[$i] & '"';& @CRLF
    EndIf
    Else
    SetError(3, 1, 0)
    Return
    EndIf
    Next
    $lFileList[0] = UBound($lFileList) - 1
    EndIf

    ; build the text for the dff file
    $lDffHndl = FileOpen($pDffDest & '\' & $pDffFile, 2)
    For $i = 1 To UBound($lSettings) - 1 Step 1
    FileWriteLine($lDffHndl, $lSettings[$i])
    Next
    For $i = 1 To UBound($lFileList) - 1 Step 1
    FileWriteLine($lDffHndl, $lFileList[$i])
    Next
    FileClose($lDffHndl)
    Return 1
    EndFunc ;==>_MakeDff

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

    ;===================================================================================================

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

    ; Function Name: _MakeCab()
    ; Description: Create a cabinet file from a previously created (manually or with _MakeDff) dff file.
    ; Parameter(s): $pDffFile - Compulsory: FileName of dff file
    ; $pDffPath - Compulsory: Path to $pDffFile
    ; $pCabDest - Compulsory: Path to cabinet directory
    ; Return Value(s): On Success - returns 1 and creates the cabinet file
    ; On Failure - Returns 0 and sets @ERROR
    ; @ERROR = 1 Invalid Parameters, see extended
    ; @Extended = 1 invalid $pDffFile or doesn't exist
    ; = 2 invalid $pDffPath or doesn't exist
    ; = 3 Cabinet dir couldn't be created
    ; Requirement(s): AutoIt3 V3.2 or higher
    ; NOTE: Subdirectories are omitted from cabinet when $pFiles is a path to a directory
    ; Date: 9/9/2007
    ; Author: Ivan Perez
    ;===================================================================================================

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

    Func _MakeCab($pDffFile, $pDffPath, $pCabDest)
    Local $lCmd, $lWorkingDir, $lResult
    ; validate path to dff file
    If Not FileExists($pDffPath) Or Not StringInStr(FileGetAttrib($pDffPath), 'D') Then
    SetError(1, 1, 0)
    Return
    EndIf
    ; validate $pDffFile
    If Not (_IsValidFileName($pDffFile) Or FileExists($pDffPath & '\' & $pDffFile)) Then
    SetError(1, 2, 0)
    Return
    EndIf
    ; validate cabinet directory
    If Not FileExists($pCabDest) Then DirCreate($pCabDest)
    If Not FileExists($pCabDest) Or Not StringInStr(FileGetAttrib($pCabDest), 'D') Then
    SetError(1, 3, 0)
    Return
    EndIf
    ; create the command
    $lCmd = 'makecab /F ' & '"' & $pDffPath & '\' & $pDffFile & '"'
    ; run the command
    $lResult = RunWait(@ComSpec & " /c " & $lCmd, $pCabDest, @SW_HIDE)
    ; delete the files created by makecab
    If FileExists($pCabDest &'\' &'setup.inf') Then FileDelete($pCabDest &'\' &'setup.inf')
    If FileExists($pCabDest &'\' &'setup.rpt') Then FileDelete($pCabDest &'\' &'setup.rpt')
    If $lResult = 0 Then Return 1
    Return 0
    EndFunc ;==>_MakeCab

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

    ;===================================================================================================

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

    ; Function Name: _CabGetFiles()
    ; Description: Generate a list of files in cabinet.
    ; Parameter(s): $pCabFile - Compulsory: FileName of cabinet file
    ; $pDestDir - Compulsory: Path to $pCabFile
    ; -1 = (Default) Working directory
    ; String = path to output directory, no trailing slash. If the directory
    ; doesn't already exist, the script will attempt to create it.
    ; Requirement(s): AutoIt3 V3.2 or higher
    ; Return Value(s): On Success - returns 1 and creates the file
    ; On Failure - Returns 0 and sets @ERROR
    ; @ERROR = 1 Invalid Parameters, see extended
    ; @Extended = 1 when not using default $pDffDest and dff destination dir is not a string
    ; = 2 when not using default $pDffDest and dff destination dir could not be created
    ; = 3 dff file is invalid or already exists
    ; NOTE: Subdirectories are omitted from cabinet when $pFiles is a path to a directory
    ; TODO: CHECK result (run exit code?)
    ; Date: 9/9/2007
    ; Author: Ivan Perez
    ;===================================================================================================

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

    Func _CabGetFiles($pCabFile, $pCabPath = -1)
    Local $lCmd, $lWorkingDir, $lResult, $lTmp, $lReadFileHndl, $lFile
    Dim $lFileArr[1] = [0]
    If $pCabPath <> -1 Then
    If Not IsString($pCabPath) Then
    SetError(1, 1, 0)
    Return
    EndIf
    If Not FileExists($pCabPath) Then DirCreate($pCabPath)
    If Not FileExists($pCabPath) Or Not StringInStr(FileGetAttrib($pCabPath), 'D') Then
    SetError(1, 2, 0)
    Return
    EndIf
    Else
    $pCabPath = @ScriptDir
    EndIf
    ; $pCabFile: valid filename and not exist
    If Not (_IsValidFileName($pCabFile) Or FileExists($pCabPath & '\' & $pCabFile)) Then
    SetError(1, 3, 0)
    Return
    EndIf
    ; create tmp file
    $lTmp = _TempFile($pCabPath)

    If IsNumber($pCabPath) And $pCabPath = 0 Then
    $lCmd = 'expand -D ' & '"' & $pCabFile & '"'
    $lWorkingDir = ''
    Else
    $lCmd = 'expand -D ' & '"' & $pCabPath & '\' & $pCabFile & '"'
    $lWorkingDir = $pCabPath
    EndIf
    $lCmd &= '>"'&$lTmp & '"'
    ; run the command to dump the file list to tmp file
    $lResult = RunWait(@ComSpec & " /c " & $lCmd, $lWorkingDir, @SW_HIDE)
    If $lResult = 0 And FileExists($lTmp) Then
    ; read file contents
    $lReadFileHndl = FileOpen($lTmp, 0)
    While 1
    $lLine = FileReadLine($lReadFileHndl)
    If @error = -1 Then ExitLoop; EOF
    $lFile = StringReplace($lLine, $pCabFile & ': ', '')
    If @extended > 0 Then
    ReDim $lFileArr[UBound($lFileArr) + 1]
    $lFileArr[UBound($lFileArr) - 1] = $lFile
    EndIf
    WEnd
    FileClose($lReadFileHndl)
    $lFileArr[0] = UBound($lFileArr) - 1
    ;~ If FileExists($lWorkingDir &'\' &$lTmp) Then FileDelete($lWorkingDir &'\' &$lTmp)
    FileDelete($lTmp)
    If FileExists($lTmp) Then MsgBox(0,'Tmp not deleted',$lTmp)
    Else
    ; file list could not be dumped
    SetError(2, 1, 0)
    Return
    EndIf
    Return $lFileArr
    EndFunc ;==>_CabGetFiles

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

    ; extract files to a directory
    ;~ Func _CabExtract($pCabFile, $pDest, $pCabPath = -1, $pMode = -1, $pFileList = -1, $pExt = '*.*')
    Func _CabExtract($pCabFile, $pDest, $pCabPath = -1, $pMode = -1, $pExt = '*.*')
    Local $lCmd, $lCommand, $lWorkingDir, $lResult, $lTmp, $lReadFileHndl, $lFile
    Local $lFileList
    Dim $lFileArr[1] = [0], $lPaths[5]
    If $pCabPath <> -1 Then
    If Not IsString($pCabPath) Then
    SetError(1, 1, 0)
    Return
    EndIf
    If Not FileExists($pCabPath) Then DirCreate($pCabPath)
    If Not FileExists($pCabPath) Or Not StringInStr(FileGetAttrib($pCabPath), 'D') Then
    SetError(1, 2, 0)
    Return
    EndIf
    Else
    $pCabPath = @ScriptDir
    EndIf
    ; $pCabFile: valid filename and not exist
    If Not (_IsValidFileName($pCabFile) Or FileExists($pCabPath & '\' & $pCabFile)) Then
    SetError(1, 3, 0)
    Return
    EndIf

    ; $pCabFile: valid filename and not exist
    If Not FileExists($pDest) Then DirCreate($pDest)
    If Not FileExists($pDest) Or Not StringInStr(FileGetAttrib($pDest), 'D') Then
    SetError(1, 4, 0)
    Return
    EndIf

    If Not IsNumber($pMode) Or ($pMode < -1 And $pMode > 0) Then
    SetError(1, 5, 0)
    Return
    EndIf

    $lFileList = _CabGetFiles($pCabFile, $pCabPath)
    If @error Or Not IsArray($lFileList) Then
    SetError(1, 6, 0)
    Return
    EndIf
    If UBound($lFileList) - 1 = 1 Then; single file extraction
    $lPaths = _PathSplit($lFileList[1], $lPaths[0], $lPaths[1], $lPaths[2], $lPaths[3])
    $lCmd = 'expand ' & '"' & $pCabPath & '\' & $pCabFile & '" ' & '"' & $pDest & '\' & $lPaths[3] & $lPaths[4] & '"'
    ElseIf UBound($lFileList) - 1 > 1 Then; multiple file extraction
    Switch $pMode
    ; extract all
    Case - 1
    $lCmd = 'expand ' & '"' & $pCabPath & '\' & $pCabFile & '" -F:* ' & '"' & $pDest & '"'
    ; extract selected file types
    Case 0
    $lCmd = 'expand ' & '"' & $pCabPath & '\' & $pCabFile & '" -F:' & $pExt & ' ' & '"' & $pDest & '"'
    EndSwitch
    Else
    SetError(2, 1, 0)
    Return
    EndIf
    $lResult = RunWait(@ComSpec & " /c " & $lCmd, $lWorkingDir, @SW_HIDE)
    If $lResult <> 0 Then
    SetError(2, 1, 0)
    Return
    EndIf
    Return 1
    EndFunc ;==>_CabExtract

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

    ;;;;;;;;; support funcs
    ; won't accept filenames containing chr(0) or chr(127)
    Func _IsValidFileName($pFileName)
    If StringRegExp($pFileName, '(["*/<>?\\|]|[[:cntrl:]])', 0) Then Return 0; ascii 0-31
    Return 1
    EndFunc ;==>_IsValidFileName

    [/autoit]
  • Motivation geht so langsam flöten ...

    • Tweaky
    • 25. Juni 2008 um 23:24

    Hast Recht Schnuffel,
    übersetzen sollte wirklich auf nicht zu viele Leute verteilt werden (außer jemand will natürlich auch übersetzen, da sage ich nicht nein 8o )

    Aber wo bleiben die Reviewer.
    Wir brauchen euch.
    Und wenns nur zum Finden von Rechtschreibfehlern, Grammatik, ... ist. :thumbup:

  • Combo Gui Hilfe

    • Tweaky
    • 23. Juni 2008 um 20:57

    Hm,
    also bei diesem ComboBox gibt es so wie es aussieht nicht mehr if $msg = ... (oder doch?)

    Würde dann einen Extra Button machen und den Text mit _GUICtrlComboBox_GetEditText abfragen

  • OrganizeIncludes

    • Tweaky
    • 23. Juni 2008 um 18:44

    hi fabs,
    hatte das gleiche Problem

    ändere mal die Dinge die ich hier beschrieben habe
    OrganizeIncludes

    dann geht es :D

  • Trotz allem Ärger gibt es was zu feiern

    • Tweaky
    • 22. Juni 2008 um 16:46

    Naja, leider sagt diese Zahl nichts darüber aus, wie viele davon so genannte 0-Poster sind, die sich registriert haben und dann nie wieder gesehen wurden :whistling:

  • Motivation geht so langsam flöten ...

    • Tweaky
    • 22. Juni 2008 um 16:41

    danke anno,
    ist auch nicht Sinn der Sache,
    sinnvoller wäre es, wenn viele User sich die Arbeit teilen könnten :D

  • Öffnen mit... (mit meinem Programm öffnen)

    • Tweaky
    • 22. Juni 2008 um 14:15

    Du willst also das ganze fest mit deinem Programm verknüfen?
    Dann mußt du es über die Registry machen.
    Google mal da wirst du sicher fündig

  • Öffnen mit... (mit meinem Programm öffnen)

    • Tweaky
    • 22. Juni 2008 um 14:03

    hoffe ich habe dich richtig verstanden und es funktioniert auch :rolleyes:

    [autoit]

    Run('C:\programme\winamp\winamp.exe "C:\WINDOWS\Media\Windows XP-Startvorgang.wav"')

    [/autoit]
  • Combo Gui Hilfe

    • Tweaky
    • 22. Juni 2008 um 13:57

    Hi,
    hoffe ich bringe damit ein wenig Licht ins dunkle :D

    Spoiler anzeigen
    [autoit]

    #include<GuiComboBox.au3>
    #include<GUIConstantsEx.au3>

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

    $ini = "datei.ini"

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

    $GUI = GUICreate("ComboBox Add String", 400, 296)
    $Combo = _GUICtrlComboBox_Create ($GUI, "", 2, 2, 396, 296)

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

    $ini_sektions = IniReadSection($ini, "Rechner")

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

    For $i = 1 To UBound($ini_sektions) - 1
    _GUICtrlComboBox_AddString($Combo, $ini_sektions[$i][0] & "=" & $ini_sektions[$i][1])
    Next

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

    GUISetState()

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

    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
    GUIDelete()

    [/autoit]

    Die Ini-Datei heißt "Datei.ini" und liegt im gleichen Ordner wie das Script (deshalb auch keine Pfadangabe) und sieht so aus

    Zitat

    [Rechner]
    Rechner 1=Windows XP
    Rechner 2=Windows 2000
    Rechner 3=Windows XP

  • Motivation geht so langsam flöten ...

    • Tweaky
    • 22. Juni 2008 um 00:43

    Eistee
    da geb ich dir sogar recht :)
    aber ein bisschen Englisch muß jeder können, sonst kann er kein AutoIt :D
    Und während man programmiert und sich die Hilfe durchließt übersetzt man sie im Kopf, damit man sie versteht.
    Also warum dann nicht gleich richtig übersetzen, so dass man dies nur einmal machen muß, und sich die anderen die Arbeit sparen können.

    Und es ist ja nicht jede Funktion schwierig, wenn ich da an die Gui Funcs denke.
    Die Hälfte der Unterkategorieren (avi, ComboBox, ListView, ...) sind recht leicht und kurz und wiederholen sich.
    Es würde schon sehr viel weiterhelfen, wenn diese Funktionen reviewt werden. Da sind sie ja bereits schon übersetzt :D und es fällt einem leichter :thumbup:

    BugFix
    kann ich gut verstehen, dass du (und wohl auch die anderen Profis und Admins) die englische nehmt, da ihr mehr Spezialfunktionen nehmt die einfach nicht zu übersetzen sind.
    Und ich habe ebenfalls viele Funktionen entdeckt, auf die ich sonst wohl nie gestoßen bin ;)

  • Motivation geht so langsam flöten ...

    • Tweaky
    • 22. Juni 2008 um 00:23

    Hi,
    irgendwie kann ich es nicht verstehen, dass sich so wenige für eine deutsche Hilfe begeistern können.
    Oder wollen nur alle die deutsche Hilfe, dafür aber nix tun.

    Vielleicht eine Hand voll User helfen ab und zu mal zu übersetzen bzw. zu reviewen.
    Doch das ist zu wenig :thumbdown: .

    Glaube ich werde das übersetzen vorerst mal einstellen bis mehr Leute mithelfen :S

  • Combo Gui Hilfe

    • Tweaky
    • 21. Juni 2008 um 23:43

    BugFix , weißt du warum es ComboBox und ComboBoxEx gibt???
    Was ist da der Unterschied?

  • PC Fernwartung

    • Tweaky
    • 20. Juni 2008 um 22:42

    OK,
    hört sich gut an,
    eine Frage hätt ich noch

    Bsp:
    ich: Auflösung 1920x1200 24" TFT
    PC auf den ich zugreifen will 1024x768 17" CRT

    Wie läuft das mit der Auflösung.
    Ich denke, dass ich den anderen kleineren Monitor 1:1 sehe also habe ich auf meinem PC dann riesen Symbole.

    Wie ist es aber anders rum.
    Da die Graka und der Monitor des andere PCs ja diese Auflösung nicht darstellen kann.
    Was passiert dann?
    Nimmt dann die Graka oder der Monitor einen Schaden???

  • @OSBuild welche Antworten möglich??

    • Tweaky
    • 20. Juni 2008 um 17:54

    keiner ne Idee ?(

  • Was machen wir mit der StringRegExp Funktion?

    • Tweaky
    • 20. Juni 2008 um 17:39

    Hi,
    hab mal die StringRegExp Func überflogen.

    Da sind mehrere "komische Sätze" drin.

    wie z .b.

    Zitat

    (?U) Kehrt die "Gier" des Quantors ("quantifier") um.

    hä ?(

    Wäre genial, wenn einer der die Funktion kapiert mal drüberschrauen könnte.

    Danke :)

  • PC Fernwartung

    • Tweaky
    • 20. Juni 2008 um 17:34

    McPoldy
    was hat Teamviewer denn ne monatliche Beschränkung.
    Hab auf deren HP nix gefunden :D

  • PC Fernwartung

    • Tweaky
    • 19. Juni 2008 um 20:24

    Wie würdet ihr TeamViewer gegenüber logmein bewerten in Bezug auf:
    Einfachheit der Bedienung
    muß was eingestellt werden
    Komfort

  • PC Fernwartung

    • Tweaky
    • 18. Juni 2008 um 23:13

    Also logmein free sieht echt gut aus.

    Aber dazu brauche ich auf dem PC auf den ich zugreifen will diese Software, oder?

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™