Jump to content
UEZ

File to Base64 String Code Generator v1.20 Build 2015-01-20 (embed your files easily)

Recommended Posts

UEZ, this is just beautiful. But how do I do to create the image and associate the id, $idSave, $idCopy, etc.

Share this post


Link to post
Share on other sites

I created the image using XnView by appending each of the small images to the right side.

_GUICtrlToolbar_SetBitmapSize() defines the size of each image, _GUICtrlToolbar_AddBitmap() add the image to the toolbar and _GUICtrlToolbar_AddButton() associates each of the images.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Fixed a critical bug when multi files have been selected and compression was activated. The non compressed string was saved in function instead of compressed one (decompression function tried to decompress non compressed string)!

See post#1

Sorry,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

I've been using this in a script I was playing around with and I came up with a change that might be of interest. In the extraction process, when saving the file to disk, the function created will save the file to the @ScriptDir. I have modified the Create_Function function in the main script slightly, that allows for specifying where to save the file.

Func Create_Function(ByRef $Script, $VarName, $BinaryString, $BinStringLen, $LineLen, $compression, $BinarySuffix, $sFile)
    $Script &= "Func _" & $VarName & "($bSaveBinary = False, $sSavePath = @ScriptDir)" & @LF & @TAB & "Local $" & $VarName & @LF ; <<<<< Changed this line to include a save path variable, set to the default of the @scriptdir so no changes needed with old scripts
    If $BinStringLen > $LineLen Then 
        Local $aBinString = StringRegExp($BinaryString, ".{" & $LineLen & "}", 3)
        For $i = 0 To UBound($aBinString) - 1
            $Script &= @TAB & "$" & $VarName & " &= '" & $aBinString[$i] & "'" & @LF
        Next
        $Script &= @TAB & "$" & $VarName & " &= '" & $BinarySuffix & "'" & @LF
    Else
        $Script &= @TAB & "$" & $VarName & " &= '" & $BinaryString & "'" & @LF
    EndIf
    If Not $compression Then
        $Script &= @TAB & "Local $bString = Binary(_Base64Decode($" & $VarName & "))" & @LF
        $compressed = False
    Else
        $Script &= @TAB & "$" & $VarName & " = _Base64Decode($" & $VarName & ")" & @LF
        $Script &= @TAB & "Local $tSource = DllStructCreate('byte[' & BinaryLen($" & $VarName & ") & ']')" & @LF
        $Script &= @TAB & "DllStructSetData($tSource, 1, $" & $VarName & ")" & @LF
        $Script &= @TAB & "Local $tDecompress" & @LF
        $Script &= @TAB & "_WinAPI_LZNTDecompress($tSource, $tDecompress, " & FileGetSize($sFile) & ")" & @LF
        $Script &= @TAB & "$tSource = 0" & @LF
        $Script &= @TAB & "Local $bString = Binary(DllStructGetData($tDecompress, 1))" & @LF
        $compressed = True
    EndIf
    $Script &= @TAB & "If $bSaveBinary Then" & @LF
    $Script &= @TAB & @TAB & 'Local $hFile = FileOpen($sSavePath & "\' & $sFile & '", 18)' & @LF ; <<<<< changed this line t reference the new variable instead of using @ScriptDir
    $Script &= @TAB & @TAB & "FileWrite($hFile, $bString)" & @LF 
    $Script &= @TAB & @TAB & "FileClose($hFile)" & @LF
    $Script &= @TAB & "EndIf" & @LF
    $Script &= @TAB & "Return  $bString" & @LF
    $Script &= "EndFunc   ;==>_" & $VarName & @LF & @LF
EndFunc   ;==>Create_Function

One other thing, shouldn't all those @LF be @CRLF when dealing with text files on a Windows machine?


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Thanks BrewManNH for your suggestion. It makes the function more flexible regarding the save option.

I cannot remember why I added only @LF instead of @CRLF. I think the most editors will support @LF, too but I changed it @CRLF.

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

There is a shit bug since v1.11 Build 2013-02-19 where the binary code is not working when compress option is selected!

I'm wondering that nobody reported it here although a lot of downloads were made.

IF YOU ARE USING v1.11 Build 2013-02-19 or v1.11 Build 2013-03-25 PLEASE UPDATE IT!

Sorry for the inconveniences!

Br,

UEZ :>


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

I made a bunch of changes to your source a while back which must have inadvertently fixed the bug I suppose, cause I've successfully used it with compression enabled. If you're interested I can post or PM my version and you can cherry pick what you like.

Share this post


Link to post
Share on other sites

Sure, just send me your version I will pick the cherries if I can find them ;)

Btw, this was the faulty function:

Func Create_Function(ByRef $Script, $VarName, $BinaryString, $BinStringLen, $LineLen, $compression, $BinarySuffix, $sFile)
    $Script &= "Func _" & $VarName & "($bSaveBinary = False)" & @LF & @TAB & "Local $" & $VarName & @LF
    If $BinStringLen > $LineLen Then
        Local $aBinString = StringRegExp($BinaryString, ".{" & $LineLen & "}", 3)
        For $i = 0 To UBound($aBinString) - 1
            $Script &= @TAB & "$" & $VarName & " &= '" & $aBinString[$i] & "'" & @LF
        Next
        $Script &= @TAB & "$" & $VarName & " &= '" & $BinarySuffix & "'" & @LF
    Else
        $Script &= @TAB & "$" & $VarName & " &= '" & $BinaryString & "'" & @LF
    EndIf
    If Not $compression Then
        $Script &= @TAB & "Local $bString = Binary(_Base64Decode($" & $VarName & "))" & @LF
        $compressed = False
    Else
        $Script &= @TAB & "$" & $VarName & " = _Base64Decode($" & $VarName & ")" & @LF
        $Script &= @TAB & "Local $tSource = DllStructCreate('byte[' & BinaryLen($" & $VarName & ") & ']')" & @LF
        $Script &= @TAB & "DllStructSetData($tSource, 1, $" & $VarName & ")" & @LF
        $Script &= @TAB & "Local $tDecompress" & @LF
        $Script &= @TAB & "_WinAPI_LZNTDecompress($tSource, $tDecompress, " & FileGetSize($sFile) & ")" & @LF
        $Script &= @TAB & "$tSource = 0" & @LF
        $Script &= @TAB & "Local $bString = Binary(DllStructGetData($tDecompress, 1))" & @LF
        $compressed = True
    EndIf
    $Script &= @TAB & "If $bSaveBinary Then" & @LF
    $Script &= @TAB & @TAB & 'Local $hFile = FileOpen(@ScriptDir & "\' & $sFile & '", 18)' & @LF
    $Script &= @TAB & @TAB & "FileWrite($hFile, $bString)" & @LF
    $Script &= @TAB & @TAB & "FileClose($hFile)" & @LF
    $Script &= @TAB & "EndIf" & @LF
    $Script &= @TAB & "Return  $bString" & @LF
    $Script &= "EndFunc   ;==>_" & $VarName & @LF & @LF
EndFunc   ;==>Create_Function

Or better say the faulty line

$Script &= @TAB & "_WinAPI_LZNTDecompress($tSource, $tDecompress, " & FileGetSize($sFile) & ")" & @LF

was not working because FileGetSize($sFile) always returned 0 and thus decompression call was not successful everytime.

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

hello,

i convert an ini file, but how can i use it in my code?

how can i say, that the ini file at the string $keys are the code at _tasten?

sorry for my english

<snip>

Edited by Melba23
Code removed

Share this post


Link to post
Share on other sites

What are you trying to code? A keylogger?  :naughty:

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

hi

sorry no this is not a keylogger!

i`m a beginner in programming.

On my Workstation i have a mill Software for my milling machine.

I Need to save all the Numbers i type.

i find this code on Internet and Need to accommdate it

But i don`t understand how to include the ini file in my code

or is there an other way to do my code?

Share this post


Link to post
Share on other sites

turbobaby,

Please see this announcement to understand that any code that watches all keys is not permitted here - even if it is not a keylogger as such. However, if all you are looking for is to trap the numeric 0-9 keys then I might be prepared to accept that this would fall within the "a few keys" exception. ;)

So I suggest you start a new thread in "General Help & Support" explaining exactly what it is you want to do -"save all the Numbers i type" is a bit vague and you will need to be a lot clearer as to why you need to save these keystrokes and exactly what keys are involved. I look forward to reading it. :)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

You have to save your ini file first before you use it. This can be done by calling _Tasten(1) before you read your ini file.

Turbobaby: dein Programm klingt nach einem Keylogger, d.h. du bewegst dich in einer Grauzone bzw. in einer verbotenen Zone! Was ist eine Milling Machine?

Br,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

es ist eine Fräsmaschine und beim programmieren muss ich jeden Tag da tausende von Zahlen tippen.

Aber ich möchte gerne allgemein herausfinden, wie ich eine Datei in den Code integriere und mit einfachem Code die Datei abrufe.

Wenn ich so vorgehe, wie z.B. der Code mit der Wave abspielen Datei, dann gelingt es mir nicht die ini oder text Datei auszulesen und die Codes wiederzugeben.

Ich habe z.B. einen Code zusammengebastelt, mit dem ich meinen Router reconnecten kann.

Das sieht so aus:

$VERSION = "3.1.0.1"
if _Singleton("Skript",1) = 0 Then Exit
   
#Region AutoIt3Wrapper directives section
#RequireAdmin
#AutoIt3Wrapper_UseX64=Y
#AutoIt3Wrapper_OutFile_Type=exe
#AutoIt3Wrapper_OutFile_X64=Fritzbox reconnect x64.exe
#AutoIt3Wrapper_Compile_both=Y
;#AutoIt3Wrapper_Icon=FritzDSL.ico
#AutoIt3Wrapper_Outfile=Reconnect.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Comment=fritz!box reconnect
#AutoIt3Wrapper_Res_Description=Turbobaby's Reconnect
#AutoIt3Wrapper_Res_Fileversion=$VERSION
#AutoIt3Wrapper_Res_ProductVersion=3.1
#AutoIt3Wrapper_Res_Language=1031
#EndRegion

#include <IE.au3>
#include <INet.au3>
#include <GUIConstants.au3>
#include <Constants.au3>
#include <WebTCP.au3>
#include <Misc.au3>
#include <Array.au3>
#include <WinAPI.au3>
#include <Process.au3>
#include <APIConstants.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
#include <StaticConstants.au3>

Global $Paused
Global $_ConsoleText
Global $_LogFile
Global $LogDateiErstellen
$timerstart = TimerInit()
_Console("Mit ESC kann man den laufenden reconnect jederzeit unterbrechen.")
HotKeySet("{ESC}", "Beenden")

         _Console("Es wird überprüft ob die Datei reconnect.ini vorhanden ist")
If Not FileExists (@scriptdir & '\reconnect.ini') then call ("INIFILE")
   $LogDateiErstellen = IniRead("reconnect.ini","SONSTIGES","LogDateiErstellen",0)
         If not ($LogDateiErstellen="YES") Then IniWrite("reconnect.ini", "SONSTIGES", "LogDateiErstellen", "NEIN")
            If FileExists (@scriptdir & '\reconnect.log') Then _Console("--------------------------------------------------------------------------")
            _Console("Turbobaby's Reconnect " & $VERSION)
            _Console("reconnect.ini wird eingelesen")
   $FritzBox = IniRead("reconnect.ini","BOX","RouterIpTelefonie",0)
   $FritzBox2 = IniRead("reconnect.ini","BOX","RouterIpInternetverbindung",0)
   $Benutzer = IniRead("reconnect.ini","BOX","Benutzername",0)
   $Passwort = IniRead("reconnect.ini","BOX","Passwort",0)
   $Telefonie = IniRead("reconnect.ini","LINKS","Telefonie",0)
   $NeuVerbinden = IniRead("reconnect.ini","LINKS","NeuVerbinden",0)
   $UPNPVersuchen = IniRead("reconnect.ini","LINKS","UPNPVersuchen",0)
   $NeuStartenLink = IniRead("reconnect.ini","LINKS","NeuStartenLink",0)
   $NeuStarten = IniRead("reconnect.ini","LINKS","NeuStarten",0)
   $VoipCheck = IniRead("reconnect.ini","HTML","VoipCheck",0)
   $LogInUserFeld = IniRead("reconnect.ini","HTML","LogInUserFeld",0)
   $LogInPasswortFeld = IniRead("reconnect.ini","HTML","LogInPasswortFeld",0)
   $LogInButtonID = IniRead("reconnect.ini","HTML","LogInButtonID",0)
   $NeuVerbindenButton = IniRead("reconnect.ini","HTML","NeuVerbindenButton",0) 
   $NeuVerbindenID = IniRead("reconnect.ini","HTML","NeuVerbindenID",0)
   $NeuStartenButton = IniRead("reconnect.ini","HTML","NeuStartenButton",0) 
   $NeuStartenName = IniRead("reconnect.ini","HTML","NeuStartenName",0)   
   $ToolTipsAnzeigen = IniRead("reconnect.ini","SONSTIGES","ToolTipsAnzeigen",0)
   $Ton = IniRead("reconnect.ini","SONSTIGES","Ton",0)
   $VoipChecken = IniRead("reconnect.ini","SONSTIGES","VoipChecken",0)
   $ShowScreen = IniRead("reconnect.ini","SONSTIGES","ShowScreen",0)
   $ProgrammZeitlichBeenden = IniRead("reconnect.ini","SONSTIGES","ProgrammZeitlichBeenden",0)
   $ZEITLIMIT = IniRead("reconnect.ini","SONSTIGES","ZEITLIMIT",0)
   $ProgrammPausieren = IniRead("reconnect.ini","SONSTIGES","ProgrammPausieren",0)
   $PausenCountdown = IniRead("reconnect.ini","SONSTIGES","PausenCountdown",0)
   
      TraySetIcon("FritzDSL.ico")
      TraySetToolTip("Turbobaby's Reconnect " & $VERSION)
      Opt("TrayOnEventMode", 1)
      Opt("TrayMenuMode", 1)
      Opt("TrayAutoPause", 0)
      $INFO = TrayCreateItem("Über Turbobaby's Reconnect")
      $INIFILEINFO = TrayCreateItem("So sollte die Reconnect.ini Datei aussehen")
      TrayCreateItem("")
      $EXIT = TrayCreateItem("Reconnect Abbrechen")
      TrayItemSetOnEvent($INFO, "Info")
      TrayItemSetOnEvent($INIFILEINFO, "INIFILEINFO")
      TrayItemSetOnEvent(-1, "ExitEvent")

_Console("Eine GUI für den Internet Explorer wird erstellt.")
$oIE = _IECreateEmbedded()
$Form1 = GUICreate("FritzBox Reconnect", 1024, 640, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
$IE_1_GUI = GUICtrlCreateObj($oIE, 0, 0, @DesktopWidth, @DesktopHeight, $GUI_DOCKWIDTH + $GUI_DOCKHEIGHT + $ES_AUTOVSCROLL + $WS_VSCROLL)
If $ShowScreen='JA' Then GUISetState(@SW_SHOW)
If $ShowScreen='JA' Then GUISetState(@SW_MAXIMIZE)

If Ping($FritzBox,250)=0 Then Call ("RouterNichtGefunden")
If Ping($FritzBox2,250)=0 Then Call ("RouterNichtGefunden")
   
For $i = 10 To 1 Step -1
   $IPalt = _GetIP()
   $IPneu = $IPalt
   If $IPneu>0 then $i=0
Next
_Console("Die aktuelle IP wird abgefragt. Die Alte IP lautet: " & $IPalt)

_Console("Falls der Ton auf AN steht, sollte der jetzt abgespielt werden.")
$binWave = Wave()
$tWave = DllStructCreate('byte[' & BinaryLen($binWave) & ']')
$pWave = DllStructGetPtr($tWave)
DllStructSetData($tWave, 1, $binWave)
If $Ton = "AN" then _WinAPI_PlaySound($pWave, BitOR($SND_ASYNC, $SND_MEMORY, $SND_NOWAIT))
$tWave = 0
_Console("Mit F7 kann man die Info anzeigen lassen.")
HotKeySet("{F7}", "INIFILEINFO")

If $VoipChecken = 'JA' Then Call ("VORCHECK")

If $ProgrammPausieren="JA" Then
   HotKeySet("{PAUSE}", "Pause")
   _Console("Mit der Pause Taste kann mann das Programm pausieren.")
      For $i = $PausenCountdown To 1 Step -1
         If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: "& $IPalt &" - Neue IP: ?.?.?.?", "Keine Telefonate! Reconnect startet in " _
         & $i & " Sekunden."& @CRLF &"Zum pausieren des reconnects Pause-Taste drücken." , 20, 1)
         Sleep(1000)
      Next
EndIf

If $NeuStarten='JA' then
   call ("reboot")
Else
   Call ("VERBINDEN")
   Call ("ABGLEICH")
      For $i = 10 To 1 Step -1
         $IPneu = _GetIP()
         Sleep(100)
         If $IPneu>0 then $i=0
      Next
   _Console("Die IP wird nochmals abgefragt: " & $IPneu)
   If $IPneu = $IPalt Then Call ("VERBINDEN")
EndIf

If $IPneu = $IPalt Then
   For $i = 5 To 1 Step -1
      $IPneu = _GetIP()
      Sleep(100)
      If $IPneu>0 then $i=0
   Next
_Console("Die IP wird nochmals abgefragt: " & $IPneu)
EndIf

If $IPneu = $IPalt Then Call ("FEHLER")
Call ("ERFOLGREICH")
_Console("Neue Ip lautet: " & $IPneu)

Func ABGLEICH()
   For $i = 5 To 1 Step -1
      $IPneu = _GetIP()
      Sleep(100)
      If $IPneu>0 then $i=0
   Next
_Console("Die IP wird nochmals abgefragt: " & $IPneu)
EndFunc

Func VORCHECK()
      If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & " - Neue IP: ?.?.?.?", "Voip-Leitungen werden überprüft " , 20, 1)
      _Console("Jetzt wird zum ersten mal überprüft ob eine aktive Telefonieleitung besteht.")
      _Console("Die Seite http://" & $FritzBox & $Telefonie & " wird aufgerufen")
      _IENavigate($oIE, "http://" & $FritzBox & $Telefonie)
      $oUser =_IEGetObjByName($oIE,$LogInUserFeld)
      $oPass =_IEGetObjByName($oIE,$LogInPasswortFeld)
      $oSubmit = _IEGetObjByID($oIE,$LogInButtonID)
      _Console("Der Benutzername, falls benötigt, wird eingegeben.")
      _IEFormElementSetValue ($oUser, $Benutzer)
      _Console("Das Passwort, falls benötigt, wird eingegeben.")
      _IEFormElementSetValue ($oPass, $Passwort)
      _Console("Nun wird auf LOGIN gedrückt.")
      _IEAction ($oSubmit, "click")
      _IELoadWait($oIE)
      _Console("Nun wird die ganze HTML Seite in den Speicher geladen.")
      $HTML = _IEDocReadHTML ($oIE)
      _Console('Jetzt wird überprüft ob das Wort "'& $VoipCheck &'" in dem ausgelesenen HTML Code drin vorkommt.')
      $ueberpruefen = StringInStr($HTML, $VoipCheck)
      If $ueberpruefen=0 Then _Console("Keine Telefonate auf der " & $FritzBox & " entdeckt ")
      If $ueberpruefen>0 Then _Console("Vorcheck: Zurzeit wird über die " & $FritzBox & " telefoniert ")
      If $ueberpruefen>0 Then Call ("VOIPCHECK")
EndFunc
      
Func VERBINDEN()
   _Console("Alte IP war: " & $IPalt) 
   If $UPNPVersuchen="JA" Then Call ("UPNPNEUAUFBAUEN")
      For $i = 5 To 1 Step -1
         $IPneu = _GetIP()
         Sleep(100)
         If $IPneu>0 then $i=0
      Next
   _Console("Aktuelle IP überprüfen, sie lautet: " & $IPneu)
   If $IPneu = $IPalt Then Call ("NEUAUFBAUEN")
   If $IPneu = $IPalt Then $IPneu = _GetIP()
   If $IPneu = $IPalt Then _Console("Aktuelle IP überprüfen, sie lautet: " & $IPneu)
EndFunc
   
Func NEUAUFBAUEN()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
      " - Neue IP: ?.?.?.?", "Keine Telefonate! Die Internetverbindung wird über die FritzBox aufgebaut.", 20, 1)
         _IENavigate($oIE, "http://" & $FritzBox2 & $NeuVerbinden)
         $oUser =_IEGetObjByName($oIE,$LogInUserFeld)
         $oPass =_IEGetObjByName($oIE,$LogInPasswortFeld)
         $oSubmit = _IEGetObjByID($oIE,$LogInButtonID)
         _IEFormElementSetValue ($oUser, $Benutzer)
         _IEFormElementSetValue ($oPass, $Passwort)
         _IEAction ($oSubmit, "click")
         _IELoadWait($oIE)
         $HTML = _IEDocReadHTML ($oIE)
         $vorhanden = StringInStr($HTML,$NeuVerbindenButton)
         _Console('Das Wort "Neu verbinden" von dem Router "' & $FritzBox2 & '" steht auf der ' & $vorhanden & ' stelle')
         $Button = _IEGetObjByID ($oIE,$NeuVerbindenID)
         _IEAction($Button,"click")
         _IELoadWait($oIE)
EndFunc

Func UPNPNEUAUFBAUEN()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
      " - Neue IP: ?.?.?.?", "Keine Telefonate! Die Internetverbindung wird über UPnP neu aufgebaut.", 20, 1)
      _WebTcp_Startup() 
      $oWebTCP = _WebTcp_Create() 
      $sPacket = '<?xml version="1.0" encoding="utf-8"?>' & @CRLF & _ 
      '<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">' & @CRLF & _ 
      ' <s:Body>' & @CRLF & _ 
      ' <u:ForceTermination xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1" />' & @CRLF & _ 
      ' </s:Body>' & @CRLF & _ 
      '</s:Envelope>' 
      $oWebTCP.Navigate("http://" & $FritzBox2 & ":49000/upnp/control/WANIPConn1", $sPacket, "text/xml", 49000, _
      False, 'SOAPACTION: urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination') 
      _Console("Alte IP war: " & $IPalt) 
         For $i = 10 To 1 Step -1
            $IPneu = _GetIP()
            Sleep(100)
            If $IPneu>0 then $i=0
         Next
      _Console("aktuelle IP wird abgeglichen: " & $IPneu)
   EndFunc

Func ZEITLIMITEXIT()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
      " - Neue IP: ?.?.?.?","ACHTUNG: Das eingestellte Zeitlimit wurde erreicht. Programm wird beendet.", 20, 1)
   Sleep(5000)
   Call ("EXITEVENT")
EndFunc

Func FEHLER()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
      " - Neue IP: ?.?.?.?","F E H L E R: Reconnect war nicht erfolgreich. Programm wird beendet.", 20, 1)
   Sleep(5000)
   Call ("EXITEVENT")
EndFunc

Func RouterNichtGefunden()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
      " - Neue IP: ?.?.?.?","F E H L E R: Der Router wurde nicht gefunden. Programm wird beendet.", 20, 1)
   Sleep(5000)
   Call ("EXITEVENT")
EndFunc

Func ERFOLGREICH()
   If $NeuStarten='JA' then
      If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Neue IP: " & $IPneu, _
         "Router erfolgreich neu gestartet. Alte Ip war: " & $IPalt, 20, 1)
      Sleep (5000)
   Else
      If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Neue IP: " & $IPneu, _
         "Neue IP erfolgreich aufgebaut. Alte Ip war: " & $IPalt, 20, 1)
      Sleep (5000)
   EndIf
EndFunc

Func INFO()
    TrayTip("Turbobaby's Reconnect", "Version " & $VERSION, 20, 1)
    Sleep(2000)
 EndFunc
 
 Func INIFILEINFO()
   If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect", "Version " & $VERSION, 20, 1)
   $Text1 = '# Achtung: diese Datei kann gelöscht werden, wenn versehentlich zu viel experimentiert wurde.' _
   &@CRLF&'# Die Musterdatei wird dann automatisch neu erstellt.' _
   &@CRLF&'# Bitte passen sie die Einstellungen nach ihren Daten an.' _
   &@CRLF&@CRLF
   $Text2 = '[BOX]' _
   &@CRLF&'# Hier sind persönliche Dateien für die FritzBox.' _
   &@CRLF&'RouterIpTelefonie=192.168.177.1' _
   &@CRLF&'RouterIpInternetverbindung=192.168.177.100' _
   &@CRLF&'Benutzername=Max Mustermann' _
   &@CRLF&'Passwort=Test01' _
   &@CRLF&@CRLF
   $Text3 = '[LINKS]' _
   &@CRLF&'# Hier stehen die Links, wo auf der FritzBox zugegriffen wird.' _
   &@CRLF&'Telefonie=/login.lua?page=/home/home.lua' _
   &@CRLF&'NeuVerbinden=/login.lua?page=/internet/inetstat_monitor.lua' _
   &@CRLF&'UPNPVersuchen=JA' _
   &@CRLF&'NeuStartenLink=/login.lua?page=/system/reboot.lua' _
   &@CRLF&'NeuStarten=JA' _
   &@CRLF&@CRLF
   $Text4 = '[HTML]' _
   &@CRLF&'# Hier stehen die Wörter, wonach gesucht wird, bzw. wie die einzelnen Buttons und LogIn Felder heissen.' _
   &@CRLF&'VoipCheck=call_direction_' _
   &@CRLF&'LogInUserFeld=uiUser' _
   &@CRLF&'LogInPasswortFeld=uiPass' _
   &@CRLF&'LogInButtonID=uiSubmitLogin' _
   &@CRLF&'NeuVerbindenButton=Neu verbinden' _
   &@CRLF&'NeuVerbindenID=uiReconnectBtn' _
   &@CRLF&'NeuStartenButton=Neu starten' _
   &@CRLF&'NeuStartenName=reboot' _
   &@CRLF&@CRLF
   $Text5 = '[SONSTIGES]' _
   &@CRLF&'# Die Logdatei kann nur einmal erzeugt werden, danach wird der Wert automatisch auf NEIN gesetzt.' _
   &@CRLF&'# Die Datei dient rein für eine Fehleranalyse.' _
   &@CRLF&'# Diese Einstellung gehört zur BETA Phase, und wird in zukunft noch ausgebaut.' _
   &@CRLF&'# Zeitlimit in Sekunden einstellen z.B. 540 für 9 Minuten' _
   &@CRLF&'LogDateiErstellen=NEIN' _
   &@CRLF&'ToolTipsAnzeigen=AN' _
   &@CRLF&'Ton=AN' _
   &@CRLF&'VoipChecken=JA' _
   &@CRLF&'ShowScreen=NEIN' _
   &@CRLF&'ProgrammZeitlichBeenden=JA' _
   &@CRLF&'ZEITLIMIT=540' _
   &@CRLF&'ProgrammPausieren=JA' _
   &@CRLF&'PausenCountdown=10' _
   &@CRLF&@CRLF
   MsgBox (4096, "So sollte die Reconnect.ini Datei aussehen", $Text1 & $Text2 & $Text3 & $Text4 & $Text5 ,20)
    Sleep(2000)
EndFunc

Func INIFILE()
   _Console("Die Datei reconnect.ini wurde nicht gefunden, Programm wird beendet.")
   TrayTip("Turbobaby's Reconnect " & $VERSION, _
   "A C H T U N G: reconnect.ini Datei nicht gefunden. Musterdatei wird erstellt und das Programm beendet.", 20, 1)
   $Text1 = '# Achtung: diese Datei kann gelöscht werden, wenn versehentlich zu viel experimentiert wurde.' _
   &@CRLF&'# Die Musterdatei wird dann automatisch neu erstellt.' _
   &@CRLF&'# Bitte passen sie die Einstellungen nach ihren Daten an.' _
   &@CRLF&@CRLF
   $Text2 = '[BOX]' _
   &@CRLF&'# Hier sind persönliche Dateien für die FritzBox.' _
   &@CRLF&'RouterIpTelefonie=192.168.177.1' _
   &@CRLF&'RouterIpInternetverbindung=192.168.177.100' _
   &@CRLF&'Benutzername=Max Mustermann' _
   &@CRLF&'Passwort=Test01' _
   &@CRLF&@CRLF
   $Text3 = '[LINKS]' _
   &@CRLF&'# Hier stehen die Links, wo auf der FritzBox zugegriffen wird.' _
   &@CRLF&'Telefonie=/login.lua?page=/home/home.lua' _
   &@CRLF&'NeuVerbinden=/login.lua?page=/internet/inetstat_monitor.lua' _
   &@CRLF&'UPNPVersuchen=JA' _
   &@CRLF&'NeuStartenLink=/login.lua?page=/system/reboot.lua' _
   &@CRLF&'NeuStarten=JA' _
   &@CRLF&@CRLF
   $Text4 = '[HTML]' _
   &@CRLF&'# Hier stehen die Wörter, wonach gesucht wird, bzw. wie die einzelnen Buttons und LogIn Felder heissen.' _
   &@CRLF&'VoipCheck=call_direction_' _
   &@CRLF&'LogInUserFeld=uiUser' _
   &@CRLF&'LogInPasswortFeld=uiPass' _
   &@CRLF&'LogInButtonID=uiSubmitLogin' _
   &@CRLF&'NeuVerbindenButton=Neu verbinden' _
   &@CRLF&'NeuVerbindenID=uiReconnectBtn' _
   &@CRLF&'NeuStartenButton=Neu starten' _
   &@CRLF&'NeuStartenName=reboot' _
   &@CRLF&@CRLF
   $Text5 = '[SONSTIGES]' _
   &@CRLF&'# Die Logdatei kann nur einmal erzeugt werden, danach wird der Wert automatisch auf NEIN gesetzt.' _
   &@CRLF&'# Die Datei dient rein für eine Fehleranalyse.' _
   &@CRLF&'# Diese Einstellung gehört zur BETA Phase, und wird in zukunft noch ausgebaut.' _
   &@CRLF&'# Zeitlimit in Sekunden einstellen z.B. 540 für 9 Minuten' _
   &@CRLF&'LogDateiErstellen=NEIN' _
   &@CRLF&'ToolTipsAnzeigen=AN' _
   &@CRLF&'Ton=AN' _
   &@CRLF&'VoipChecken=JA' _
   &@CRLF&'ShowScreen=NEIN' _
   &@CRLF&'ProgrammZeitlichBeenden=JA' _
   &@CRLF&'ZEITLIMIT=540' _
   &@CRLF&'ProgrammPausieren=JA' _
   &@CRLF&'PausenCountdown=10' _
   &@CRLF&@CRLF
   FileWrite(@scriptdir & '\reconnect.ini', $Text1 & $Text2 & $Text3 & $Text4 & $Text5)
   Sleep (10000)
   Exit
EndFunc

Func VOIPCHECK()
   do
      If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
         " - Neue IP: ?.?.?.?", "Achtung, zur Zeit werden noch Telefonate über die FritzBox geführt." , 20, 1)
         _IENavigate($oIE, "http://" & $FritzBox & $Telefonie)
         $oUser =_IEGetObjByName($oIE,$LogInUserFeld)
         $oPass =_IEGetObjByName($oIE,$LogInPasswortFeld)
         $oSubmit = _IEGetObjByID($oIE,$LogInButtonID)
         _IEFormElementSetValue ($oUser, $Benutzer)
         _IEFormElementSetValue ($oPass, $Passwort)
         _IEAction ($oSubmit, "click")
         _IELoadWait($oIE)
         $HTML = _IEDocReadHTML ($oIE)
         $ueberpruefen = StringInStr($HTML, $VoipCheck)
         _Console("Ausgabewert von der " & $FritzBox & ": " & $ueberpruefen)
         If $ProgrammZeitlichBeenden="JA" And TimerDiff($timerstart) > $ZEITLIMIT*1000 Then Call("ZEITLIMITEXIT")
         If $ueberpruefen > 0 Then Sleep (10000)
   until $ueberpruefen=0
EndFunc

 Func _WinAPI_PlaySound($sSound, $iFlags = 0x00020010, $hInstance = 0)
    Local $TypeOfSound = 'ptr'
    If $sSound Then
        If IsString($sSound) Then  $TypeOfSound = 'wstr'
    Else
        $sSound = 0
        $iFlags = 0
    EndIf
    Local $Ret = DllCall('winmm.dll', 'int', 'PlaySoundW', $TypeOfSound, $sSound, 'ptr', $hInstance, 'dword', $iFlags)
    If (@error) Or (Not $Ret[0]) Then Return SetError(1, 0, 0)
    Return 1
EndFunc   ;==>_WinAPI_PlaySound

Func Wave()
    Local $Wave
    $Wave &= 'UklGRmhPAABXQVZFYmV4dFoCAABwb3B1cCBibG9ja2VyIDQxMGkAAAAAAAAAAAAAAAAAAAAAAA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ABMAFQALAAkACgAZAAoAAQARABsAEQAVABEABwATAB4ADQATABMACQAaACMAFAARABYAGwAfABkADwATABsAHAAUABwAFAAeAC0AGwAJABwALgAeABMAIQAgABUADQAgACgA'
    $Wave &= 'HgAPACEAGwAQAB0AKQAdABAAEwAgACAAHgAYABwAGgAKAA8AFwAaACAAHQAcABEACQANACEAIgARABYAEwAPABsAFgAXABQAFQAPABAAFAAVAAcACgAbABcABwAKAB0AEQAPABkABwAOAB8ADgAHAA4ADwAKABMAEQAPAAwACgAOAAcAFwAaAP7//P8ZABQACQATAAkAAwAQAAUABwAUABAAAwAJABQACgAAAAcAFgAQAP7/BwAPAAAACgAOAAsAAQD6/wUABwAFAAMAEQAFAPz/AAABAAoAFQD2//r/FAAHAPb/DgAHAAEACwABAAAABwD8//r/DwAFAPL//P8NABUA/v/o//7/DgABAAAACwD+/wAACQD+/wcABQDx//z/DgAFAAEAAQAAAAEA+v8DABEA9v/q/wUA/v/2/wEABQABAPT/9f8HAAEA+P/8//j/9f8AAPz//v/+//X/8/8DAAEA9f/6/wEABQD2//H/AQAHAPX/+v8DAAUA+v/q/wcADAD4/+7/AQABAAAA9f/y/wAACgABAO7/+v/+//z/BQD2//z/AwAAAPX/AQADAPb//P8HAPr//P8AAPD/+P8PAP7/9P/6/wEAAAD+//j/AQD6//r/AAD1//7/AAD+/wAA9v8BAAAA+v8DAPr/7P8AAAkABQDx//D//P8BAAoAAwD4//z/+v/6/wMA/v8AAPb//P8AAAMA+v/4//7/+P8BAAcA8v/6/woAAQDu//j/BwD+//r/AQADAPr/+P/+/wAAAADy//j/CgAAAPX//v/6//X/+v8AAAMA/P/0//z/BQD4//D/AAADAPr/BQD8//b/AAD8/wEAAAABAAAA+P/8/wkAAAD2//r/BwABAAEABwAVABEAGwAdADIAJAArADkAVABFAEsAUgBbAFYAewBxAHgAewCaAJAAjwCbALwAnwC+AMIA1gDLAOgA3ADtAOwA/ADvAAIB+QARAQ0BGgEKASYBHQEqASsBPgErAT4BMQE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wBMADMANwBjAFgAOQA+AFEATgBFAD0ASwBDAEIATgBFAD4ASwBHAD0AMwBFAEUAJQAwAEsAPwAjAC0AQQA3ACkAIgAcAB8AHgAoADkAIgD+/xgALwATAP7/DQAjAA8A/P8LAAUA/v8TAAsA7//8//z//v/x//7/AwDi/97/+P/s/+f/4f/f/+z/6f/I/9v/0P/U/9r/z//S/+L/yv/A/8r/1v9yZWduXAAAAAEAAAAAAAAAAAAAKry4EsA6Ip9cAAAAAAAAAAC4EgAAAAAAAAAAAAAAAAAA6SzKMgAAAADpLMoyAAAAABJwb3B1cCBibG9ja2VyIDQxMGkAAAAAAAAu+Ob5LsQBb3Z3ZgQAAAAAAAAAdW1pZBgAAAAAAAAAAAAAKry4EsA6Ip9cAAAAAAAAAAA='
Return Binary(_Base64Decode($Wave))
EndFunc

Func _Base64Decode($input_string)
    Local $struct = DllStructCreate("int")
    Local $a_Call = DllCall("Crypt32.dll", "int", "CryptStringToBinary", "str", $input_string, "int", 0, "int", 1, "ptr", 0, "ptr", DllStructGetPtr($struct, 1), "ptr", 0, "ptr", 0)
    If @error Or Not $a_Call[0] Then Return SetError(1, 0, "")
    Local $a = DllStructCreate("byte[" & DllStructGetData($struct, 1) & "]")
    $a_Call = DllCall("Crypt32.dll", "int", "CryptStringToBinary", "str", $input_string, "int", 0, "int", 1, "ptr", DllStructGetPtr($a), "ptr", DllStructGetPtr($struct, 1), "ptr", 0, "ptr", 0)
    If @error Or Not $a_Call[0] Then Return SetError(2, 0, "")
    Return DllStructGetData($a, 1)
EndFunc   ;==>_Base64Decode

Func reboot()
      If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
         " - Neue IP: ?.?.?.?", "Keine Telefonate! Der Router wird neu gestartet.", 20, 1)
         _IENavigate($oIE, "http://" & $FritzBox2 & $NeuStartenLink)
         $oUser =_IEGetObjByName($oIE,$LogInUserFeld)
         $oPass =_IEGetObjByName($oIE,$LogInPasswortFeld)
         $oSubmit = _IEGetObjByID($oIE,$LogInButtonID)
         _IEFormElementSetValue ($oUser, $Benutzer)
         _IEFormElementSetValue ($oPass, $Passwort)
         _IEAction ($oSubmit, "click")
         _IELoadWait($oIE)
         $HTML = _IEDocReadHTML ($oIE)
         $vorhanden = StringInStr($HTML,$NeuStartenButton)
         _Console('Das Wort "Neu starten" von dem Router ' & $FritzBox2 & ' steht auf der Stelle: ' & $vorhanden)
         $Button = _IEGetObjByName ($oIE,$NeuStartenName)
         _IEAction($Button,"click")
         _IELoadWait($oIE)
         sleep(24000)
         call("verbunden")
      EndFunc
      
Func verbunden()
   $verbunden=0
   For $i=5 To 1 Step -1
   If $verbunden=0 Then
         _IENavigate($oIE, "http://" & $FritzBox2 & $NeuVerbinden)
         $oUser =_IEGetObjByName($oIE,$LogInUserFeld)
         $oPass =_IEGetObjByName($oIE,$LogInPasswortFeld)
         $oSubmit = _IEGetObjByID($oIE,$LogInButtonID)
         _IEFormElementSetValue ($oUser, $Benutzer)
         _IEFormElementSetValue ($oPass, $Passwort)
         _IEAction ($oSubmit, "click")
         _IELoadWait($oIE)
         $HTML = _IEDocReadHTML ($oIE)
         $verbunden = StringInStr($HTML,'verbunden seit')
         _Console('Das Wort "Neu starten" von dem Router ' & $FritzBox2 & ' steht auf der Stelle: ' & $verbunden)
         _IELoadWait($oIE)
         sleep(24000)
   Else
   EndIf
   If $verbunden>0 then $i=0
   Next
EndFunc

Func _Console($_ConsoleText)
   ConsoleWrite($_ConsoleText &@CRLF)
      If $LogDateiErstellen='JA' or $LogDateiErstellen='YES' Then
         $_LogFile=FileOpen(@scriptdir&"\reconnect.log", 1)
         FileWrite(@scriptdir&"\reconnect.log",@CRLF&@MDAY&"."&@MON&"."&@YEAR&" - "&@HOUR&":"&@MIN&":"&@SEC&"          "&$_ConsoleText)
         FileClose($_LogFile)
      EndIf
EndFunc

Func Pause()
   If $ProgrammPausieren='JA' Then
         $Paused = NOT $Paused
      IF $Paused = True Then _Console("Programm wurde mit Pause-Taste pausiert")
      IF $Paused = False Then _Console("Programm wurde mit der Pause-Taste wieder aktiviert")
   While $Paused
        sleep(1000)
        If $ToolTipsAnzeigen="AN" Then TrayTip("Turbobaby's Reconnect. Alte IP: " & $IPalt & _
           " - Neue IP: ?.?.?.?", "Das Programm wurde mit der Pause-Taste pausiert!"& @CRLF &"Pause-Taste wieder drücken zum fortfahren.", 20, 1)
        If $ProgrammZeitlichBeenden="JA" And TimerDiff($timerstart) > $ZEITLIMIT*1000 Then Call("ZEITLIMITEXIT")
    WEnd
   EndIf
EndFunc   
   
Func Beenden()
      _Console("Programm wurde mit ESC beendet")
   Exit 0
EndFunc

Func EXITEVENT()
    Exit
 EndFunc

meine ini Datei sieht dann so aus:

# Achtung: diese Datei kann gelöscht werden, wenn versehentlich zu viel experimentiert wurde.
# Die Musterdatei wird dann automatisch neu erstellt.
# Bitte passen sie die Einstellungen nach ihren Daten an.

[BOX]
# Hier sind persönliche Dateien für die FritzBox.
RouterIpTelefonie=192.168.177.1
RouterIpInternetverbindung=192.168.177.100
Benutzername=Max Mustermann
Passwort=Test01

[LINKS]
# Hier stehen die Links, wo auf der FritzBox zugegriffen wird.
Telefonie=/login.lua?page=/home/home.lua
NeuVerbinden=/login.lua?page=/internet/inetstat_monitor.lua
UPNPVersuchen=JA
NeuStartenLink=/login.lua?page=/system/reboot.lua
NeuStarten=JA

[HTML]
# Hier stehen die Wörter, wonach gesucht wird, bzw. wie die einzelnen Buttons und LogIn Felder heissen.
VoipCheck=call_direction_
LogInUserFeld=uiUser
LogInPasswortFeld=uiPass
LogInButtonID=uiSubmitLogin
NeuVerbindenButton=Neu verbinden
NeuVerbindenID=uiReconnectBtn
NeuStartenButton=Neu starten
NeuStartenName=reboot

[SONSTIGES]
# Die Logdatei kann nur einmal erzeugt werden, danach wird der Wert automatisch auf NEIN gesetzt.
# Die Datei dient rein für eine Fehleranalyse.
# Diese Einstellung gehört zur BETA Phase, und wird in zukunft noch ausgebaut.
# Zeitlimit in Sekunden einstellen z.B. 540 für 9 Minuten
LogDateiErstellen=NEIN
ToolTipsAnzeigen=AN
Ton=AN
VoipChecken=JA
ShowScreen=NEIN
ProgrammZeitlichBeenden=JA
ZEITLIMIT=540
ProgrammPausieren=JA
PausenCountdown=10

Jetzt würde ich gerne, wenn da keine ini Datei vorhanden ist, eine Standard Datei benutzen mit standartwerten

Aber wie kann ich in diesem Fall die Datei Binär auslesen und den Befehlen zuordnen?

Ist so was überhaupt mit diesem hier angebotenem Code möglich?

Es soll jetzt nur ein Beispiel sein, denn ich möchte den Ablauf versuchen zu verstehen

Share this post


Link to post
Share on other sites

turbobaby,

Please post in English - my rusty German can just about get the gist of all that, but we prefer it if everyone can read and understand. ;)

You say you tap in thousands of numbers each day - why do you need to store them? Are the tasks repetitive to that extent? :huh:

Please understand that I am trying my best to allow this discussion to continue so any help you can offer as to why you want to trap keystrokes is in your own best interests. ;)

M23


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

the numbers i type is not relevant

i want only for research to find out, how many numbers i type in a day in a week and in month.

and how i just wrote, i find this code on Internet, but this is only incidental.

i want generally to find out how can i use an ini or a txt file in the same code

if i try to reprogram the example wave code, than it make a mistake

example:

i have an in file as follows

 

[name]
Name=John
LastName=Miller

[residence]
Place=Berlin
PostalCode=01234
Street=Hamingway 4

How can i read the Words, if this ini file is in the same Code included?

Share this post


Link to post
Share on other sites

As posted in post #96 you have to extract the binary string first:

<snip>

Br,

UEZ

Edited by Melba23
Code removed

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By matwachich
      AutoIt3 Lua Wrapper
      This is an AutoIt3 wrapper for the Lua scripting language. Consider it beta software, but since I will be using it in commercial product, expect it to evolve.
      It has been developped with Lua 5.3.5. Updates will come for new Lua version.
      Everything works just fine, except one (big) limitation: Anything that throws a Lua error (using C setjmp/longjmp functionality) will crash your AutoIt program. That means that it is impossible to use throw errors from an AutoIt function called by Lua (luaL_check*, lua_error...).
      It is hosted in Github: https://github.com/matwachich/au3lua
      Simple example
      #include <lua.au3> #include <lua_dlls.au3> ; Initialize library _lua_Startup(_lua_ExtractDll()) OnAutoItExitRegister(_lua_Shutdown) ; create new execution state $pState = _luaL_newState() _luaopen_base($pState) ; needed for the lua's print function $iRet = _luaL_doString($pState, 'print("Hello, world!")') If $iRet <> $LUA_OK Then ; read the error description on top of the stack ConsoleWrite("!> Error: " & _lua_toString($pState, -1) & @CRLF) Exit EndIf ; close the state to free memory (you MUST call this function, this is not AutoIt's automatic memory management, it's a C library) _lua_close($pState)
    • By Belini
      I am testing version 2.0.0.0 which runs on windows xp but could not send any command to the player using StdinWrite () does this player support slave mode? Is it possible to send commands to MPV as they are sent to Mplayer?
    • By Zombie02
      Hello Guys i am new to Autoit. I am currently writing a GUI which is displaying a avi. My question now is how can i use a avi i added with Autoit3wrapper
      Thanks is advance
      Zombie
    • By Viszna
      Hello.
      I create a function that saves the log to an html file.
      File html are included picture (conversion to Base64)
      Everything works OK.
      But I do the actions:
      screenshot to the png file (smaller than bmp) per disk (  _ScreenCapture_Capture(@ScriptDir & "\screenshot.png")  ) convert image from disk to base64 I need help to optimize the script:
      - screenshot to memory (do not save to disk) - convert this object to png in memory - invoking the conversion of png image from memory to base64 The first step _ScreenCapture_Capture("") create handle to an HBITMAP in memory
      How to convert image in memory to png?
      How to use Func _ConvertToBase64
      I attach my code
      #include <ScreenCapture.au3> #include <Date.au3> Global $RaportFileName = @YEAR & "-" & @MON & "-" & @MDAY & "_" & @HOUR & "_" & @MIN & "_" & @SEC & ".html" $text = "This is first line text" & @CRLF &"and this is next line" _Raport($text, 1) FileWrite(@ScriptDir & "\" & $RaportFileName, "</pre></html>") ; #FUNCTION# ==================================================================================================================== ; Name ..........: _Raport ; Description ...: ; Syntax ........: _Raport($sText1[, $Screen = 0]) ; Parameters ....: $sText1 - a string value. ; $Screen - [optional] an unknown value. Default is 0. ; 0 - Default - do not screenshot ; 1 - added screenshot full desktop ; Return values .: None ; Author ........: Your Name ; Modified ......: ; Remarks .......: ; Related .......: ; Link ..........: ; Example .......: No ; =============================================================================================================================== Func _Raport($sText1, $Screen=0) Local $sText = "" Local $sHead = "" ; Define HTML file header and style $sHead = '<html>' & @CRLF & '<head><meta charset="utf-8"></head>' & @CRLF $sHead = $sHead & '<style>img{border:3px solid #FF0000;}</style>' & @CRLF $sHead = $sHead & '<style>pre{font-family: monospace;}</style>' & @CRLF $sHead = $sHead & '<style>pre{font-size: large;}</style>' & @CRLF $sHead = $sHead & '<pre>' & @CRLF If NOT FileExists(@ScriptDir & "\" & $RaportFileName) Then ; If file Raport not exist then create FileOpen(@ScriptDir & "\" & $RaportFileName, 258) FileWrite(@ScriptDir & "\" & $RaportFileName, $sHead) EndIf If StringInStr($sText1, @CRLF) > 0 Then ; @CRLF (ENTER) change the @CRLF and 11 space (indentation on width "[GG:MM:SS] ") $sText1 = StringReplace($sText1, @CRLF, @CRLF & '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;') EndIf $sText = $sText & $sText1 If $Screen <> 0 Then _ScreenCapture_Capture(@ScriptDir & "\screenshot.png") $sText = $sText & @CRLF & '<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' & '<img src="data:image/png;base64,' & _ConvertToBase64(@ScriptDir & "\screenshot.png") & '"/>' EndIf FileWrite(@ScriptDir & "\" & $RaportFileName, "[" & _NowTime(5) & "]&nbsp;" & $sText & "<br><br>"&@CRLF) ; write to file Raport EndFunc Func _ConvertToBase64($fFile) ;Xroot 2011 ;ClipPut("") ;$FN=@ScriptDir & "\screenshot.png" $FN=$fFile $dat=FileRead(FileOpen($FN,16)) $objXML=ObjCreate("MSXML2.DOMDocument") $objNode=$objXML.createElement("b64") $objNode.dataType="bin.base64" $objNode.nodeTypedValue=$dat ClipPut("") $Wynik = "" ;ClipPut($objNode.Text) $Wynik = $objNode.Text Return $Wynik EndFunc P.S.
      Excuse me my not good English.
    • By vin1
      i have a script that selects  a text file and deletes a line (text input required) in the text file selected
      i have to make it remove all lines found on a file i name, toRemoveLines.txt
      it has to remove lines from all text files found in a folder
      this is the script that has to be modified
      where it says "select file" it has to be "select folder"
      where it says "line text input" it has to be all lines from a text file
      #Include <File.au3> Global $success = False $file_name = FileOpenDialog("Select file", @ScriptDir, "All files (*.*)", 1+4) $line_text_input = InputBox("Line's text", "Line must contain following text:", "line contains this text") $file_count_lines = _FileCountLines($file_name) for $i = 0 to $file_count_lines $Lines_text_output = FileReadLine($file_name, $i) if StringInStr($Lines_text_output, $line_text_input) then _FileWriteToLine($file_name, $i, "", 1) $success = True ExitLoop EndIf Next if $success = True Then MsgBox(0, "Success", "Line has been deleted") Else MsgBox(0, "Failure", "Line wasn't found") EndIf  
×
×
  • Create New...