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

Beiträge von Xenobiologist

  • StringRegExpReplace will nicht, wie ich will

    • Xenobiologist
    • 18. Juli 2008 um 13:55

    Hi,

    was fehlt dir denn jetzt noch genau?

    Mega

  • FileWrite geht nicht!!

    • Xenobiologist
    • 18. Juli 2008 um 13:15

    Funktioniert bei mir.

  • Computer-Info

    • Xenobiologist
    • 17. Juli 2008 um 23:04

    Hi,

    bestimmt eine zu alte Autoit Version.

    Mega

  • [_ExpertSendSleep] Damit ist es möglich Send+Sleep zu vereinen (in einer Zeile zu schreiben)

    • Xenobiologist
    • 17. Juli 2008 um 23:03

    Hättest auch einfach

    [autoit]

    Func _send($text = '', $time = 0)
    Send($text)
    Sleep($time)
    EndFunc ;==>_send

    [/autoit]

    schreiben können. :D

    Mega

  • Computer-Info

    • Xenobiologist
    • 17. Juli 2008 um 22:56

    Hi,

    sieht ganz nett aus. Ich sitze hinter einem Proxy do dass _GetIP nicht funktioniert. Da wird dann einfach -1 angezeigt. Wenn du viiiel Langeweile hast, dann könntest du auf solche Dinge noch eingehen :)

    Mega

  • Hilfe bei ein paar scripts

    • Xenobiologist
    • 17. Juli 2008 um 22:30
    [autoit]

    Run("xp-AntiSpy_setup-deutsch.exe")
    WinWait("xp-AntiSpy 3.96-8 Setup", "&Weiter >")
    ControlClick("xp-AntiSpy 3.96-8 Setup", "&Weiter >", "Button2")
    WinWait("xp-AntiSpy 3.96-8 Setup ", "< &Zurück")
    ControlTreeView("xp-AntiSpy 3.96-8 Setup", "", 1032, "Expand", "Sponsoring")
    ControlSend("xp-AntiSpy 3.96-8 Setup", "", "", "{DOWN}" & "{DOWN}" & "{SPACE}" & "{DOWN}" & "{SPACE}" & "{DOWN}" & "{SPACE}")
    ControlClick("xp-AntiSpy 3.96-8 Setup ", "&Weiter", "Button2")
    ControlClick("xp-AntiSpy 3.96-8 Setup ", "&Weiter", "Button2")
    WinWait("xp-AntiSpy 3.96-8 Setup ", "&Installieren")
    ControlClick("xp-AntiSpy 3.96-8 Setup ", "&Installieren", "Button2")
    WinWait("xp-AntiSpy 3.96-8 Setup ", "&Fertig stellen")
    ControlCommand("xp-AntiSpy 3.96-8 Setup ", "&Fertig stellen", "Button4", "UnCheck", "")
    ControlClick("xp-AntiSpy 3.96-8 Setup ", "&Fertig stellen", "Button2")

    [/autoit]
  • Regex - Problem Backreferenz

    • Xenobiologist
    • 17. Juli 2008 um 22:18

    Hi,

    sorry ich habe nicht verstanden. Erklär es mir einfach mal per ICQ :)

    Mega

  • Menu in ListView ???

    • Xenobiologist
    • 17. Juli 2008 um 22:15

    Hi,

    zeig mal das Skript. Du hast bestimmte Konstanten doppelt deklariert. Das geht natürlich nicht.

    Mega

  • Menu in ListView ???

    • Xenobiologist
    • 17. Juli 2008 um 15:34

    Hi,

    ich kann dein Problem auch nicht nachstellen.

    Mein Tool hat übringens folgende Includes ausgespuckt

    Spoiler anzeigen

    ;-----------------------------------------------------------------------------
    ; Includes
    #include <GuiEdit.au3>
    #include <GuiListView.au3>
    #include <GuiMenu.au3>
    #include <GuiTab.au3>
    #include <Misc.au3>
    #include <Process.au3>
    #include <WinAPI.au3>
    #include <GUIConstantsEx.au3>
    #include <ButtonConstants.au3>
    #include <Constants.au3>
    #include <ListViewConstants.au3>
    #include <SliderConstants.au3>
    #include <StructureConstants.au3>
    #include <WindowsConstants.au3>
    ;-----------------------------------------------------------------------------

    Mega

  • neuen PC kaufen?

    • Xenobiologist
    • 17. Juli 2008 um 14:37

    Hi,

    einen PC selbst zusammzustellen wenn man es kann, ist IMMER günstiger als ein Discount-PC. Frage ist, was du damit machen willst, wie lange er uptodate sein muss, welche Software-Pakete du zusätzlich benötigst.

    Gerade die Software gibt es bei den Dicount-PCs hintergeschmissen. :D

    Großer Vorteil der PCs sind aber abgestimmte Hardware und guter Support für Menschen die einen Rechner nur 100 % in Takt gebrauchen können.

    Mega

  • Dateinamen und Dateiendung voneinander trennen?

    • Xenobiologist
    • 16. Juli 2008 um 22:52
    Spoiler anzeigen
    [autoit]

    ;===============================================================================
    ; Function Name: _PathSplit1()
    ; Description: Split the path to 8 elements.
    ; Parameter(s): $sPath - Path to split.
    ; Requirement(s): AutoIt 3.2.2.0.
    ; Return Value(s): On seccess - Array $RetArray that contain 8 elements:
    ; $RetArray[0] = Full path ($sPath)
    ; $RetArray[1] = Drive letter
    ; $RetArray[2] = Path without FileName and extension
    ; $RetArray[3] = Full path without File Extension
    ; $RetArray[4] = Full path without drive letter
    ; $RetArray[5] = FileName and extension
    ; $RetArray[6] = Just Filename
    ; $RetArray[7] = Just Extension of a file
    ;
    ; On failure - If $sPath not include correct path (the path is not splitable),
    ; then $sPath returned.
    ; If $sPath not include needed delimiters, or it's emty,
    ; then @error set to 1, and returned -1.
    ;
    ; Note(s): The path can include backslash as well (exmp: C:/test/test.zip).
    ;
    ; Author(s): G.Sandler a.k.a CreatoR (MsCreatoR) - Thanks to amel27 for help with RegExp
    ;===============================================================================
    Global $text = ''
    $a = _PathSplit1(@ScriptFullPath)
    For $i = 0 To UBound($a) - 1
    $text &= $a[$i] & @CRLF
    Next
    MsgBox(0, "", $text)

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

    Func _PathSplit1($sPath)
    If $sPath = "" Or StringRegExp($sPath, ('.*\\.*\/')) Then Return SetError(1, 0, -1)
    Local $RetArray[8], $pDelim = ""
    If StringRegExp($sPath, '^(?i)([A-Z]:|\\)(\\[^\\]+)+$') Then $pDelim = "\"
    If StringRegExp($sPath, '(?i)(^.*:/)(/[^/]+)+$') Then $pDelim = "//"
    If $pDelim = "" Then $pDelim = "/"
    If Not StringInStr($sPath, $pDelim) Then Return $sPath
    If $pDelim = "\" Then $pDelim &= "\"
    $RetArray[0] = $sPath
    $RetArray[1] = StringRegExpReplace($sPath, $pDelim & '.*', $pDelim)
    $RetArray[2] = StringRegExpReplace($sPath, $pDelim & '[^' & $pDelim & ']*$', '')
    $RetArray[3] = StringRegExpReplace($sPath, '\.[^.]*$', '')
    $RetArray[4] = StringRegExpReplace($sPath, '(?i)([A-Z]:' & $pDelim & ')', '')
    $RetArray[5] = StringRegExpReplace($sPath, '^.*' & $pDelim, '')
    $RetArray[6] = StringRegExpReplace($RetArray[5], '\.[^.]*$', '')
    $RetArray[7] = StringRegExpReplace($sPath, '^.*\.', '')
    Return $RetArray
    EndFunc ;==>_PathSplit1

    [/autoit]
  • String nach einer bestimmten zeichenfolge durchsuchen

    • Xenobiologist
    • 15. Juli 2008 um 12:38

    Hi,

    wie schon oft erwähnt bitte einfach Ausgangsstring und gewünschtes Ergebnis posten, das hilft mehr als 3 Sätze.

    Mega

  • Hidden Modus

    • Xenobiologist
    • 13. Juli 2008 um 17:17

    Könnte sein. Guck mal bei den Control.... Befehlen.

    Mega

  • StringRegExp Hilfe

    • Xenobiologist
    • 13. Juli 2008 um 17:15

    Hi,

    steht doch in der Hilfe

    ? (after a repeating character) Find the smallest match instead of the largest.

    das ? bestimmt wie " gierig" das Paattern ist.

    Mega

  • Festplatten Partitions- Infos holen.

    • Xenobiologist
    • 13. Juli 2008 um 17:02

    Hi,

    wie fidest du es manuell raus? Dann das einfach automatisieren.

    Mega

  • Wie kann ich mich bei Rapidshare einloggen?

    • Xenobiologist
    • 13. Juli 2008 um 17:01
    Spoiler anzeigen
    [autoit]

    #include<IE.au3>
    $sUsername = "Username"
    $sPassword = "Password"
    $sUrl = "https://ssl.rapidshare.com/premiumzone.html"
    $oIE = _IECreate($sUrl, 0, 1, 0, 1)
    Sleep(2000)
    $oHWND = _IEPropertyGet($oIE, "hwnd")
    WinSetState($oHWND, "", @SW_MAXIMIZE)
    $oForm = _IEFormGetCollection($oIE, 0)
    $oUsername = _IEFormElementGetObjByName($oForm, 'login')
    $oPassword = _IEFormElementGetObjByName($oForm, "password")
    _IEFormElementSetValue($oUsername, $sUsername)
    _IEFormElementSetValue($oPassword, $sPassword)
    _IEFormSubmit($oForm)

    [/autoit]
  • StringRegExp Hilfe

    • Xenobiologist
    • 13. Juli 2008 um 16:57

    Teste mal den Unterschied bei diesem String <p>Hallo</p>blablubb</p>

    Mega

  • Ordner-Auswahl mit ComboBox

    • Xenobiologist
    • 12. Juli 2008 um 08:12

    Hi,

    warum nicht so?

    [autoit]

    #include <GuiComboBox.au3>

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

    AutoItSetOption("GUIOnEventMode", 1)

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

    Global $inpOutPath
    Global $btnOutPath

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

    buildGUI()
    GUISetState() ; Programmfenster sichtbar machen

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

    While 1
    Sleep(1000) ; Endlosschleife für den On-Event-Modus
    WEnd

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

    Func buildGUI()
    $GUI = GUICreate("", 633, 454, 261, 221)
    GUICtrlCreateLabel("Zielordner", 104, 208, 68, 17)
    $inpOutPath = GUICtrlCreateCombo("", 168, 200, 137, 21)
    Local $btnOutPath = GUICtrlCreateButton("...", 328, 200, 25, 25, 0)
    ;bei Click auf den Button rufe entsprechende Fkt. auf
    GUICtrlSetOnEvent($btnOutPath, "evtOutPath")
    EndFunc ;==>buildGUI

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

    Func evtOutPath()
    Local $index, $myFolder
    $myFolder = FileSelectFolder("Zielordner:", "", 1)
    If Not @error Then
    _GUICtrlComboBox_BeginUpdate($inpOutPath)
    $index = _GUICtrlComboBox_AddString($inpOutPath, $myFolder)
    _GUICtrlComboBox_EndUpdate($inpOutPath)
    _GUICtrlComboBox_SetCurSel($inpOutPath, $index)
    EndIf
    EndFunc ;==>evtOutPath

    [/autoit]

    Mega

  • HotKeySet('{F12}', '_Meine_Funktion') funktioniert nicht

    • Xenobiologist
    • 12. Juli 2008 um 07:44

    Hi,

    Spoiler anzeigen

    The following hotkeys cannot be set:

    Ctrl+Alt+Delete It is reserved by Windows
    F12 It is also reserved by Windows, according to its API.
    NumPad's Enter Key Instead, use {Enter} which captures both Enter keys on the keyboard.
    Win+B,D,E,F,L,M,R,U; and Win+Shift+M These are built-in Windows shortcuts. Note: Win+B and Win+L might only be reserved on Windows XP and above.
    Alt, Ctrl, Shift, Win These are the modifier keys themselves!
    Other Any global hotkeys a user has defined using third-party software, any combos of two or more "base keys" such as '{F1}{F2}', and any keys of the form '{LALT}' or '{ALTDOWN}'.

    Mega

  • Über cmd Ordner öffnen - Leerzeichenproblem

    • Xenobiologist
    • 12. Juli 2008 um 07:43

    Hi,

    äh ?

    [autoit]

    Global $path = 'c:\Dokumente und Einstellungen\xf01145\Eigene Dateien\'
    Run('explorer "' & $path)

    [/autoit]

    Mega

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™