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

Beiträge von monkey

  • Windows7-Desktop-Kontextmenü

    • monkey
    • 9. Januar 2015 um 10:40

    Alternativ könntest du auch dem Entwickler eine Mail schicken und dort fragen.
    Auf der Entwicklerseite steht auch warum es komplizierter ist das ganze über ein Konsolenprogramm
    zu realisieren als über eine Shellerweiterung.

    http://www.midiox.com/html/dtcoding.htm

  • WLAN Hotspot Programm

    • monkey
    • 3. August 2014 um 15:21

    Deine ToLetter Funktion könnte man noch etwas verkürzen.

    [autoit]

    Func _ToLetter($num)
    $sChars = "abcdef.....z01234579" ;Hier die ganzen zeichen
    $aChars = stringsplit($sChars, "", 2) ;hier ein Array draus basteln
    if $num < ubound ($aChars) then ;wenn außerhalb des arrays -> einfach "" zurückgeben
    return ""
    else
    return $aChars[$num] ;buchstaben an der position im array zurück geben
    EndFunc

    [/autoit]

    Grade gesehen mann könnte auch StringMid nehmen. Dann kommt man auf genau eine Zeile.

    [autoit]

    Func _TolEtter($num)
    return StringMid("abcdef......z012345789", $num, 1)
    Endfunc

    [/autoit]
  • [Mini-WB] Verschlüsselungs-Algo umkehren

    • monkey
    • 8. September 2013 um 02:40

    Da passt was nicht. Aus dem 13 char string wird ein 10 char string?
    Ich denke da gehen Daten verloren

  • Nachricht senden bei nicht fokussiertem Fenster (ICQ)

    • monkey
    • 14. März 2013 um 15:20

    ControlClick lässt sich auch ohne Infos zu den Controls verwenden. Man lässt den parameter für die ControlID leer und setzt die Parameter X und Y. Dann darf sich das Fenster jedoch nicht in der Größe verändern.

  • Random frage

    • monkey
    • 10. März 2013 um 11:58

    Und momentan kann dein Script überhaupt keine 0 erzeugen. Random(1,100, 1) :)

  • Gewünschte IP umleiten

    • monkey
    • 5. März 2013 um 13:41

    Mit der hosts Datei kann man nur Hostnamen sperren. Und das auch nur ohne Wildcards.

    Man kann also:

    127.0.0.1 autoit.de

    reinschreiben. Aber ipv4.autoit.de geht immernoch.

  • Ausgehende IP erzwingen / ForceBindIP

    • monkey
    • 12. Februar 2013 um 17:35

    Konnte man sowas nicht über die routingtable lösen. Ich meine in Erinnerung zu haben das man dort das interface Wahlen konnte

    http://www.howtogeek.com/howto/windows/…-routing-table/

  • Welchen E-Mail Anbieter nutzt ihr?

    • monkey
    • 16. Januar 2013 um 22:50

    Ich benutze auch Gmail und habe meine anderen Konten dort importiert.
    Hier noch ein Artikel von Google mit Tricks für Gmail.
    https://mail.google.com/mail/help/intl/de/tips.html

    Sehr schön ist auch die Möglichkeit anstatt name@gmail.com zu benutzen man auch na.me@gmail.com verwenden kann oder name+blubb@gmail.com.

  • Raspberry Pi | rtorrent

    • monkey
    • 22. Oktober 2012 um 18:15

    Also ich hab's jetzt zum laufen bekommen, aber nach 10 Minuten beendet sich rtorrent ohne Grund. :(

    Meine /etc/rc.local sieht folgendermaßen aus.

    Spoiler anzeigen
    Bash
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    
    
    # Print the IP address
    _IP=$(hostname -I) || true
    if [ "$_IP" ]; then
      printf "My IP address is %s\n" "$_IP"
    fi
    start-stop-daemon --start --chuid pi --name rtorrent --exec /usr/bin/dtach -- -n /tmp/rtorrent.dtach /usr/bin/rtorrent
    exit 0
    Alles anzeigen

    Startet auch alles wunderbar im Hintergrund beim Systemstart. Beendet sich jedoch nach 10 Minuten selbst.

    Vielleicht hilft ja ein Blick in die config-Datei.

    Spoiler anzeigen
    Code
    # This is an example resource file for rTorrent. Copy to
    # ~/.rtorrent.rc and enable/modify the options as needed. Remember to
    # uncomment the options you wish to enable.
    
    
    # Maximum and minimum number of peers to connect to per torrent.
    min_peers = 40
    max_peers = 100
    
    
    # Same as above but for seeding completed torrents (-1 = same as downloading)
    min_peers_seed = 10
    max_peers_seed = 50
    
    
    # Maximum number of simultanious uploads per torrent.
    max_uploads = 15
    
    
    # Global upload and download rate in KiB. "0" for unlimited.
    download_rate = 0
    upload_rate = 0
    
    
    # Default directory to save the downloaded torrents.
    directory = /home/pi/Documents/TorrentLoads/
    
    
    # Default session directory. Make sure you don't run multiple instance
    # of rtorrent using the same session directory. Perhaps using a
    # relative path?
    session = /home/pi/Documents/rtorrentsession
    
    
    # Watch a directory for new torrents, and stop those that have been
    # deleted.
    schedule = watch_directory,5,5,load_start=/home/pi/Documents/Torrents/*.torrent
    schedule = untied_directory,5,5,stop_untied=/home/pi/Documents/Torrents/*.torrent
    
    
    # Close torrents when diskspace is low.
    #schedule = low_diskspace,5,60,close_low_diskspace=100M
    
    
    # The ip address reported to the tracker.
    #ip = 127.0.0.1
    ip = *******.dyndns.org
    
    
    # The ip address the listening socket and outgoing connections is
    # bound to.
    bind = 192.168.0.17
    #bind = rakshasa.no
    
    
    # Port range to use for listening.
    port_range = 6890-6999
    
    
    # Start opening ports at a random position within the port range.
    #port_random = no
    
    
    # Check hash for finished torrents. Might be usefull until the bug is
    # fixed that causes lack of diskspace not to be properly reported.
    #check_hash = no
    
    
    # Set whetever the client should try to connect to UDP trackers.
    use_udp_trackers = yes
    
    
    # Alternative calls to bind and ip that should handle dynamic ip's.
    #schedule = ip_tick,0,1800,ip=rakshasa
    #schedule = bind_tick,0,1800,bind=rakshasa
    
    
    # Encryption options, set to none (default) or any combination of the following:
    # allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
    #
    # The example value allows incoming encrypted connections, starts unencrypted
    # outgoing connections but retries with encryption if they fail, preferring
    # plaintext to RC4 encryption after the encrypted handshake
    #
    # encryption = allow_incoming,enable_retry,prefer_plaintext
    
    
    # Enable DHT support for trackerless torrents or when all trackers are down.
    # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
    # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
    # The default is "off". For DHT to work, a session directory must be defined.
    #
     dht = auto
    
    
    # UDP port to use for DHT.
    #
    # dht_port = 6881
    
    
    # Enable peer exchange (for torrents not marked private)
    #
     peer_exchange = yes
    
    
    #
    # Do not modify the following parameters unless you know what you're doing.
    #
    
    
    # Hash read-ahead controls how many MB to request the kernel to read
    # ahead. If the value is too low the disk may not be fully utilized,
    # while if too high the kernel might not be able to keep the read
    # pages in memory thus end up trashing.
    #hash_read_ahead = 10
    
    
    # Interval between attempts to check the hash, in milliseconds.
    #hash_interval = 100
    
    
    # Number of attempts to check the hash while using the mincore status,
    # before forcing. Overworked systems might need lower values to get a
    # decent hash checking rate.
    #hash_max_tries = 10
    Alles anzeigen


    Ich bin ratlos :(

  • Raspberry Pi | rtorrent

    • monkey
    • 17. Oktober 2012 um 23:37

    Hallo,

    mein Raspberry Pi ist gestern angekommen. :rock: Und nun habe ich versucht darauf das Konsolenprogramm rtorrent laufen zu lassen.

    Ich habe die Config Datei von rtorrent so bearbeitet das der Ordner "/home/pi/Documents/Torrents/" nach .torrent Dateien überwacht wird. Falls eine neue torrent-Datei vorliegt soll diese automatisch geladen werden.
    Das Download Verzeichnis habe ich auf "/home/pi/TorrentLoads/" gelegt.

    Wenn ich das als Benutzer pi starte dann funktionier alles wunderbar...

    Wenn ich allerdings rtorrent in die Datei /etc/rc.local eintrage (Damit rtorrent gleich beim booten mitgestartet wird.) funktioniert es nicht.
    Ich habe erst gedacht, dass es an den root rechten liegt mit denen rtorrent dann läuft. Jedoch funktioniert es wenn ich als root rtorrent per Hand starte.

    Kann mir einer einen Tipp geben damit es auch über den Autostart funktioniert? ?(

  • Raspberry Pi

    • monkey
    • 15. Oktober 2012 um 13:56

    oer. mein raspberry komt wahrscheinlich morgen an mit 256 mb :(

  • Raspberry Pi

    • monkey
    • 4. Oktober 2012 um 18:24

    Ich hab meinen am 29. Juni bestellt, und warte noch .... :(
    Ich bin selber noch gespannt was ich damit anstelle :)

  • WinRar SFX mit Passwort entpacken (Console)

    • monkey
    • 1. Oktober 2012 um 21:02

    Man könnte auch das Unrar Konsolenprogramm verwenden :)
    http://www.rarlab.com/rar_add.htm

    [autoit]


    $sarchiv="Install.exe"
    $spassword="fea02fea-ae1f-407b-8827-e4024ac7994f"
    ShellExecute("UnRar.exe", "e -p"&$spassword&" "&$sarchiv, @ScriptDir)

    [/autoit]
  • Prokrastination

    • monkey
    • 22. Juni 2012 um 12:33

    Du könntest die Internet Seiten in die Hosts Datei eintragen. Um sie dann auf Localhost weiterzuleiten.

  • Straße und Hausnummer Splitten

    • monkey
    • 8. Juli 2011 um 12:25

    Ich hab das Pattern von Lev mal geändert.

    "(.+)\h*(\d[\h-/A-Za-z0-9.]*)*"

    So besser?

  • GUI: Wie Element-Status verändern, ohne dass es zum Flackern kommt?

    • monkey
    • 25. Mai 2011 um 16:48

    Momentan wird dein Control bei jedem Durchlauf der While-schleife aktualisiert.
    Du solltest einen Buffer einbauen, so das das Control nur dann aktualisiert wird wenn sich auch etwas geändert hat. Also Notepad ist jetzt vorhanden oder das Notepad ist nichtmehr vorhanden.

    Hier mal meine Lösung.

    Spoiler anzeigen
    [autoit]

    #include <ButtonConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>

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

    $Form1 = GUICreate("Form1", 170, 41, 192, 124)
    $Button1 = GUICtrlCreateButton("Button1", 8, 8, 73, 25, $WS_GROUP)
    $Button2 = GUICtrlCreateButton("Flackerbutton", 88, 8, 73, 25, $WS_GROUP)
    GUICtrlSetState(-1, $GUI_DISABLE)
    GUISetState(@SW_SHOW)
    Dim $iBuffer
    While 1
    $iState = WinExists("[CLASS:Notepad]")
    If $iBuffer <> $iState Then
    $iBuffer = $iState
    If $iBuffer Then
    GUICtrlSetState($Button2, $GUI_ENABLE)
    Else
    GUICtrlSetState($Button2, $GUI_DISABLE)
    EndIf
    EndIf

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

    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    EndSwitch
    WEnd

    [/autoit]
  • DeskStream 2 Release Candidate 1.8

    • monkey
    • 14. Mai 2011 um 22:47

    Ah ich dachte dazu würde die Assembler UDF gebötigt.

    Hatte den Maus-Courser über den Downloadlink gehalten und dann ist mir #include<assembleit.au3> aufgefallen, hatte jedoch nicht gesehen das es auskommentiert war :)

    Dann noch in der Dankesliste
    "Tomasz Grysztar für FASM
    Ward für Embeddet FASM"

    Alles OK :) getestet und läuft.

    Sorry nochmal für den schon fast pöbelnden Post von eben :(

  • DeskStream 2 Release Candidate 1.8

    • monkey
    • 14. Mai 2011 um 21:58

    Ich würde es gerne mal testen habe jedoch nicht die Lust mir aus mehreren Foren die UDFs zusammen zu suchen.

    Wäre es vielleicht möglich das du es mit den benötigten Ressourcen hoch lädst?

    Würde mich sehr freuen :)

  • StringBetween Hilfe

    • monkey
    • 12. Mai 2011 um 13:31

    So hier mal ein bisschen beschrieben :)

    [autoit]

    #include<array.au3>
    $sString='<form method="post" id="proxyform" action=""><input type="hidden" name="i" value="2011-05-129af9865d7876d309a071a50bc2f06421">'
    #cs
    Kleine einführung in StringRegEp
    \d sucht nach einer Zahl also(0-9)
    die {4} gibt die anweisung das 4 mal nach einer zahl(0-9) gesucht werden soll findet also z.B 2011

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

    \d{4} \d sucht nach einer Zahl also(0-9) die {4} gibt die anweisung das 4 mal nach einer zahl(0-9) gesucht werden soll findet also z.B 2011
    - sucht nach einem Bindestrich
    \d{2} \d sucht nach einer Zahl also(0-9) die {2} gibt die anweisung das 2 mal nach einer zahl(0-9) gesucht werden soll findet also z.B 05
    - sucht nach einem Bindestrich
    \d{2} \d sucht nach einer Zahl also(0-9) die {2} gibt die anweisung das 2 mal nach einer zahl(0-9) gesucht werden soll findet also z.B 05
    (\w+?) Die klammern eröffnen eine Gruppe, diese Gruppe wird dir dann auch in einem Array ausgegeben. \w sucht nach einem Wortzeichen (a-z A-Z 0-9 oder den _)
    +? gibt die anweisung das solange nach wortzeichen gesucht werden soll...
    "> bis ein Anführungszeichen und ein größer Zeichen gefunden werden
    #ce
    $aRegExp=StringRegExp($sString, '\d{4}-\d{2}-\d{2}(\w+?)">', 3)
    _ArrayDisplay($aRegExp)

    [/autoit]
  • StringBetween Hilfe

    • monkey
    • 12. Mai 2011 um 13:03

    Vielleicht kannst du es ja mit StrngRegExp versuchen :)

    Hier mal mein Code:

    [autoit]

    $aRegExp=StringRegExp($sString, '\d{4}-\d{2}-\d{2}(\w+?)">', 3)
    _ArrayDisplay($aRegExp)

    [/autoit]


    Ich bin jetzt davon ausgegangen das der such string so aussieht

    <form method="post" id="proxyform" action=""><input type="hidden" name="i" value="2011-05-129af9865d7876d309a071a50bc2f06421">

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™