Jump to content

viper67

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by viper67

  1. Hallo JSThePatriot Thats it. It works Thanx for your help. viper67
  2. hallo. i like to compare 2 txt files, but it doesn't work. can anyone help me ? here's my script. ------------------------------- $file1 = FileOpen("test.txt", 0) $file2 = FileOpen("test2.txt", 0) ; Check if file opened for reading OK If $file1 = -1 Then MsgBox(0, "Error", "File1 kann nicht geöffnet werden.") Exit EndIf If $file2 = -1 Then MsgBox(0, "Error", "File2 kann nicht geöffnet werden.") Exit EndIf ; Read in 1 character at a time until the EOF is reached While 1 $chars1 = FileRead($file1, 1000000) If @error = -1 Then ExitLoop MsgBox(0, "Inhalt 1:", $chars1) $chars2 = FileRead($file2, 1000000) If @error = -1 Then ExitLoop MsgBox(0, "Inhalt 2:", $chars2) Wend If ($chars1 = $chars2) Then MSgBox (0, "Vergleich", "Der Text hat sich nicht geändert.") Else MSgBox (0, "Vergleich", "Der Text hat sich geändert.") EndIf FileClose($file1) FileClose($file2) ------------------------------- Thanx for your support viper67
  3. hello gafrost thanx for your reply I have Outlook Express installed on my pc. It's my standart email client. viper67
  4. Hello Can you help me ? I get an Error when using _INetMail. Message: Line 88 ("C:\Programme\AutoIt3\Include\Inet.au3") Return Run(StrgReplace(Regread('HKCR\mailto\shell\open\command',"), '%1', _INetExplorerCapable ('mailto:'&$s_MailTo & '=?subject=' & $s_MailSubject & '&body=' & $s_MailBody)))=0 Error:Unable to execute the externel program. Das System kann die angegebene Datei nicht finden. #include <INet.au3> $Address = InputBox('Address', 'Enter the E-Mail address to send message to') $Subject = InputBox('Subject', 'Enter a subject for the E-Mail') $Body = InputBox('Body', 'Enter the body (message) of the E-Mail') MsgBox(0,'E-Mail has been opened','The E-Mail has been opened and process identifier for the E-Mail client is ' & _INetMail($address, $subject, $body)) I use Windows XP German Version and Autoit latest Version. Thanx for your help. Viper67
×
×
  • Create New...