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

Beiträge von funkey

  • MatthiasG.

    • funkey
    • 6. November 2008 um 19:35

    Das ist schon lange her, als ich 16 war :) Damals noch mit Windows 3.10 und DOS, was jetzt au3 war damals bat.^^ Meine größte Batch-Datei war damals über 150 kB groß, ja das waren noch Zeiten, jetzt mit Autoit wären es wahrscheinlich nur noch ein paar Zeilen mit FileIncludes und ein Arrays.

    Auf alle Fälle herzlich Willkommen hier im besten (Autoit-)Forum der Welt.

  • Hex werte von tasten

    • funkey
    • 6. November 2008 um 18:40

    http://www.torsten-horn.de/techdocs/ascii.htm

  • Leerzeilen in Enter umwandeln...

    • funkey
    • 6. November 2008 um 17:41

    So :?:

    [autoit]

    #Include <File.au3>
    Local $Datei
    _FileReadToArray("test.txt",$Datei)
    For $i = 1 To $Datei[0] - 1
    $Teile = StringSplit($Datei[$i]," ")
    For $j = 1 To $Teile[0] -1
    Send("{SPACE}")
    Next
    Send("{Enter}")
    Next

    [/autoit]

    EDIT: Da war noch ein Fehler drinn :D

  • bestimmte Dateiinhalte löschen ?

    • funkey
    • 6. November 2008 um 16:34

    :rolleyes: Die Funktion ist von Bugfix. Du kannst sie aus Post 2 herauskopieren oder besser ich häng sie einfach an

  • bestimmte Dateiinhalte löschen ?

    • funkey
    • 6. November 2008 um 16:20

    Dieses Board heißt 'Hilfe und Unterstützung' und nicht 'Macht mir alles was ich brauche', aber ich will mal nicht so sein und dir eine weitere Hilfe geben.

    Spoiler anzeigen
    [autoit]

    #include <file.au3>
    #Include <Array.au3>
    #include "_Array2DEmptyDel.au3"

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

    $folder = FileSelectFolder("Ordner auswählen","c:\admin_V8\config\project_config\users\")

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

    If $folder = "" Then Exit
    $filesinpath = _FileListToArray($folder, "*.ucf",1)
    If $filesinpath = 0 Then Exit
    _ArrayDisplay($filesinpath)

    Local $aNewFile[UBound($filesinpath)], $count = 0, $aFile

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

    For $j = 1 To $filesinpath[0]
    _FileReadToArray($folder&"\"&$filesinpath[$j],$aFile)
    For $i = 1 To $aFile[0]
    If StringInStr($aFile[$i],"MS_MDLAPPS") Or StringInStr($aFile[$i],"MS_MDL") Or StringInStr($aFile[$i],"MS_DGNAPPS") Then ContinueLoop
    $aNewFile[$count] = $aFile[$i]
    $count += 1
    Next
    _Array2DEmptyDel($aNewFile)
    _FileWriteFromArray($folder&"\"&$filesinpath[$j],$aNewFile)
    $count = 0
    Next

    [/autoit]

    Durchsucht zwar nicht alle Ordner aber du kannst jeden Ordner einfach auswählen. Jetzt bist du mal gefragt, selber was zu leisten!

  • Autoit.de Spoiler-Reader V2.4

    • funkey
    • 6. November 2008 um 09:36

    Und hat jetzt jemand mein Skript getestet. Mich würde interessieren ob es überall funktioniert, außerdem hätte ich gerne konstruktive Kritik! :D . Wenn es irgendwo nicht funktioniert, bitte den Link zur Seite posten, wo es nicht geht. Danke.

    P.S. Ich werde auch das Programm von Progandy testen, nur es ist halt nicht Autoit :P

  • Ping befehl funktioniert nicht

    • funkey
    • 5. November 2008 um 14:26

    Dein Code funktioniert, die IP-Adresse muss falsch sein. Probier mal mit DOS zu pingen, wird wahrscheinlich auch nicht gehen.

  • Autoit.de Spoiler-Reader V2.4

    • funkey
    • 5. November 2008 um 12:52

    Hallo
    Ich habe mir ein Tool gebastelt, dass aus Threads Spoiler mit Autoit-Quellcode ausliest und in Scite öffnet. Hoffentlich haben sich nicht allzuviele Bugs eingeschlichen :)


    Die neue Version kommt ohne IE aus ;)
    Version 2.1 liest jetzt alle Autoit-Quellcodes aus! Außerdem kann man es mit F9 pausieren ;)

    Mit Version 2.4 können optional angehängte Dateien downgeloaded werden. Strg+F9 zum Einschalten

    Viel Spaß damit!

  • StringRegEx Problem

    • funkey
    • 4. November 2008 um 20:25

    Danke vielmals Oscar, funktioniert absolut super. Der Ausdruck sieht so eigentlich ganz leicht aus, aber ich glaube, ich werde wohl nie kapieren wie das funktioniert.

  • StringRegEx Problem

    • funkey
    • 4. November 2008 um 19:45

    Hallo, jetzt muss ich nochmal was fragen.

    Die _StrigBetween-Variante geht einwandfrei, nur dauert sie bei langen Strings ziemlich lange. Jetzt wollte ich die StringRegExp-Variante benutzen und habe nun das Problem, dass der String der zu splitten ist so aussieht:

    [autoit]

    $str = '<"beliebiger Text">Das <anderer beliebiger Text!>ist <"bla=blabla">die <aslasf:jklfjaklf>Lösung.<bla>'

    [/autoit]


    Der String enthält also nicht nur a-z und 0-9, sondern auch Sonderzeichen, und mit 'w+' funktioniert das dann nicht mehr.

    Ich bräuchte also nochmal die Hilfe von einem RegExp(erten) :D
    Danke.

  • Uhrzeit

    • funkey
    • 4. November 2008 um 18:28
    [autoit]

    $Server_IP = '192.168.0.130'
    Run(@ComSpec & " /c " & 'net time \\'&$Server_IP&' /set /yes', "", @SW_HIDE)

    [/autoit]
  • Nero 9

    • funkey
    • 4. November 2008 um 16:39

    Wenn 'Button6' stimmt, dann sollte es so funktionieren:

    [autoit]

    ControlCommand("Nero 9 - Installation","","Button6","Check", "")

    [/autoit]

    Ich glaube aber, dass 'Button6' nicht stimmt. Schau noch mal mit dem Info Tool.

    ControlClick kann nicht vorbei klicken, nur MouseClick!

  • Cursor in input setzen

    • funkey
    • 4. November 2008 um 16:08
    [autoit]

    ControlFocus

    [/autoit]
  • Nero 9

    • funkey
    • 4. November 2008 um 16:02

    Der Screenshot vom Autoit Info Tool zeigt Informationen vom darunterliegenden MS Paint an, damit kann keiner was anfangen.

  • Exceldatenblatterstellung per GUI-Combo die Zweite

    • funkey
    • 4. November 2008 um 11:07

    Kennst du die Excel-UDF aus der aktuellen Beta schon? Es gibt dort interessante Funktionen die dir das Leben erleichtern könnten.

    Spoiler anzeigen


    _ExcelBookAttach Attach to the first existing instance of Microsoft Excel where the search string matches based on the selected mode.

    _ExcelBookClose Closes the active workbook and removes the specified Excel object.

    _ExcelBookNew Creates new workbook and returns its object identifier.

    _ExcelBookOpen Opens an existing workbook and returns its object identifier.

    _ExcelBookSave Saves the active workbook of the specified Excel object.

    _ExcelBookSaveAs Saves the active workbook of the specified Excel object with a new filename and/or type.

    _ExcelColumnDelete Delete a number of columns from the active worksheet.

    _ExcelColumnInsert Insert a number of columns into the active worksheet.

    _ExcelFontSetProperties Set the bold, italic, and underline font properties of a range in an Excel object.

    _ExcelHorizontalAlignSet Set the horizontal alignment of each cell in a range.

    _ExcelHyperlinkInsert Inserts a hyperlink into the active page.

    _ExcelNumberFormat Applies the specified formatting to the cells in the specified R1C1 Range.

    _ExcelReadArray Create an array from a row or column of the active worksheet.

    _ExcelReadCell Read information from the active worksheet of the specified Excel object.

    _ExcelReadSheetToArray Create a 2D array from the rows/columns of the active worksheet.

    _ExcelRowDelete Delete a number of rows from the active worksheet.

    _ExcelRowInsert Insert a number of rows into the active worksheet.

    _ExcelSheetActivate Activate the specified sheet by string name or by number.

    _ExcelSheetAddNew Add new sheet to workbook - optionally with a name.

    _ExcelSheetDelete Delete the specified sheet by string name or by number.

    _ExcelSheetList Return a list of all sheets in workbook, by name, as an array.

    _ExcelSheetMove Move the specified sheet before another specified sheet.

    _ExcelSheetNameGet Return the name of the active sheet.

    _ExcelSheetNameSet Set the name of the active sheet.

    _ExcelWriteArray Write an array to a row or column on the active worksheet of the specified Excel object.

    _ExcelWriteCell Write information to a cell on the active worksheet of the specified Excel object.

    _ExcelWriteFormula Write a formula to a cell on the active worksheet of the specified Excel object.

    _ExcelWriteSheetFromArray Writes a 2D array to the active worksheet

  • RunWait mit Variable

    • funkey
    • 4. November 2008 um 10:23

    Ungetestet:

    [autoit]

    RunWait(@COMSPEC & ' /c NET USE X: "\\'&$server&'\'&$share&"')

    [/autoit]

    Was hälst du eigentlich von DriveMapAdd?

  • Multiselect Liste

    • funkey
    • 4. November 2008 um 09:29
    [autoit]

    _GUICtrlListView_SetItemSelected($listview, -1, 1)

    [/autoit]
  • StringRegEx Problem

    • funkey
    • 3. November 2008 um 15:35

    Geht super, ich danke euch 2 für eure Hilfe. Das von BugFix muss ich mir mal genauer anschauen.
    Ich hoffe damit ein tolles Tool basteln zu können. :D

  • StringRegEx Problem

    • funkey
    • 3. November 2008 um 13:49

    Hallo, jetzt habe ich auch mal ein Problem:

    Ich habe einen String $str = '<beliebiger Text>Das <anderer beliebiger Text>ist <bla blabla>die <aslasfjklfjaklf>Lösung.<bla>'
    Herauskommen soll: $Ergebnis = 'Das ist die Lösung!

    Wie mache ich das? Ich hoffe, dass es mit StringRegExpReplace funktioniert, aber da kenn ich mich noch nicht aus.
    Danke für eure Hilfe.

  • GUI- Felder inaktiv setzen

    • funkey
    • 3. November 2008 um 09:18

    Wie schon gesagt wurde.

    [autoit]

    GUICtrlSetState($QuelleInputFiles,$GUI_DISABLE)

    [/autoit]

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™