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

Beiträge von gmmg

  • Programm starten bei anschließen eines Monitors

    • gmmg
    • 17. August 2015 um 13:28

    Kannst du mit der Windows + P Taste was anfangen?

    Windows + P2 buttons seems pretty easy!
    but, you could write a batch file to run the programs with the appication displayswitch.exe included. displayswitch comes with windows 7 so you can have a batch file with:
    DisplaySwitch.exe /externalnotepad.exethen use this batch file to open notepad and it will always open and switch to the external display only.
    the following options are available:
    Extend DisplayDisplaySwitch.exe /extend2nd monitorDisplaySwitch.exe /externalComputers MonitorDisplaySwitch.exe /internalDuplicate DisplayDisplaySwitch.exe /clone

    gruß gmmg

  • Excel Datei lässt sich nicht speichern; AutoIT Skript bricht beim öffnen der n-ten Excel Source Datei mit Fehler ab

    • gmmg
    • 17. August 2015 um 10:55

    hallo smofax,

    deine funktion _CloseExcelFile ist nirgends eingebunden und der aufbau der _OpenExcelFile sehr unübersichtlich.


    normalerweise ist das doch ganz einfach.

    die files in dein array laden
    ziel excel datei erstellen oder öffnen, wenn vorhanden ( fehlerabfrage einbauen)
    quell excel dateien durch eine schleife laufen lassen -> Excel datei öffnen, werte auslesen, wert in zieldatei schreiben, quelle datei schließen
    bei schleifenende ziel excel schließen
    programm excel schließen

    was willst du denn mit den ganzen IsObj Abfragen erreichen?

    If IsObj($objExcel) Then $sO1 = "Is Object"
    If IsObj($objWorkbook) Then $sO2 = "Is Object"
    If IsObj($strWorkbook) Then $sP1 = "Is Workbook"

    desweiteren benutzt du einmal zum declarieren local und dann wiederum das dim.

    Der Unterschied zwischen Dim, Local und Global ist der Gültigkeitsbereich, für den die Variablen deklariert werden:
    Dim = Wenn der Variablename nicht schon mit globalem
    Gültigleitsbereich existiert, hat die definierte Variable einen lokalen
    Gültigkeitsbereich (falls die Variable schon global existiert, so wird
    die globale Variable verwendet.)
    Global = Erzwingt globale Gültigkeit der Variablen
    Local = Erzwingt lokale Gültigkeit der Variablen, bzw. innerhalb der Funktion

    Man sollte Local oder Global anstelle von Dim verwenden, um explizit den
    Gültigkeitsbereich für die Variable / Konstante / Array festzulegen.

    gruß gmmg

  • Mircosoft Visual Studio Tools for Office Runtime 2010

    • gmmg
    • 13. August 2015 um 15:31

    eventuell das in den oberen bereich im script nach den includes einfügen oder 2 skripte erstellen. das setup script und eines, welches das setup mit runas aufruft.

    AutoIt
    Local $ADMINUSER = ""
    Local $DOMAIN = @LogonDomain
    Local $ADMINPASS = ""
    
    
    
    
    If Not IsAdmin() Then
        ; Bis Version 3.2.10.0
    ;~    RRunAsSet($ADMINUSER, @LogonDomain, $ADMINPASS)
    ;~    Run(@ScriptFullPath, @ScriptDir, @SW_HIDE)
    ;~     RunAsSet()
        ; AB Version 3.2.12.0
        RunAs($ADMINUSER, $DOMAIN, $ADMINPASS, 0, @ScriptFullPath, @ScriptDir, @SW_HIDE)
        Exit
    EndIf
    
    
    
    
    If IsAdmin() Then
         ;MsgBox(0, "", "Admin-Rechte erkannt.",1)
    EndIf
    Alles anzeigen
  • Mircosoft Visual Studio Tools for Office Runtime 2010

    • gmmg
    • 13. August 2015 um 13:21

    Hallo,

    verstehe nicht, warum du hier keine Abfrage hinbekommst.

    schonmal probiert die vstor_redist.exe zu entpacken und die Setup.exe dann mit Parameter aufzurufen? Diese bekommst du ja mit setup.exe /?

    Das ganze kannst du ja dann auch mit autoit steuern RunWait bzw. ShellExecuteWait

    Gruß gmmg :)

  • An die Netzwerk-Gurus und Virtuelle Maschinen Auskenner

    • gmmg
    • 13. August 2015 um 08:38

    Hallo Zusammen,

    ich habe auch vor kurzem ein ähnliches Konzept mit VMWare ESXi Server umgesetzt. Migration Windows SBS2003 von einem HP DL 380 G4 mit ESXi 4.x auf HP DL 380 G6 mit ESXi 5.5. umgesetzt.

    Hardware:
    HP DL 380 G6
    32 GB Ram

    Darauf laufen jetzt dann folgende Virtuelle Server.

    Domänencontroller= WIndows 2012
    Mailserver = Windows 2008 (Exchange 2007)
    Printserver = Windows 2008

    User greifen hier ca. 20 drauf.
    Läuft bisher stabil und ohne Probleme.

    Den Server kannst du dann normal in die Domaäne aufnehmen, ähnlich einem PC. aber das wirst du ja wissen. :)

    Gruß gmmg

  • Internet Explorer Button klicken

    • gmmg
    • 10. August 2015 um 11:24

    schau doch mal eventuell mal in die Registry, da wird bestimmt ein Eintrag erzeugt. den du dann bei deinen Clients per autoit setzen kannst.

    hier kannst du mal lesen...
    http://www.mcseboard.de/topic/201792-i…enster-per-gpo/

    gruß gmmg

  • Edit auslesen und in ein Array schreiben - Problem

    • gmmg
    • 20. Juli 2015 um 08:41

    ja, danke :)

  • Edit auslesen und in ein Array schreiben - Problem

    • gmmg
    • 17. Juli 2015 um 13:17

    das funktioniert nicht wie gewollt :(

    Habe mir jetzt die Func _ArrayAdd ein zweites mal angelegt als _ArrayAdd_xx angelegt und die Parameter da geändert.
    Jetzt bekomme ich zumindest schon alles in ein Array Element, aber er soll ja einen Zeilenumbruch in der Editbox als Leerzeichen interpretieren.

    Wie im Bild zu sehen, hängt er aber den Text direkt an.

    AutoIt
    Func _ArrayAdd_xx(ByRef $avArray, $vValue, $iStart = 0, $sDelim_Item = "|", $sDelim_Row = "@", $hDataType = 0)

    so, denke ich habe es jetzt, wenn ich es so mache. Ich ersetze den Zeilenumbruch nach dem auslesen des Controls mit StringReplace.

    Code
    $ro_edit2 = _GUICtrlEdit_GetText($Edit2)
    $ro_edit2 = StringReplace($ro_edit2, @crlf, " ")

    eventuell hat noch jemand eine schönere Lösung.

    Dateien

    fehler.JPG 56,24 kB – 0 Downloads
  • Edit auslesen und in ein Array schreiben - Problem

    • gmmg
    • 17. Juli 2015 um 11:52

    Hallo Zusammen,

    ich habe hier ein kleines Problem mit einem Skript, welches ich jetzt etwas überarbeitet habe.
    Und zwar habe ich eine GUI mit Edit bzw. Comboboxen. (Diese werden anhand von Einträgen eine MS Access DB gefüllt.)

    DIe Boxen werden ausgelesen und in ein Array geschrieben.
    Wenn ich nun in der Edit Box beim schreiben einen Zeilenumbruch mache, erstellt er mir im Array eine neue Zeile, anstatt den ganzen text in die richtigen spalte zu schreiben.

    Ich nehme an, das es an der Zeile $sDelim_Row = @CRLF im _ArrayAdd liegt ...

    _ArrayAdd(ByRef $avArray, $vValue, $iStart = 0, $sDelim_Item = "|", $sDelim_Row = @CRLF, $hDataType = 0)

    Habt ihr hier eine Idee?

    AutoIt
    ; auschnitt aus dem Skript Quelltext ...	
            $ro_label3 = GUICtrlRead($Label3)
    	$ro_edit2 = _GUICtrlEdit_GetText($Edit2)
    	$ro_combo2 = GUICtrlRead($Combo2)
    	IF $ro_label3 <> "" Then
    		IF $ro_edit2 = "" Then
    			IF $ro_combo2 = "" Then
    				_ArrayAdd($aArray, $ro_label3 & "|" & $ro_edit2 & "|leer")
    			Else
    				_ArrayAdd($aArray,  $ro_label3 & "|" & $ro_combo2 & "|CB")
    			EndIf
    		Else
    			;_ArrayDisplay($aArray, "1")
    			_ArrayAdd($aArray,  $ro_label3 & "|" & $ro_edit2 & "|EB")
    		EndIf
    	Else
    		_ArrayAdd($aArray, $ro_label3 & "|" & $ro_edit2 & "|nv")
    	EndIf
    	_ArrayDisplay($aArray, "2")
    ; auschnitt aus der Array.au3 ...
    _ArrayAdd(ByRef $avArray, $vValue, $iStart = 0, $sDelim_Item = "|", $sDelim_Row = @CRLF, $hDataType = 0)
    
    
    ; erstellt wird das Editfeld wie folgt ...
    $Edit2 = _GUICtrlEdit_Create($hGui, "", 460, 350, 280, 100)
    Alles anzeigen

    Danke vorab :)

    Gruß gmmg

    Dateien

    fehler.JPG 52,85 kB – 0 Downloads
  • Datei auf dem kompletten Laufwerk suchen und löschen...

    • gmmg
    • 16. Juli 2015 um 14:23

    sperre die exe doch per Gruppenrichtlinie ...


    google suche -> mit AppLocker Programme per Richtlinien sperren


    gruß gmmg

  • Excel.au3 - _Excel_Open und _Excel_BookOpen geben kein Excel application object zurück

    • gmmg
    • 15. Juli 2015 um 14:02

    Super :)

    Gruß gmmg

  • Excel.au3 - _Excel_Open und _Excel_BookOpen geben kein Excel application object zurück

    • gmmg
    • 15. Juli 2015 um 10:26

    so mache ich das immer :)

    AutoIt
    #include <Array.au3>
    #include <Excel.au3>
    
    
    Local $oExcelapp = _Excel_Open(false) ;true=normal ,false=im hintergrund geöffnet
    Local $oExcel = _Excel_BookOpen($oExcelapp, @scriptdir & "\datei.xlsx")
    
    
    _Excel_RangeWrite ($oExcel,Default, $wert , "D2")
    
    
    Local $aArray = _Excel_RangeRead($oExcel,Default,Default)
    _ArrayDisplay($aArray, "Array using Default Parameters")
    
    
    _Excel_BookClose($oExcel, True)
    _Excel_Close($oExcelapp, Default, True)
    Alles anzeigen


    Gruß gmmg ;)

  • FTP Verbindung herstellen

    • gmmg
    • 6. Juli 2015 um 10:09

    bei Winscp kannst du über die Console auch den Timeout -timeout=<sec> angeben!
    steht alles in den Console Commands :)

    gruß gmmg

  • FTP Verbindung herstellen

    • gmmg
    • 3. Juli 2015 um 12:38

    kannst du die verbindung im winscp einrichten und klappt der zugriff damit?
    laut screenshot gibt es ja einen fehler ... das ist sichetr auch das problem in den anderen tools oder mit autoit und dem ftp

    gruß gmmg

  • FTP Verbindung herstellen

    • gmmg
    • 1. Juli 2015 um 11:42
    Zitat von Probierer

    Hallo Phil-IT,

    ich bin mit AutoIt aber noch voll die Pfeife und weiß nicht wie ich FileZilla dazu bringe
    aus meinem Programm heraus ne Datei auf meine HomeMatic-Zentrale zu übertragen.
    Oder ne Datei von der Zentrale zu holen.

    Lg

    dazu hab ich dir doch das Beispiel von WinSCP gesendet.

    an der Stelle wo den den Upload / Download machen willst, kannst du mit Run /RunWait /Shellexecute als Beispiel ein externes Programm starten.

    dazu einfach mal in der Hilfe nach dem Befehl schauen ...

    RunWait (C:\Programme\WinSCP\WinSCP.com /console /command "option batch on" "option confirm off" "open user:pass@op-server" "cd /home/" "put D:\DATA\*.xls" "exit")

    Wie man das mit Filezilla macht, findest du über google ..FileZilla von der Kommandozeile aus steuern / (Command line features) – FileZilla


    Gruß gmmg

  • _Word_Quit langsam?

    • gmmg
    • 24. Juni 2015 um 15:57

    Hallo Zusammen,

    also bei mir gibt es da gefühlt keine Unterschiede mit dem Script aus dem ersten Post!

    Hier mal die Zeiten einzeln über ein ausführen im Scite (F5)
    Excel = Time: 5.225
    Word = Time: 5.272

    WIN7 X64
    Office 2010 Professional Plus
    8 GB RAM

    Gruß gmmg

  • FTP Verbindung herstellen

    • gmmg
    • 22. Juni 2015 um 09:37

    alternativ kannst du das FTP mal über WINSCP abholen, was sich seh gut per Console steuern lässt.
    dazu auf dem Client oder Server das Programm installieren und entsprechend benutzen.

    Code
    RunWait('"C:\Program Files\WinSCP\WinSCP.com" /console /script=D:\Data\transfer.txt')
    
    
    ;Beispiel
    
    
    C:\Programme\WinSCP\WinSCP.com /console /command "option batch on" "option confirm off" "open user:pass@op-server" "cd /home/" "put D:\DATA\*.xls" "exit"


    transfer.txt

    AutoIt
    # Automatically answer all prompts negatively not to stall
    # the script on errors
    option batch on
    # Disable overwrite confirmations that conflict with the previous
    option confirm off
    # Connect using a password
    open User:pass@server-IP
    # Change remote directory
    cd /home/
    # Force binary mode transfer
    option transfer binary
    # Download file to the local directory d:\
    get -delete *.txt D:\Data\Download
    # Upload the file to current working directory
    put D:\Data\*.txt
    # Disconnect
    close
    # Exit WinSCP
    exit
    Alles anzeigen

    Gruß gmmg

  • PING mit Mailversand (Server Überwachen)

    • gmmg
    • 19. Juni 2015 um 10:30

    für ein mailreporting + attachments habe ich hier folgendes script.
    die beiden Dateien body.txt & config.ini (muss in config.ini umbenannt werden) müssen im script verzeichnis liegen.

    AutoIt
    #include <File.au3>
    #include <String.au3>
    #Include <Array.au3>
    #include <Date.au3>
    
    
    Dim $oMyRet, $oMyError, $to, $cc, $bcc, $subject, $body, $attachment, $aRecords, $body_txt, $allfilesok
    
    
    Local $ADMINUSER = "user")
    Local $DOMAIN = @LogonDomain
    Local $ADMINPASS = "passwort")
    
    
    ;----ini---
    $ini = @scriptdir & "\config.ini"
    
    
    $from = IniRead($ini, "Variablen", "from", "NotFound")
    $to = IniRead($ini, "Variablen", "to", "NotFound")
    $cc = IniRead($ini, "Variablen", "cc", "NotFound")
    $bcc = IniRead($ini, "Variablen", "bcc", "NotFound")
    $subject = IniRead($ini, "Variablen", "subject", "NotFound")
    $body = IniRead($ini, "Variablen", "body", "NotFound")
    $attachment = IniRead($ini, "Variablen", "attachment", "NotFound")
    ;MsgBox(0,"",$attachment)
    ;----------
    If Not _FileReadToArray(@ScriptDir & "\" & $body, $aRecords) Then
       MsgBox(0,"Error1", " Error reading log to Array     error:" & @error,2)
       Exit
    EndIf
    For $x = 1 to $aRecords[0]
    
    
    	$body_txt &= $aRecords[$x] & @CRLF
    
    
    	 ;Msgbox(0,'Record:' & $x, $body02)
    Next
    
    
    ;Msgbox(0,'Record:' & $x, $body_txt)
    
    
    If $attachment = "" Then
    	;Sendmail()
    Else
    	$attachment_files = StringSplit($attachment,";")
    	$allfilesok = 1
    	For $i = 1 To $attachment_files[0]
            ;MsgBox(0, $attachment_files[0], $attachment_files[$i])
    		;ConsoleWrite($attachment_files[$i] & @CRLF)
    		$iFileExists = FileExists($attachment_files[$i])
    		IF $iFileExists = 0 Then $allfilesok = 0
        Next
    	;MsgBox(0,"allfilesok",$allfilesok)
    
    
    	;MsgBox(0,"",$file01[0])
    ;~ 	IF FileExists($file01[1]) Then
    	If $allfilesok = 1 Then
    		Sendmail()
    	Else
    		$to = "support@test.de"
    		$subject = "ReportFile nicht vorhanden"
    		$body_txt = $attachment
    		$attachment = ""
    		Sendmail()
    	EndIf
    EndIf
    
    
    ;MsgBox(0,"test",$body_txt)
    
    
    sleep (2000)
    
    
    Func Sendmail()
    
    
    	;MsgBox(0,"", $strData2)  ;mailadresse prüfen
    
    
    	Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc")
    	;##################################
    	; Variables
    	;##################################
    	$s_SmtpServer = "server" 	; address for the smtp-server to use - REQUIRED
    	$s_FromName = $from 						; name from who the email was sent
    	$s_FromAddress = $from 						; address from where the mail should come
    	$s_ToAddress = $to							; destination address of the email - REQUIRED
    	$s_Subject = $subject						; subject from the email - can be anything you want it to be
    	$as_Body = $body_txt						; the messagebody from the mail - can be left blank but then you get a blank mail
    	$s_AttachFiles = $attachment				; the file you want to attach- leave blank if not needed
    	$s_CcAddress = $cc 							; address for cc - leave blank if not needed
    	$s_BccAddress = $bcc 						; address for bcc - leave blank if not needed
    	$s_Username = $ADMINUSER						; username for the account used from where the mail gets sent  - Optional (Needed for eg GMail)
    	$s_Password = $ADMINPASS					; password for the account used from where the mail gets sent  - Optional (Needed for eg GMail)
    	$IPPort = 25 								; port used for sending the mail
    	$ssl = 0 									; enables/disables secure socket layer sending - put to 1 if using httpS
    	;~ $IPPort=465                            	; GMAIL port used for sending the mail
    	;~ $ssl=1                                 	; GMAILenables/disables secure socket layer sending - put to 1 if using httpS
    
    
    	;##################################
    	; Script
    	;##################################
    	Global $oMyRet[2]
    	;MsgBox(0,"", $s_SmtpServer& $s_FromName& $s_FromAddress& $s_ToAddress& $s_Subject& $as_Body& $s_AttachFiles& $s_CcAddress& $s_BccAddress& $s_Username& $s_Password& $IPPort& $ssl)
    	$rc = _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body, $s_AttachFiles, $s_CcAddress, $s_BccAddress, $s_Username, $s_Password, $IPPort, $ssl)
    	If @error Then
    		MsgBox(0, "Error sending message", "Error code:" & @error & "  Description:" & $rc,1)
    	EndIf
    
    
    EndFunc   ;==>Sendmail
    
    
    
    
    Func _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $s_AttachFiles = "", $s_CcAddress = "", $s_BccAddress = "", $s_Username = "", $s_Password = "", $IPPort = 25, $ssl = 0)
    	$objEmail = ObjCreate("CDO.Message")
    	$objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>'
    	$objEmail.To = $s_ToAddress
    	Local $i_Error = 0
    	Local $i_Error_desciption = ""
    	If $s_CcAddress <> "" Then $objEmail.Cc = $s_CcAddress
    	If $s_BccAddress <> "" Then $objEmail.Bcc = $s_BccAddress
    	$objEmail.Subject = $s_Subject
    	If StringInStr($as_Body, "<") And StringInStr($as_Body, ">") Then
    		$objEmail.HTMLBody = $as_Body
    	Else
    		$objEmail.Textbody = $as_Body & @CRLF
    	EndIf
    	If $s_AttachFiles <> "" Then
    		Local $S_Files2Attach = StringSplit($s_AttachFiles, ";")
    		For $x = 1 To $S_Files2Attach[0]
    			$S_Files2Attach[$x] = _PathFull($S_Files2Attach[$x])
    			If FileExists($S_Files2Attach[$x]) Then
    				$objEmail.AddAttachment($S_Files2Attach[$x])
    			Else
    				$i_Error_desciption = $i_Error_desciption & @LF & 'File not found to attach: ' & $S_Files2Attach[$x]
    				SetError(1)
    				Return 0
    			EndIf
    		Next
    	EndIf
    	$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
    	$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer
    	$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort
    	;Authenticated SMTP
    	If $s_Username <> "" Then
    		$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
    		$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username
    		$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password
    	EndIf
    	If $ssl Then
    		$objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
    	EndIf
    	;Update settings
    	$objEmail.Configuration.Fields.Update
    	; Sent the Message
    	$objEmail.Send
    	If @error Then
    		SetError(2)
    		Return $oMyRet[1]
    	EndIf
    EndFunc   ;==>_INetSmtpMailCom
    
    
    Func MyErrFunc()
    	$HexNumber = Hex($oMyError.number, 8)
    	$oMyRet[0] = $HexNumber
    	$oMyRet[1] = StringStripWS($oMyError.description, 3)
    	ConsoleWrite("### COM Error !  Number: " & $HexNumber & "   ScriptLine: " & $oMyError.scriptline & "   Description:" & $oMyRet[1] & @LF)
    	SetError(1); something to check for when this function returns
    	Return
    EndFunc   ;==>MyErrFunc
    Alles anzeigen


    gruß gmmg

    Dateien

    body.txt 54 Byte – 315 Downloads config.ini_.txt 200 Byte – 244 Downloads
  • FTP Verbindung herstellen

    • gmmg
    • 18. Juni 2015 um 11:27

    hab hier auch mal noch ein script gefunden ...

    AutoIt
    #include <Misc.au3>
    #include <FTPEx.au3>
    #Include <File.au3>
    #Include <Array.au3>
    
    
    ; FTP Download --> SFTP Upload
    
    
    If Not FileExists (@ScriptDir & "\Temp") Then DirCreate (@ScriptDir & "\Temp")
    
    
    $Zielpfad = @ScriptDir & "\Temp\"
    ;-----------FTP--------------
    $server = '192.x.x.x'
    $username = 'user'
    $pass = 'pwd'
    
    
    $path = '/'
    
    
    $Open = _FTP_Open('server')
    $Conn = _FTP_Connect($Open, $server, $username, $pass, true)
    ;MsgBox(0,"",$Conn)
    $setdir = _Ftp_DirSetCurrent($Conn, $path)
    ;MsgBox(0,"set dir",$setdir)
    
    
    ;$Dirlist = _FTPFilesListToArray($Conn, 1)
    ;_ArrayDisplay($Dirlist, 'Directorys List')
    
    
    $Dirlist = _FTP_ListToArray2D($Conn, 0)
    ;MsgBox(0,"files vorhanden?",$Dirlist[0])
    ;_ArrayDisplay($Dirlist, 'File List')
    
    
    	If $Dirlist[0][0] = 0 Then
    		MsgBox(0,"", "keine Files vorhanden",1)
    		Exit
    	Else
    		For $i = 1 To $Dirlist[0][0]
    			MsgBox(0,"files ++++",$Dirlist[$i][0])
    			IF $Dirlist[$i][1] = 0 Then 			;prüfung auf fehler
    				;MsgBox(0,"files ++++",$Dirlist[$i][1])
    			Else
    				_Download_Del()
    			EndIf
    	Next
    EndIf
    
    
    _FTP_Close($Open)
    
    
    Func _Download_Del()
    	_FTP_FileGet($Conn, $Dirlist[$i][0], $Zielpfad & $Dirlist[$i][0]) ; lädt file vom ftp server
    	Sleep(1000)
    	_FTP_FileDelete($Conn, $Dirlist[$i][0])  ; löscht file vom ftp server
    EndFunc
    Alles anzeigen
  • Checkboxen auslesen und in MSG Box ausgeben

    • gmmg
    • 17. Juni 2015 um 10:39

    Hallo Bugfix,

    als ich meinen Post abgesendet habe, habe ich deinen leider noch nicht gesehen! Hat sich wohl überschnitten.

    Ich denke der Thomas hat hier dennoch fragen dazu.

    Gruß gmmg

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™