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

  • Abarbeitung in Batch-File

    • Xenobiologist
    • 14. April 2008 um 13:32

    Hi,

    das ist natürlich so schwer nachzuvollziehen. Kann es sein, dass die Java Programme einfach schneller fertig sind?

    Mega

  • Technische Spielereien

    • Xenobiologist
    • 14. April 2008 um 13:30

    Hey, danke! Das ist doch mal eine Spielerei über die ich mir sonst nie Gedanken gemacht hätte.

    Mega

  • Technische Spielereien

    • Xenobiologist
    • 13. April 2008 um 22:34

    Danke, aber ich brauche keinen Hammer-PC. Ich suche eigentlich eher nach einer technischen Spielerei zum Hinstellen zuhause, oder zum Mitnehmen.

    Keine Ahnung, irgendwas das Licht macht, Sound oder einfach coooool ist. :D

    Mega

  • POP3 (E-Mail) UDF

    • Xenobiologist
    • 13. April 2008 um 22:31

    Hi,

    wel du die udf auch includieren musst!

    Carsten : Habe es gerade mal getestet. Funktioniert ganz gut. Den Inhalt könntest du auch noch ne Funktion packen!

    Mega

  • Technische Spielereien

    • Xenobiologist
    • 13. April 2008 um 22:09

    Hi,

    danke aber ein Laptop bekomme ich durch die Firma gestellt.

    Noch nen Vorschlag?

    Mega

  • Frage Zur E-mail / Inputbox

    • Xenobiologist
    • 13. April 2008 um 22:02

    Hi,

    mit Spamadresse meine ich eine Emailadresse wo du keine Emails bekommst die wichtig sind. Weil du in deinen Code ja das Passwort speichern musst. Deshalb würde ich empfehlen eine Emailadresse zu nehmen, bei der jemand nichts kaputt machen kann.

    Mega

  • Technische Spielereien

    • Xenobiologist
    • 13. April 2008 um 21:59

    Hi,

    was für technische Spielereien besitzt ihr, bzw. würdet ihr gern haben?


    • PSP
      PS3
      IPod
      Beamer
      ....

    Will mich mal wieder selbst beschenken :rock:

    Mega

  • Frage Zur E-mail / Inputbox

    • Xenobiologist
    • 13. April 2008 um 21:57

    Hi,

    wenn du es im als exe schickst, dann würde ich die Daten einer Spamadresse angeben und es nur zu deiner web.de Adresse schicken lassen. Subject ist der Betreff.

    Uname & Pwd sind Username z.B. bla@web.de und natürlich passwort.

    Mega

  • Frage Zur E-mail / Inputbox

    • Xenobiologist
    • 13. April 2008 um 20:05

    Hi,

    Spoiler anzeigen
    [autoit]

    #include<Inet.au3>

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

    $re = InputBox('Mail send', 'Was willst du senden?')

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

    $s_SmtpServer = "mail.gmx.net"
    $s_FromName = @UserName
    $s_FromAddress = "xxx"
    $s_ToAddress = "xxx"
    $s_Subject = "Meine Testmail"
    $s_UName = "xxx"
    $s_PWD = "xxx"

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

    Dim $as_Body[2]
    $as_Body[0] = $re
    $as_Body[1] = "Danke Xeno"

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

    $Response = _INetSmtpMailAuth($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_UName, $s_PWD, $s_Subject, $as_Body)
    $err = @error
    If $err Then ConsoleWrite($err & @CRLF)
    If $Response = 1 Then
    MsgBox(0, "Success!", "Mail sent")
    Else
    MsgBox(0, "Error!", "Mail failed with error code " & $err)
    EndIf

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

    ;===============================================================================
    ;
    ; Function Name: _INetSmtpMailAuth()
    ; Description: Sends an email using SMTP over TCP IP.
    ; Parameter(s): $s_SmtpServer - SMTP server to be used for sending email
    ; $s_FromName - Name of sender
    ; $s_FromAddress - eMail address of sender
    ; $s_ToAddress - Address that email is to be sent to
    ; $s_Username - Username for Authentication (bernd670)
    ; $s_Passwd - Password for Authentication (bernd670)
    ; $s_Subject - Subject of eMail
    ; $as_Body - Single dimension array containing the body of eMail as strings
    ; $s_helo - Helo identifier (default @COMPUTERNAME) sometime needed by smtp server
    ; $s_first - send before Helo identifier (default @CRLF) sometime needed by smtp server
    ; $b_trace - trace on a splash window (default 0 = no trace)
    ; Requirement(s): None
    ; Return Value(s): On Success - Returns 1
    ; On Failure - 0 and sets
    ; @ERROR = 1 - Invalid Parameters
    ; @ERROR = 2 - Unable to start TCP
    ; @ERROR = 3 - Unable to resolve IP
    ; @ERROR = 4 - Unable to create socket
    ; @ERROR = 5x - Cannot open SMTP session
    ; @ERROR = 50x - Cannot send body
    ; @ERROR = 5000 - Cannot close SMTP session
    ; Authors: Original function to send email via TCP - Asimzameer
    ; Conversion to UDF - Walkabout
    ; Correction Helo, timeout, trace - Jpm
    ; Correction send before Helo - Jpm
    ; Include Authentication - bernd670
    ;
    ;===============================================================================
    Func _INetSmtpMailAuth($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Username, $s_Passwd, $s_Subject = "", $as_Body = "", $s_helo = "", $s_first = "-1", $b_trace = 0)

    Local $v_Socket
    Local $s_IPAddress
    Local $i_Count
    Local $s_Send[9]
    Local $s_ReplyCode[9];Return code from SMTP server indicating success

    If $s_SmtpServer = "" Or $s_FromAddress = "" Or $s_ToAddress = "" Or $s_Username = "" Or $s_Passwd = "" Or $s_FromName = "" Or StringLen($s_FromName) > 256 Then
    SetError(1)
    Return 0
    EndIf
    If $s_helo = "" Then $s_helo = @ComputerName
    If TCPStartup() = 0 Then
    SetError(2)
    Return 0
    EndIf
    StringRegExp($s_SmtpServer, "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)")
    If @extended Then
    $s_IPAddress = $s_SmtpServer
    Else
    $s_IPAddress = TCPNameToIP($s_SmtpServer)
    EndIf
    If $s_IPAddress = "" Then
    TCPShutdown()
    SetError(3)
    Return 0
    EndIf
    $v_Socket = TCPConnect($s_IPAddress, 25)
    If $v_Socket = -1 Then
    TCPShutdown()
    SetError(4)
    Return (0)
    EndIf

    $s_Send[0] = "EHLO " & $s_helo & @CRLF
    ;~ If StringLeft($s_helo,5) <> "EHLO " Then $s_Send[0] = "EHLO " & $s_helo & @CRLF
    $s_ReplyCode[0] = "250"

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

    $s_Send[1] = "AUTH LOGIN" & @CRLF
    $s_ReplyCode[1] = "334"
    $s_Send[2] = _Base64Encoding($s_Username) & @CRLF
    $s_ReplyCode[2] = "334"
    $s_Send[3] = _Base64Encoding($s_Passwd) & @CRLF
    $s_ReplyCode[3] = "235"
    $s_Send[4] = "MAIL FROM: <" & $s_FromAddress & ">" & @CRLF
    $s_ReplyCode[4] = "250"
    $s_Send[5] = "RCPT TO: <" & $s_ToAddress & ">" & @CRLF
    $s_ReplyCode[5] = "250"
    $s_Send[6] = "DATA" & @CRLF
    $s_ReplyCode[6] = "354"

    $s_Send[7] = "From: " & $s_FromName & " <" & $s_FromAddress & ">" & @CRLF & _
    "To: " & "<" & $s_ToAddress & ">" & @CRLF & _
    "Subject: " & $s_Subject & @CRLF & _
    "Mime-Version: 1.0" & @CRLF & _
    "Content-Type: text/plain; charset=US-ASCII" & @CRLF & _
    @CRLF
    $s_ReplyCode[7] = ""

    $s_Send[8] = @CRLF & "." & @CRLF
    $s_ReplyCode[8] = "250"

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

    ; open stmp session
    If _SmtpSend($v_Socket, $s_Send[0], $s_ReplyCode[0], $b_trace, "220", $s_first) Then
    SetError(50)
    Return 0
    EndIf

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

    ; send header
    For $i_Count = 0 To UBound($s_Send) - 2
    If _SmtpSend($v_Socket, $s_Send[$i_Count], $s_ReplyCode[$i_Count], $b_trace) Then
    SetError(50 + $i_Count)
    Return 0
    EndIf
    Next

    ; send body records (a record can be multiline : take care of a subline beginning with a dot should be ..)
    For $i_Count = 0 To UBound($as_Body) - 1
    ; correct line beginning with a dot
    If StringLeft($as_Body[$i_Count], 1) = "." Then $as_Body[$i_Count] = "." & $as_Body[$i_Count]

    If _SmtpSend($v_Socket, $as_Body[$i_Count] & @CRLF, "", $b_trace) Then
    SetError(500 + $i_Count)
    Return 0
    EndIf
    Next

    ; close the smtp session
    $i_Count = UBound($s_Send) - 1
    If _SmtpSend($v_Socket, $s_Send[$i_Count], $s_ReplyCode[$i_Count], $b_trace) Then
    SetError(5000)
    Return 0
    EndIf

    TCPCloseSocket($v_Socket)
    TCPShutdown()
    Return 1
    EndFunc ;==>_INetSmtpMailAuth

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

    ;===============================================================================
    ;
    ; Function Name: _Base64Encoding()
    ; Description: Kodiert eine Zeichenfolge mit dem Base64-Verfahren
    ; (http://de.wikipedia.org/wiki/Base64)
    ; Parameter(s): $String - Zeichenfolge die kodiert werden soll
    ; Requirement(s): None
    ; Return Value(s): Kodierte Zeichenfolge
    ; Authors: bernd670
    ;
    ;===============================================================================
    Func _Base64Encoding($String)

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

    $strUmsetzung = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
    $strRetValue = ""

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

    For $i = 1 To StringLen($String) Step 3
    $strTok = StringMid($String, $i, 3)
    Switch StringLen($strTok)
    Case 3
    $iTokVal = (Asc(StringMid($strTok, 1, 1)) * 256 + _
    Asc(StringMid($strTok, 2, 1))) * 256 + _
    Asc(StringMid($strTok, 3, 1))
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1)
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $strRetValue &= $strTokCryt

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

    Case 2
    $iTokVal = (Asc(StringMid($strTok, 1, 1)) * 256 + _
    Asc(StringMid($strTok, 2, 1))) * 256
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1)
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $strRetValue &= $strTokCryt & "="

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

    Case 1
    $iTokVal = Asc(StringMid($strTok, 1, 1)) * 65536
    $iTokVal = BitShift($iTokVal, 12)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1)
    $iTokVal = BitShift($iTokVal, 6)
    $strTokCryt = StringMid($strUmsetzung, (BitAND($iTokVal, 63)) + 1, 1) & $strTokCryt
    $strRetValue &= $strTokCryt & "=="

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

    EndSwitch
    Next

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

    Return $strRetValue
    EndFunc ;==>_Base64Encoding

    [/autoit]

    Mega

  • Neues Handy ???

    • Xenobiologist
    • 13. April 2008 um 19:47

    Hi,

    mit klarmobil könnte ich 200 min im Monat telefonieren, dann hätte ich denselben Preis wie bei o2. Dafür kann ich allerdings 100 FreiSMS verschicken pro Monat und habe eine Flatrate zu o2 und ins dt Festnetz +Gratis- Handy W890i. (Tarif Genion+L)

    Da ich relativ viel mit dem Handy telefoniere lohnt es sich denke ich für mich.

    Mega

  • StringRegEx gibt zusätzlich immer noch die letzte Ziffer des letzten Treffers zurück Edit: [Neues Problem]

    • Xenobiologist
    • 13. April 2008 um 19:39

    Hi,

    [autoit]

    $a0 = StringRegExp($Cont,' /> ([\wäöüßÄÖÜ]*)<',3)

    [/autoit]

    Mega

  • StringRegEx gibt zusätzlich immer noch die letzte Ziffer des letzten Treffers zurück Edit: [Neues Problem]

    • Xenobiologist
    • 13. April 2008 um 19:11

    Hi,

    ist das wirklch das Skript?

    Ich sehe nur Sonderzeichen.

    Mega

  • Neues Handy ???

    • Xenobiologist
    • 13. April 2008 um 19:03

    Hi,

    auf jeden Fall Mp3-Player und klein sollte es sein. Gucke hauptsächlich bei Sony E., weil ich derzeit ein W850i habe.

    Mega

  • Neues Handy ???

    • Xenobiologist
    • 13. April 2008 um 14:04

    Hi,

    mein Vertrag läuft aus und ich denke ich werde bei O2 bleiben.

    Sony Ericsson W890i (Handy)

    Jemand einen besseren Vorschlag?

    Mega

  • Do ... Until

    • Xenobiologist
    • 13. April 2008 um 12:55

    Hi,

    Ablibenable mit PixelSearch!

    Mega

  • frage zu Randomize

    • Xenobiologist
    • 13. April 2008 um 12:54

    Hi,

    man könnte sich dazu auch den Lottoziehung Thread angucken.

    Mega

  • Programmablauf - 2 GUIs - Buttons

    • Xenobiologist
    • 11. April 2008 um 15:13

    Hi,

    HotKey oder Prüfung per Adlibenable

    Mega

  • Google URL

    • Xenobiologist
    • 11. April 2008 um 15:11

    Hi,

    ja und? Suchtext übergeben Ergebnis abgreifen.

    Mega

  • EXIT Code von Batch mit AutoIT verarbeiten

    • Xenobiologist
    • 11. April 2008 um 14:46

    Hi,

    was passiert denn wenn du deine bat aus autoit mit RunWait startest?

    Mega

  • Programm auf einem remote Server ausführen

    • Xenobiologist
    • 11. April 2008 um 11:01

    Hi,

    PSTools sollte auch gehen.

    http://www.autoitscript.com/forum/index.php?showtopic=37289

    Frage 9!

    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™