Hallo ThePierre,
du musst die beiden Variablen gegen andere gegenchecken, such mal im Forum Skripte nach LoginBox von Oscar , darin findest du eine Möglichkeit wie du das Passwort über MD5-Hashwerte hinterlegen kannst,
mfg (Auto)Bert
Hallo ThePierre,
du musst die beiden Variablen gegen andere gegenchecken, such mal im Forum Skripte nach LoginBox von Oscar , darin findest du eine Möglichkeit wie du das Passwort über MD5-Hashwerte hinterlegen kannst,
mfg (Auto)Bert
Hallo m-obi,
Solangsam wird das hier ein Dialog
besser als ein Monolog.
Mir fällt aber zur möglichen Lösung nichts ein,
mfg (Auto)Bert
Hallo ThePierre,
wenn es nicht zum Thema passt dann setze diesen Thread auf gelöst und eröffne einen neuen,
mfg (Auto)Bert
Hallo TheBigX,
ZitatZitat aus Online-Hilfe zu IniReadSection:
Rückgabewert
Erfolg: Gibt ein 2-dimensionales Array zurück, in dem element[n][0] der Schlüssel und element[n][1] der Wert ist.
Fehler: Setzt @error auf 1, wenn die Sektion nicht gelesen werden kann (Die .ini-Datei oder die Sektion könnte nicht existieren)
mfg (Auto)Bert
Hallo m-obi,
das ist das Standardverhalten in Zusammenhang mit diesem Style, geht nicht zu ändern
mfg (Auto)Bert
Hallo m-obi,
das liegt an dem Style $LBS_MULTIPLESEL. Da man dadurch ja mehrere auswählen kann, muss man sie auch wieder abwählen können, ohne diesen Style wird immer 1 neue ausgewählt.
Mangels der Ini habe ich es mit meinem Demo getestet.
mfg (Auto)Bert
ich habe das Skript aus Post #11 jetzt auch mit Web.de und HotMail.de getestet.
Web.de:
HotMail:
Google:
mfg (Auto)Bert
Hallo m-obi,
kann dein Problem nicht nachvollziehen, bei mir wird immer ein Eintrag markiert. Poste doch das Skript oder Demo in dem es auftritt,
Edit, Demo angehängt:
#include <GUIConstants.au3>
#Include <GuiListBox.au3>
#include <ListboxConstants.au3>
#include <File.au3>
Global $szDrive,$szDir,$szFName,$szExt
[/autoit] [autoit][/autoit] [autoit]$hGUI = GUICreate("Flaggen", 300, 100)
$hListe = GUICtrlCreateList("", 10, 10, 180, 80,$LBS_NOTIFY)
$hNeu = GUICtrlCreateButton("...",200,10,30,25)
$hVorschau = GUICtrlCreatePic(@ScriptDir & "\Flaggen\NA.jpg", 210, 40, 36, 24)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $hNeu
$sAlt = GUICtrlRead($hListe)
$sPlus = FileOpenDialog("Land auswählen:",@ScriptDir & "\Flaggen","Bilder (*.jpg)",3,"",$hGUI)
_PathSplit($sPlus,$szDrive,$szDir,$szFName,$szExt)
ConsoleWrite($szFName & @CRLF)
_GUICtrlListBox_InsertString($hListe,$szFName,0)
Case $hListe
GUICtrlSetImage($hVorschau, @ScriptDir & "\Flaggen\" & GUICtrlRead($hListe) & ".jpg")
EndSwitch
WEnd
hierzu wird
mfg (Auto)Bert
Hallo kleiner27,
das Tool zeigt mir zwar dass ich über 22.000 Filenamen habe, die mind. 2 mal vorkommen, aber leider nicht wo,
mfg (Auto)Bert
Hallo Magnus,
der Tab blinkt, weil dort eine wichtiges Ereignis (z.B. neue Info) eingetreten ist. Nachdem der Anwender auf das Tab gewechselt hat, hat er dieses ja gelesen, somit ist das Blinken überflüssig,
mfg (Auto)Bert
Hallo ThePierre,
für GMX-Konten funktioniert dieses Skript:
Global $oMyRet[2]
Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc")
#include <_INetSmtpMailCom.au3>
[/autoit] [autoit][/autoit] [autoit];##################################
; Variables
;##################################
$SmtpServer = "mail.gmx.net" ; address for the smtp-server to use - REQUIRED
$FromName = "My Name" ; name from who the email was sent
$FromAddress = "anybody.@gmx.de" ; address from where the mail should come
$ToAddress = "everybody.@gmx.de" ; destination address of the email - REQUIRED
$Subject = "Userinfo" ; subject from the email - can be anything you want it to be
$Body = "Test" ; the messagebody from the mail - can be left blank but then you get a blank mail
$AttachFiles = "" ; the file you want to attach- leave blank if not needed
$CcAddress = "" ; address for cc - leave blank if not needed
$BccAddress = "" ; address for bcc - leave blank if not needed
$Importance = "Normal" ; Send message priority: "High", "Normal", "Low"
$Username = "anybody@gmx.de" ; username for the account used from where the mail gets sent - REQUIRED
$Password = "*************" ; password for the account used from where the mail gets sent - REQUIRED
$IPPort = 25 ; port used for sending the mail normaly 25
$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
;##################################
$rc = _INetSmtpMailCom($SmtpServer, $FromName, $FromAddress, $ToAddress, $Subject, $Body, $AttachFiles, $CcAddress, $BccAddress, $Importance, $Username, $Password, $IPPort, $ssl)
If @error Then
MsgBox(0, "Error sending message", "Error code:" & @error & " Description:" & $rc)
EndIf
zusammen mit dieser UDF (_INetSmtpMailCom.au3):
;##################################
; Include
;##################################
#Include<file.au3>
;http://www.autoitscript.com/forum/index.ph…ndpost&p=166575
; The UDF
Func _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $s_AttachFiles = "", $s_CcAddress = "", $s_BccAddress = "", $s_Importance="Normal", $s_Username = "", $s_Password = "", $IPPort = 25, $ssl = 0)
Local $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])
ConsoleWrite('@@ Debug(62) : $S_Files2Attach = ' & $S_Files2Attach & @LF & '>Error code: ' & @error & @LF) ;### Debug Console
If FileExists($S_Files2Attach[$x]) Then
$objEmail.AddAttachment ($S_Files2Attach[$x])
Else
ConsoleWrite('!> File not found to attach: ' & $S_Files2Attach[$x] & @LF)
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
If Number($IPPort) = 0 then $IPPort = 25
$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
; Set Email Importance
Switch $s_Importance
Case "High"
$objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "High"
Case "Normal"
$objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "Normal"
Case "Low"
$objEmail.Fields.Item ("urn:schemas:mailheader:Importance") = "Low"
EndSwitch
$objEmail.Fields.Update
; Sent the Message
$objEmail.Send
If @error Then
SetError(2)
Return $oMyRet[1]
EndIf
$objEmail=""
EndFunc ;==>_INetSmtpMailCom
;
;
; Com Error Handler
Func MyErrFunc()
$HexNumber = Hex($oMyError.number, ![]()
$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
mfg (Auto)Bert
Hallo ThePierre,
bist du dir sicher, dass deine Anmeldedaten stimmen
Siehe hierzu auch https://hilfe.freemail.web.de/freemail/e-mai…QtTX.1grcDm.44*da müssten die korrekten Servernamen stehen,
mfg (Auto)Bert
Hallo ThePierre,
du musst auch
[autoit]#include <INet.au3>
[/autoit]am Skriptanfang einfügen,
mfg (Auto)Bert
Hallo ThePierre,
schau dir hierzu
[autoit]_INetMail
[/autoit]bzw.
[autoit]_INetSmtpMail
[/autoit]in der Hilfe an. Beim 2. kann es sein dass es je nach Provider nicht funktioniert, schau dir dann [ offen ] _INetSmtpMail Buggy? an
mfg (Auto)Bert
Hallo Drop Dead,
Ist leider Uralt und funktioniert nichtmehr.
folgendes kleine Beispiel
[autoit]#include<MSN.au3>
$msn = _msncreate()
$state = _msngetstate($msn)
MsgBox(0,"Status",$state)
fnktioniert bei mir wunderbar,
mfg (Auto)Bert
Hallo ThePierre,
du hast doch hier: [ gelöst ] Fenster schließen... schon die nötigen Hinweise bekommen,
mfg (Auto)Bert
Hallo secret1994
du hast 2 Schleifen mit GuiGetMsg, eine davon ist überflüssig / schädlich.
Poste doch bitte das komplette Skript,
mfg (Auto)Bert
Hallo Secret1994,
sicher ist das möglich. Ich würde zuerst alle GUIs anlegen und diese GUI HIDEn. Du definierst eine GLOBALe Variable z.B. $toggle mit Wert FALSE. Beim Buttonklick prüfst du diese Variable und setzt abhängig von ihr mit GUISETSTATE den Status auf @SW_SHOW bzw. @SW_HIDE. Danach weisst du der Variable den gegnteiligen Wert zu:
[autoit]$toggle = not $toggle
[/autoit]mfg (Auto)Bert
Hallo emtec,
gebe die URL für InetGet auf folgende Art an: "http://myuser:mypassword@https://autoit.de/www.somesite.com"
mfg (Auto)Bert
Hallo dali4u,
das hängt mit dem Befehl Stringformat zusammen, %i ist dort ein Platzhalterzeichen für vorzeichenbehaftete Integer-Zahlen
mfg (Auto)Bert