Version 2.0.0.7
This commit is contained in:
parent
aea53434e3
commit
4e7927518b
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.bak
|
BIN
Chatbox.zip
Normal file
BIN
Chatbox.zip
Normal file
Binary file not shown.
44
Colored_Text_Test.au3
Normal file
44
Colored_Text_Test.au3
Normal file
@ -0,0 +1,44 @@
|
||||
#include <ButtonConstants.au3>
|
||||
#include <EditConstants.au3>
|
||||
#include <GUIConstantsEx.au3>
|
||||
#include <WindowsConstants.au3>
|
||||
#include <GuiRichEdit.au3>
|
||||
#include <Color.au3>
|
||||
|
||||
#Region ### START Koda GUI section ### Form=
|
||||
$Form1 = GUICreate("Form1", 345, 290, 192, 124)
|
||||
$hRichEdit = _GUICtrlRichEdit_Create($Form1, "", 40, 16, 273, 175, BitOR($ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL,$ES_NOHIDESEL))
|
||||
$Input1 = GUICtrlCreateInput("[Account]", 40, 202, 121, 21)
|
||||
$Input2 = GUICtrlCreateInput("mein text", 40, 232, 121, 21)
|
||||
$Input3 = GUICtrlCreateInput("zusatz", 40, 262, 121, 21)
|
||||
$Button1 = GUICtrlCreateButton("Button1", 192, 232, 75, 25, $WS_GROUP)
|
||||
GUISetState(@SW_SHOW)
|
||||
#EndRegion ### END Koda GUI section ###
|
||||
|
||||
While 1
|
||||
$nMsg = GUIGetMsg()
|
||||
Switch $nMsg
|
||||
Case $GUI_EVENT_CLOSE
|
||||
Exit
|
||||
Case $Button1
|
||||
_GUICtrlRichEdit_SetSel($hRichEdit,-1,-1)
|
||||
_GUICtrlRichEdit_AppendText($hRichEdit,GUICtrlRead($Input1))
|
||||
_RichEdit_AddColoredText($hRichEdit, GUICtrlRead($Input2), 0xFF0000)
|
||||
_RichEdit_AddColoredText($hRichEdit,"|", 0x000000)
|
||||
_RichEdit_AddColoredText($hRichEdit,GUICtrlRead($Input3), 0x00FF00)
|
||||
_RichEdit_AddColoredText($hRichEdit, @CR, 0x000000)
|
||||
EndSwitch
|
||||
WEnd
|
||||
|
||||
|
||||
|
||||
Func _RichEdit_AddColoredText($hRichEdit, $sText, $nColor)
|
||||
;SEuBo
|
||||
Local $aSel, $aNSel
|
||||
$aSel = _GUICtrlRichEdit_GetSel($hRichEdit) ; aktuelle Cursorpos.
|
||||
_GUICtrlRichEdit_AppendText($hRichEdit, $sText) ; Text ahängen
|
||||
$aNSel = _GUICtrlRichEdit_GetSel($hRichEdit) ; Cursorpos nach dem Text einfügen
|
||||
_GUICtrlRichEdit_SetSel($hRichEdit, $aSel[0], $aNSel[0], True) ; Geschriebenen Text wählen
|
||||
_GUICtrlRichEdit_SetCharColor($hRichEdit, $nColor) ; Einfärben
|
||||
_GUICtrlRichEdit_SetSel($hRichEdit, -1, -1) ; Und cursor ans ende setzen
|
||||
EndFunc ;==>_RichEdit_AddColoredText
|
BIN
Icon256-32.ico
Normal file
BIN
Icon256-32.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 65 KiB |
219
Tail.au3
Normal file
219
Tail.au3
Normal file
@ -0,0 +1,219 @@
|
||||
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
|
||||
#AutoIt3Wrapper_UseUpx=n
|
||||
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
|
||||
; ===============================================================================================================================
|
||||
#include <GuiConstantsEx.au3>
|
||||
#include <EditConstants.au3>
|
||||
#include <WindowsConstants.au3>
|
||||
; ===============================================================================================================================
|
||||
Global Const $INI = @ScriptDir & "\Tail.ini"
|
||||
Global Const $W = 750
|
||||
Global Const $H = 500
|
||||
Global Const $MinW = 600
|
||||
Global Const $MinH = 400
|
||||
; ===============================================================================================================================
|
||||
Global $LogFile = ""
|
||||
Global $LogPath = IniRead($INI, "Tail", "Path", "")
|
||||
Global $MaxBytes = 1024
|
||||
$aM = DllCall("User32.dll", "Int", "GetSystemMetrics", "Int", 15) ; SM_CYMENU = 15
|
||||
$DH = 20 + $aM[0]
|
||||
; ===============================================================================================================================
|
||||
Opt("GUIOnEventMode", 1)
|
||||
Opt("GUICloseOnESC", 0)
|
||||
Opt("GUIResizeMode", BitOR($GUI_DOCKSIZE, $GUI_DOCKLEFT, $GUI_DOCKBOTTOM))
|
||||
$hGUI = GUICreate("Tail", $W, $H, -1, -1, BitOr($GUI_SS_DEFAULT_GUI, $WS_SIZEBOX, $WS_MAXIMIZEBOX))
|
||||
GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")
|
||||
$idFileMenu = GUICtrlCreateMenu("&File")
|
||||
$idOpen = GUICtrlCreateMenuItem("&Open", $idFileMenu)
|
||||
GUICtrlSetOnEvent(-1, "_Open")
|
||||
$idRead = GUICtrlCreateMenuItem("&Read", $idFileMenu)
|
||||
GUICtrlSetOnEvent(-1, "_Read")
|
||||
GUICtrlSetState(-1, $GUI_DISABLE)
|
||||
GUICtrlCreateMenuItem("", $idFileMenu)
|
||||
$idExit = GUICtrlCreateMenuItem("&Exit", $idFileMenu)
|
||||
GUICtrlSetOnEvent(-1, "_Exit")
|
||||
$idEditMenu = GUICtrlCreateMenu("&Edit")
|
||||
$idClear = GUICtrlCreateMenuItem("&Clear", $idEditMenu)
|
||||
GUICtrlSetState(-1, $GUI_DISABLE)
|
||||
GUICtrlSetOnEvent(-1, "_Clear")
|
||||
$idSave = GUICtrlCreateMenuItem("&Save", $idEditMenu)
|
||||
GUICtrlSetState(-1, $GUI_DISABLE)
|
||||
GUICtrlSetOnEvent(-1, "_Save")
|
||||
$idTailMenu = GUICtrlCreateMenu("&Tail")
|
||||
$idStart = GUICtrlCreateMenuItem("&Start", $idTailMenu)
|
||||
GUICtrlSetState(-1, $GUI_DISABLE)
|
||||
GUICtrlSetOnEvent(-1, "_StartStop")
|
||||
$idBytesMenu = GUICtrlCreateMenu("&Bytes")
|
||||
$idBytes = GUICtrlCreateMenuItem($MaxBytes, $idBytesMenu)
|
||||
GUICtrlSetOnEvent(-1, "_Bytes")
|
||||
$idEdit = GUICtrlCreateEdit("", 0, 0, $W, $H - $DH, BitOR($GUI_SS_DEFAULT_EDIT, $ES_READONLY))
|
||||
GUICtrlSetResizing(-1, $GUI_DOCKBORDERS)
|
||||
GUICtrlSetColor(-1, 0x000080)
|
||||
GUICtrlSetBkColor(-1, 0xFFFFFF)
|
||||
GUICtrlSetFont(-1, 9, -1, -1, "Courier New")
|
||||
GUICtrlSendMsg(-1, $EM_LIMITTEXT, 0, 0)
|
||||
$idStatus = GUICtrlCreateInput("", 0, $H - $DH, $W, 20, $ES_READONLY)
|
||||
GUICtrlSetResizing(-1, BitOR($GUI_DOCKLEFT, $GUI_DOCKRIGHT, $GUI_DOCKBOTTOM, $GUI_DOCKHEIGHT))
|
||||
$idDummy = GUICtrlCreateDummy()
|
||||
GUICtrlSetOnEvent(-1, "_Update")
|
||||
GUIRegisterMsg($WM_GETMINMAXINFO, "_MinInfo")
|
||||
GUISetState()
|
||||
While True
|
||||
Sleep(1000)
|
||||
WEnd
|
||||
; ===============================================================================================================================
|
||||
; GUI & menu functions
|
||||
; ===============================================================================================================================
|
||||
Func _Exit()
|
||||
AdlibUnRegister("_Tail_AdLib")
|
||||
GUIDelete()
|
||||
Sleep(250)
|
||||
Exit
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _MinInfo($hWnd, $iMsg, $wParam, $lParam)
|
||||
Local $MINMAXINFO = DllStructCreate("LONG[10]", $lParam)
|
||||
DllStructSetData($MINMAXINFO, 1, $MinW, 7)
|
||||
DllStructSetData($MINMAXINFO, 1, $MinH, 8)
|
||||
Return $GUI_RUNDEFMSG
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Update()
|
||||
Local $Tail = _Tail_Content()
|
||||
GUICtrlSendMsg($idEdit, $EM_SETSEL, -2, -1)
|
||||
GUICtrlSetData($idEdit, $Tail, 1)
|
||||
GUICtrlSetData($idStatus, StringLen($Tail) & " bytes read")
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Open()
|
||||
GUICtrlSetData($idStatus, "")
|
||||
Local $File, $Pos
|
||||
$File = FileOpenDialog( "Tail - Open File", $LogPath, "Text (*.*)", 3, "" , $hGUI)
|
||||
If @error Then Return
|
||||
$Pos = StringInStr($File, "\", 0, -1)
|
||||
$LogPath = StringLeft($File, $Pos)
|
||||
IniWrite($INI, "Tail", "Path", $LogPath)
|
||||
_Clear()
|
||||
GUICtrlSetState($idRead, $GUI_ENABLE)
|
||||
GUICtrlSetState($idClear, $GUI_ENABLE)
|
||||
GUICtrlSetState($idSave, $GUI_ENABLE)
|
||||
GUICtrlSetState($idStart, $GUI_ENABLE)
|
||||
WinSetTitle($hGUI, "", "Tail - " & $File)
|
||||
$LogFile = $File
|
||||
_Tail($LogFile, $MaxBytes)
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Read()
|
||||
_Clear()
|
||||
_Tail($LogFile, $MaxBytes)
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Clear()
|
||||
GUICtrlSetData($idStatus, "")
|
||||
GUICtrlSetData($idEdit, "")
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Save()
|
||||
GUICtrlSetData($idStatus, "")
|
||||
Local $Sel, $File, $Handle, $Now
|
||||
$Sel = ControlCommand($hGUI, "", $idEdit, "GetSelected")
|
||||
If Not $Sel Then Return GUICtrlSetData($idStatus, "ERROR: Save - No text selected!")
|
||||
$File = FileSaveDialog("Tail - Append Selection to File", @ScriptDir, "Text (*.txt)", 0, "Log.txt", $hGUI)
|
||||
If @error Then Return
|
||||
$Handle = FileOpen($File, 1)
|
||||
If $Handle = -1 Then Return GUICtrlSetData($idStatus, "ERROR: Save - Cannot open file for writing!")
|
||||
$Now = StringFormat("%04d-%02d-%02d %02d:%02d:%02d > ", @YEAR, @MON, @MDAY, @HOUR, @MIN, @SEC)
|
||||
FileWrite($Handle, ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" & @CRLF)
|
||||
FileWrite($Handle, $Now & $LogFile & @CRLF)
|
||||
FileWrite($Handle, ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" & @CRLF)
|
||||
FileWrite($Handle, $Sel & @CRLF)
|
||||
FileClose($Handle)
|
||||
GUICtrlSetData($idStatus, "Save: " & StringLen($Sel) & " chars saved to file " & $File)
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _StartStop()
|
||||
GUICtrlSetData($idStatus, "")
|
||||
If GUICtrlRead($idStart, 1) = "&Start" Then
|
||||
AdlibRegister("_Tail_AdLib", 500)
|
||||
GUICtrlSetData($idStart, "&Stop")
|
||||
$State = $GUI_DISABLE
|
||||
Else
|
||||
AdlibUnRegister("_Tail_AdLib")
|
||||
GUICtrlSetData($idStart, "&Start")
|
||||
$State = $GUI_ENABLE
|
||||
EndIf
|
||||
GUICtrlSetState($idOpen, $State)
|
||||
GUICtrlSetState($idRead, $State)
|
||||
GUICtrlSetState($idExit, $State)
|
||||
GUICtrlSetState($idClear, $State)
|
||||
GUICtrlSetState($idSave, $State)
|
||||
GUICtrlSetState($idBytes, $State)
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Bytes()
|
||||
Opt("GUIOnEventMode", 0)
|
||||
GUISetState(@SW_DISABLE, $hGUI)
|
||||
Local $hBytesGUI = Guicreate("Tail - Bytes", 300, 125, -1, -1, -1, -1, $hGUI)
|
||||
GUICtrlCreateLabel("Initial number of bytes (max. 999999):", 20, 20, 260, 20)
|
||||
Local $idInp = GUICtrlCreateInput($MaxBytes, 20, 40, 260, 20, $ES_NUMBER)
|
||||
GUICtrlSetLimit(-1, 6)
|
||||
Local $idBtn = GUICtrlCreateButton("OK", 20, 80, 260, 25)
|
||||
GUICtrlSetState(-1, $GUI_DEFBUTTON)
|
||||
GUISetState()
|
||||
While True
|
||||
Switch GUIGetMsg()
|
||||
Case $GUI_EVENT_CLOSE
|
||||
ExitLoop
|
||||
Case $idBtn
|
||||
$MaxBytes = GUICtrlRead($idInp)
|
||||
GUICtrlSetData($idBytes, $MaxBytes)
|
||||
ExitLoop
|
||||
EndSwitch
|
||||
WEnd
|
||||
Opt("GUIOnEventMode", 1)
|
||||
GUISetState(@SW_ENABLE, $hGUI)
|
||||
GUIDelete($hBytesGui)
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
; Tail functions
|
||||
; ===============================================================================================================================
|
||||
Func _Tail_AdLib()
|
||||
_Tail()
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Tail_Content($bSet = False, $sNew = "")
|
||||
Local Static $Tail = ""
|
||||
If $bSet Then $Tail = $sNew
|
||||
Return $Tail
|
||||
EndFunc
|
||||
; ===============================================================================================================================
|
||||
Func _Tail($sFile = "", $nBytes = 1024)
|
||||
Local Static $TailPos = 0
|
||||
Local Static $TailFile = ""
|
||||
Local $TailNew = ""
|
||||
If $sFile Then
|
||||
$TailFile = $sFile
|
||||
$TailPos = 0
|
||||
EndIf
|
||||
Local $Handle = FileOpen($TailFile)
|
||||
If $Handle = -1 Then Return
|
||||
FileSetPos($Handle, 0, 2)
|
||||
Local $Size = FileGetPos($Handle)
|
||||
If $TailPos = 0 Then
|
||||
If $Size > $nBytes Then
|
||||
$TailPos = $Size - $nBytes
|
||||
EndIf
|
||||
ElseIf $Size < $TailPos Then
|
||||
$TailPos = $Size
|
||||
EndIf
|
||||
If $Size > $TailPos Then
|
||||
FileSetPos($Handle, $TailPos, 0)
|
||||
$TailNew = FileRead($Handle)
|
||||
$TailPos = FileGetPos($Handle)
|
||||
EndIf
|
||||
FileClose($Handle)
|
||||
If $TailNew Then
|
||||
_Tail_Content(True, $TailNew)
|
||||
GUICtrlSendToDummy($idDummy)
|
||||
EndIf
|
||||
EndFunc
|
83
_ChatBox.au3
Normal file
83
_ChatBox.au3
Normal file
@ -0,0 +1,83 @@
|
||||
#include-once
|
||||
#include <GuiRichEdit.au3>
|
||||
#include <Constants.au3>
|
||||
#include <WindowsConstants.au3>
|
||||
#include <EditConstants.au3>
|
||||
#include <GUIConstantsEx.au3>
|
||||
#include <Array.au3>
|
||||
#include <SendMessage.au3>
|
||||
|
||||
|
||||
|
||||
Local $__CB__filesstr="{\rtf1\utf8" & @CRLF & "{\colortbl;" & @CRLF & "}" & @CRLF & @CRLF & "}"
|
||||
;Local $__CB__filesstr="{\rtf1\utf8"&@CRLF&"{\colortbl;"&@CRLF&"\red0\green0\blue0;"&@CRLF&@CRLF&"}"&@CRLF&@CRLF&"}"
|
||||
|
||||
|
||||
|
||||
|
||||
Func _ChatBoxCreate($gui,$txt="",$x=0,$y=0,$w=100,$h=100,$bgc="0xFFFFFF",$readonly=True,$autodetecturl=True)
|
||||
Local $ret;RichEdit
|
||||
$ret=_GUICtrlRichEdit_Create($gui,"",$x,$y,$w,$h,BitOR($ES_MULTILINE, $WS_VSCROLL, $ES_AUTOVSCROLL))
|
||||
_GUICtrlRichEdit_AutoDetectURL($ret,$autodetecturl)
|
||||
_GUICtrlRichEdit_SetLimitOnText($ret,-1)
|
||||
_GUICtrlRichEdit_SetBkColor($ret,$bgc)
|
||||
_GUICtrlRichEdit_SetReadOnly($ret,$readonly)
|
||||
If $txt<>"" Then _ChatBoxAdd($ret,$txt)
|
||||
Return $ret
|
||||
EndFunc
|
||||
|
||||
Func _ChatBoxClear(ByRef $box)
|
||||
If Not IsHWnd($box) Then Return SetError(101, 0, False)
|
||||
_GUICtrlRichEdit_SetText($box,"")
|
||||
EndFunc
|
||||
|
||||
Func _ChatBoxDestroy(ByRef $box)
|
||||
If Not IsHWnd($box) Then Return SetError(101, 0, False)
|
||||
_GUICtrlRichEdit_Destroy($box)
|
||||
EndFunc
|
||||
|
||||
Func _ChatBoxAdd(ByRef $box,$txt)
|
||||
If Not IsHWnd($box) Then Return SetError(101, 0, False)
|
||||
If $txt="" Then Return 0
|
||||
$txt=__ChatBoxConvert($txt)
|
||||
_GUICtrlRichEdit_AppendTextUTF8($box,$txt)
|
||||
EndFunc
|
||||
|
||||
Func __ChatBoxConvert($txt)
|
||||
;~ $txt=StringReplace($txt,"{","\{")
|
||||
;~ $txt=StringReplace($txt,"}","\}")
|
||||
$txt = StringReplace($txt, @CRLF, "\line ")
|
||||
$txt=StringRegExpReplace($txt,"(?i)\[b\](.*?)\[/b\]","{\\b $1}")
|
||||
$txt=StringRegExpReplace($txt,"(?i)\[i\](.*?)\[/i\]","{\\i $1}")
|
||||
$txt=StringRegExpReplace($txt,"(?i)\[u\](.*?)\[/u\]","{\\ul $1}")
|
||||
$txt=StringRegExpReplace($txt,"(?i)\[s\](.*?)\[/s\]","{\\strike $1}")
|
||||
$txt=StringRegExpReplace($txt,"(?i)\[size=(\d+?)\](.*?)\[/size\]","{\\fs$1 $2}")
|
||||
Local $aColor = StringRegExp($txt, "(?i)\[c=#([0-9A-Fa-f]{6})\].*?\[/c\]", 3)
|
||||
Local $sColor, $iColors
|
||||
If Not @error Then
|
||||
For $i = 0 To UBound($aColor) - 1
|
||||
$sColor &= "\red" & Dec(StringMid($aColor[$i], 1, 2)) & "\green" & Dec(StringMid($aColor[$i], 3, 2)) & "\blue" & Dec(StringMid($aColor[$i], 5, 2)) & ";" & @CRLF
|
||||
$iColors += 1
|
||||
$txt = StringRegExpReplace($txt, "\[c=#" & $aColor[$i] & "\](.*?)\[/c\]", "\\cf" & $iColors & " $1\\cf0 ")
|
||||
Next
|
||||
EndIf
|
||||
Local $sRTFString = StringMid($__CB__filesstr, 1, StringInStr($__CB__filesstr, "l;" & @CRLF) + 2) & _
|
||||
$sColor & _
|
||||
StringTrimRight(StringMid($__CB__filesstr, StringInStr($__CB__filesstr, "l;" & @CRLF, 1, 1) + 4), 4) & _
|
||||
$txt & _
|
||||
"}"
|
||||
Return $sRTFString
|
||||
EndFunc
|
||||
|
||||
; ProgAndy ; Edited
|
||||
Func _GUICtrlRichEdit_AppendTextUTF8($hWnd, $sText)
|
||||
If Not IsHWnd($hWnd) Then Return SetError(101, 0, False)
|
||||
_GUICtrlRichEdit_SetSel($hWnd, -1, -1) ; go to end of text
|
||||
Local $tSetText = DllStructCreate($tagSETTEXTEX)
|
||||
DllStructSetData($tSetText, 1, $ST_SELECTION)
|
||||
DllStructSetData($tSetText, 2, 65001)
|
||||
Local $iRet = _SendMessage($hWnd, $EM_SETTEXTEX, DllStructGetPtr($tSetText), BinaryToString(StringToBinary($sText, 4), 1), 0, "ptr", "STR")
|
||||
If Not $iRet Then Return SetError(700, 0, False)
|
||||
Return True
|
||||
EndFunc ;==>_GUICtrlRichEdit_AppendText
|
||||
|
BIN
_ChatBox.exe
Normal file
BIN
_ChatBox.exe
Normal file
Binary file not shown.
31
test5.au3
Normal file
31
test5.au3
Normal file
@ -0,0 +1,31 @@
|
||||
#include "_ChatBox.au3"
|
||||
|
||||
|
||||
|
||||
$data="[s]Hallo,[/s] [b][i]wie[/i] [u]gehts[/u]?[/b]"&@CRLF& _
|
||||
"[c=#00FF00]Grün"&@CRLF&"![/c]"&@CRLF& _
|
||||
"[c=#00FF00]Moinsen,[/c] schwarz"&@CRLF& _
|
||||
"[c=#FF0000]Moinsen,[/c] schwarz"&@CRLF
|
||||
|
||||
|
||||
$Form1 = GUICreate("__A__",588,413)
|
||||
$Edit1 = _ChatBoxCreate($Form1,"",8,8,572,397,"0x99FFFF")
|
||||
GUISetState()
|
||||
|
||||
_ChatBoxAdd($Edit1,$data)
|
||||
|
||||
|
||||
|
||||
While 1
|
||||
$nMsg = GUIGetMsg()
|
||||
Switch $nMsg
|
||||
Case $GUI_EVENT_CLOSE
|
||||
ExitLoop
|
||||
EndSwitch
|
||||
Sleep(10)
|
||||
WEnd
|
||||
|
||||
|
||||
_ChatBoxDestroy($Edit1)
|
||||
|
||||
|
375
znilTAIL-V2.kxf
Normal file
375
znilTAIL-V2.kxf
Normal file
@ -0,0 +1,375 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<object type="TAForm" name="Form_znilTail">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">488</property>
|
||||
<property name="Top" vt="Int16">278</property>
|
||||
<property name="Width" vt="Int16">998</property>
|
||||
<property name="Height" vt="Int16">523</property>
|
||||
<property name="Caption" vt="String">znilTail: zabbix_agentd.log</property>
|
||||
<property name="Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Charset" vt="Ident">DEFAULT_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">MS Sans Serif</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="OldCreateOrder" vt="False">False</property>
|
||||
<property name="Visible" vt="True">True</property>
|
||||
<property name="Style" vt="Int32">-1798373376</property>
|
||||
<property name="ExStyle" vt="Int16">256</property>
|
||||
<property name="Version" vt="String">1.04</property>
|
||||
<property name="Description" vt="String">A standard Windows Form.</property>
|
||||
<property name="FormOptOnEvent" vt="False">False</property>
|
||||
<property name="FormOptExpVars" vt="False">False</property>
|
||||
<property name="FormOptPopulate" vt="True">True</property>
|
||||
<property name="FormOptVarsForSet" vt="False">False</property>
|
||||
<property name="FormOptIndentChar" vt="Int8">0</property>
|
||||
<property name="FormOptIndentCount" vt="Int8">1</property>
|
||||
<property name="FormOptIndentInit" vt="Int8">0</property>
|
||||
<property name="FormOptVarScope" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom</property>
|
||||
<property name="PixelsPerInch" vt="Int8">96</property>
|
||||
<property name="TextHeight" vt="Int8">13</property>
|
||||
</properties>
|
||||
<components>
|
||||
<object type="TAEdit" name="EditTailText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">0</property>
|
||||
<property name="Top" vt="Int8">38</property>
|
||||
<property name="Width" vt="Int16">983</property>
|
||||
<property name="Height" vt="Int16">377</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="Lines.Strings" vt="List">
|
||||
<list>
|
||||
<li vt="String">Edit1</li>
|
||||
</list>
|
||||
</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">0</property>
|
||||
<property name="CtrlStyle" vt="Int32">1412632772</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockRight, DockTop, DockBottom</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonOpen">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">900</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Open another Textfile for tailing</property>
|
||||
<property name="Caption" vt="String">Open File</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">1</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonStart">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">2</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">START tailing the file.</property>
|
||||
<property name="Caption" vt="String">START</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clGreen</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">2</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonStop">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">88</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">STOP tailing!</property>
|
||||
<property name="Caption" vt="String">STOP</property>
|
||||
<property name="Enabled" vt="False">False</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clRed</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">3</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TACheckbox" name="CheckboxHighlight">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">5</property>
|
||||
<property name="Top" vt="Int16">418</property>
|
||||
<property name="Width" vt="Int8">17</property>
|
||||
<property name="Height" vt="Int8">25</property>
|
||||
<property name="TabOrder" vt="Int8">4</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342242819</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAInput" name="InputHighlightText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">24</property>
|
||||
<property name="Top" vt="Int16">420</property>
|
||||
<property name="Width" vt="Int16">958</property>
|
||||
<property name="Height" vt="Int8">20</property>
|
||||
<property name="Color" vt="Ident">clMoneyGreen</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-12</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">5</property>
|
||||
<property name="Text" vt="String">Highlight Lines with this Text</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342374016</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockBottom, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonFontPlus">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">192</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">make Font bigger</property>
|
||||
<property name="Caption" vt="String">+</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-27</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">6</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonFontMinus">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">232</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">make Font smaler</property>
|
||||
<property name="Caption" vt="String">-</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-27</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">7</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TACheckbox" name="CheckboxHideText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">5</property>
|
||||
<property name="Top" vt="Int16">447</property>
|
||||
<property name="Width" vt="Int8">17</property>
|
||||
<property name="Height" vt="Int8">25</property>
|
||||
<property name="TabOrder" vt="Int8">8</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342242819</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAInput" name="InputHidetext">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">24</property>
|
||||
<property name="Top" vt="Int16">449</property>
|
||||
<property name="Width" vt="Int16">958</property>
|
||||
<property name="Height" vt="Int8">20</property>
|
||||
<property name="Color" vt="Ident">clRed</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clYellow</property>
|
||||
<property name="Font.Height" vt="Int8">-12</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">9</property>
|
||||
<property name="Text" vt="String">Hide Lines with this Text</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342374016</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockBottom, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="LabelCounter">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">768</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">123</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Number of Bytes that have been read since start.</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">LabelCounter</property>
|
||||
<property name="Color" vt="Ident">clNavy</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWhite</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentColor" vt="False">False</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">10</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342313217</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockRight, DockTop</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonHelp">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">728</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">About Box with link to Homepage</property>
|
||||
<property name="Caption" vt="String">?</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-24</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">11</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonDebugLevel3">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">292</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int16">153</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Change the DebugLevel of Zabbix Agent to 3 (Warnings) and restart the Agent. If this Button ist greyed Out you need to start znilTail.exe with Adminisrator-Rights. If no Zabbix Agent was found this Button will not shown.</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent with DebugLevel=3</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">12</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonDebugLevel4">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">452</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int16">153</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Change the DebugLevel of Zabbix Agent to 3 (Debugging) and restart the Agent. If this Button ist greyed Out you need to start znilTail.exe with Adminisrator-Rights. If no Zabbix Agent was found this Button will not shown.</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent with DebugLevel=4</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">13</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonRestartAgent">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">610</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">113</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Just Restart the Zabbix Agent (without changing DebugLevel)</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">14</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="LabelStatus">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">0</property>
|
||||
<property name="Top" vt="Int16">477</property>
|
||||
<property name="Width" vt="Int16">990</property>
|
||||
<property name="Height" vt="Int8">19</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">LabelStatus</property>
|
||||
<property name="Color" vt="Ident">clSilver</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Lucida Console</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentColor" vt="False">False</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">15</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1350697216</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockBottom, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
</components>
|
||||
</object>
|
351
znilTAIL.kxf
Normal file
351
znilTAIL.kxf
Normal file
@ -0,0 +1,351 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<object type="TAForm" name="Form_znilTail">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">488</property>
|
||||
<property name="Top" vt="Int16">278</property>
|
||||
<property name="Width" vt="Int16">1000</property>
|
||||
<property name="Height" vt="Int16">517</property>
|
||||
<property name="Caption" vt="String">znilTail: zabbix_agentd.log</property>
|
||||
<property name="Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Charset" vt="Ident">DEFAULT_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">MS Sans Serif</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="OldCreateOrder" vt="False">False</property>
|
||||
<property name="Visible" vt="True">True</property>
|
||||
<property name="Style" vt="Int32">-1798373376</property>
|
||||
<property name="ExStyle" vt="Int16">256</property>
|
||||
<property name="Version" vt="String">1.04</property>
|
||||
<property name="Description" vt="String">A standard Windows Form.</property>
|
||||
<property name="FormOptOnEvent" vt="False">False</property>
|
||||
<property name="FormOptExpVars" vt="False">False</property>
|
||||
<property name="FormOptPopulate" vt="True">True</property>
|
||||
<property name="FormOptVarsForSet" vt="False">False</property>
|
||||
<property name="FormOptIndentChar" vt="Int8">0</property>
|
||||
<property name="FormOptIndentCount" vt="Int8">1</property>
|
||||
<property name="FormOptIndentInit" vt="Int8">0</property>
|
||||
<property name="FormOptVarScope" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom</property>
|
||||
<property name="PixelsPerInch" vt="Int8">96</property>
|
||||
<property name="TextHeight" vt="Int8">13</property>
|
||||
</properties>
|
||||
<components>
|
||||
<object type="TAEdit" name="EditTailText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">0</property>
|
||||
<property name="Top" vt="Int8">38</property>
|
||||
<property name="Width" vt="Int16">983</property>
|
||||
<property name="Height" vt="Int16">377</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="Lines.Strings" vt="List">
|
||||
<list>
|
||||
<li vt="String">Edit1</li>
|
||||
</list>
|
||||
</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">0</property>
|
||||
<property name="CtrlStyle" vt="Int32">1412632772</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockRight, DockTop, DockBottom</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonOpen">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">900</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Open another Textfile for tailing</property>
|
||||
<property name="Caption" vt="String">Open File</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">1</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonStart">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">2</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">START tailing the file.</property>
|
||||
<property name="Caption" vt="String">START</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clGreen</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">2</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonStop">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">88</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">81</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">STOP tailing!</property>
|
||||
<property name="Caption" vt="String">STOP</property>
|
||||
<property name="Enabled" vt="False">False</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clRed</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">3</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TACheckbox" name="CheckboxHighlight">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">5</property>
|
||||
<property name="Top" vt="Int16">418</property>
|
||||
<property name="Width" vt="Int8">17</property>
|
||||
<property name="Height" vt="Int8">25</property>
|
||||
<property name="TabOrder" vt="Int8">4</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342242819</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAInput" name="InputHighlightText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">24</property>
|
||||
<property name="Top" vt="Int16">420</property>
|
||||
<property name="Width" vt="Int16">958</property>
|
||||
<property name="Height" vt="Int8">24</property>
|
||||
<property name="Color" vt="Ident">clMoneyGreen</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-12</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">5</property>
|
||||
<property name="Text" vt="String">Highlight Lines with this Text</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342374016</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockBottom, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonFontPlus">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">192</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">make Font bigger</property>
|
||||
<property name="Caption" vt="String">+</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-27</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">6</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonFontMinus">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">232</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">make Font smaler</property>
|
||||
<property name="Caption" vt="String">-</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-27</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">7</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TACheckbox" name="CheckboxHideText">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">5</property>
|
||||
<property name="Top" vt="Int16">447</property>
|
||||
<property name="Width" vt="Int8">17</property>
|
||||
<property name="Height" vt="Int8">25</property>
|
||||
<property name="TabOrder" vt="Int8">8</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342242819</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockAuto, DockLeft, DockBottom, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAInput" name="InputHidetext">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">24</property>
|
||||
<property name="Top" vt="Int16">449</property>
|
||||
<property name="Width" vt="Int16">958</property>
|
||||
<property name="Height" vt="Int8">24</property>
|
||||
<property name="Color" vt="Ident">clRed</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clYellow</property>
|
||||
<property name="Font.Height" vt="Int8">-12</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">9</property>
|
||||
<property name="Text" vt="String">Hide Lines with this Text</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342374016</property>
|
||||
<property name="CtrlExStyle" vt="Int16">512</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockBottom, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="LabelCounter">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">768</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">123</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Number of Bytes that have been read since start.</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">LabelCounter</property>
|
||||
<property name="Color" vt="Ident">clNavy</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWhite</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentColor" vt="False">False</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">10</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342313217</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockRight, DockTop</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonHelp">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">728</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">33</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">About Box with link to Homepage</property>
|
||||
<property name="Caption" vt="String">?</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlack</property>
|
||||
<property name="Font.Height" vt="Int8">-27</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">11</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342373888</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonDebugLevel3">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">292</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int16">153</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Change the DebugLevel of Zabbix Agent to 3 (Warnings) and restart the Agent. If this Button ist greyed Out you need to start znilTail.exe with Adminisrator-Rights. If no Zabbix Agent was found this Button will not shown.</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent with DebugLevel=3</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">12</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonDebugLevel4">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">452</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int16">153</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Change the DebugLevel of Zabbix Agent to 3 (Debugging) and restart the Agent. If this Button ist greyed Out you need to start znilTail.exe with Adminisrator-Rights. If no Zabbix Agent was found this Button will not shown.</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent with DebugLevel=4</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">13</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAButton" name="ButtonRestartAgent">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">610</property>
|
||||
<property name="Top" vt="Int8">4</property>
|
||||
<property name="Width" vt="Int8">113</property>
|
||||
<property name="Height" vt="Int8">30</property>
|
||||
<property name="Hint" vt="String">Just Restart the Zabbix Agent (without changing DebugLevel)</property>
|
||||
<property name="Caption" vt="String">Restart Zabbix Agent</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">14</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342382080</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockLeft, DockTop, DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
</components>
|
||||
</object>
|
263
znilTail-AboutBox.kxf
Normal file
263
znilTail-AboutBox.kxf
Normal file
@ -0,0 +1,263 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<object type="TAForm" name="AboutForm">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">726</property>
|
||||
<property name="Top" vt="Int16">446</property>
|
||||
<property name="Width" vt="Int16">337</property>
|
||||
<property name="Height" vt="Int16">278</property>
|
||||
<property name="Caption" vt="String">About znilTail</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-11</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="OldCreateOrder" vt="False">False</property>
|
||||
<property name="Visible" vt="True">True</property>
|
||||
<property name="Style" vt="Int32">-1798700544</property>
|
||||
<property name="ExStyle" vt="Int16">264</property>
|
||||
<property name="Version" vt="String">1.04</property>
|
||||
<property name="Description" vt="String">Standard "AboutBox" Dialog with Picture.</property>
|
||||
<property name="FormOptOnEvent" vt="False">False</property>
|
||||
<property name="FormOptExpVars" vt="False">False</property>
|
||||
<property name="FormOptPopulate" vt="False">False</property>
|
||||
<property name="FormOptVarsForSet" vt="False">False</property>
|
||||
<property name="FormOptIndentChar" vt="Int8">0</property>
|
||||
<property name="FormOptIndentCount" vt="Int8">1</property>
|
||||
<property name="FormOptIndentInit" vt="Int8">0</property>
|
||||
<property name="FormOptVarScope" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
<property name="PixelsPerInch" vt="Int8">96</property>
|
||||
<property name="TextHeight" vt="Int8">14</property>
|
||||
</properties>
|
||||
<components>
|
||||
<object type="TAGroup" name="AboutGroupBoxFreeware">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">8</property>
|
||||
<property name="Top" vt="Int8">8</property>
|
||||
<property name="Width" vt="Int16">305</property>
|
||||
<property name="Height" vt="Int8">81</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342341127</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="TabOrder" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components>
|
||||
<object type="TALabel" name="AboutLabelFreeware1">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">1</property>
|
||||
<property name="Top" vt="Int8">8</property>
|
||||
<property name="Width" vt="Int16">302</property>
|
||||
<property name="Height" vt="Int8">35</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">This Tool is FREEWARE!</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-21</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">0</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342309121</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelFreeware2">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">1</property>
|
||||
<property name="Top" vt="Int8">40</property>
|
||||
<property name="Width" vt="Int16">302</property>
|
||||
<property name="Height" vt="Int8">18</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">Copy it, give it away,</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">1</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308609</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelFreeware3">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">1</property>
|
||||
<property name="Top" vt="Int8">56</property>
|
||||
<property name="Width" vt="Int16">302</property>
|
||||
<property name="Height" vt="Int8">20</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">give it to others who need it!</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">2</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308609</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
</components>
|
||||
</object>
|
||||
<object type="TAButton" name="AboutButtonOK">
|
||||
<properties>
|
||||
<property name="Left" vt="Int16">238</property>
|
||||
<property name="Top" vt="Int16">208</property>
|
||||
<property name="Width" vt="Int8">75</property>
|
||||
<property name="Height" vt="Int8">25</property>
|
||||
<property name="Caption" vt="String">&OK</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-16</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">1</property>
|
||||
<property name="Color" vt="Ident">clBtnFace</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342242816</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set">DockWidth, DockHeight</property>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelWeblink">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">9</property>
|
||||
<property name="Top" vt="Int16">212</property>
|
||||
<property name="Width" vt="Int16">222</property>
|
||||
<property name="Height" vt="Int8">20</property>
|
||||
<property name="Cursor" vt="Ident">crHandPoint</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">http://znil.net</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clBlue</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsUnderline</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">2</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308608</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TAGroup" name="AboutGroupboxCommandline">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">8</property>
|
||||
<property name="Top" vt="Int16">160</property>
|
||||
<property name="Width" vt="Int16">305</property>
|
||||
<property name="Height" vt="Int8">41</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342341127</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Caption" vt="String"> Commandline Call: </property>
|
||||
<property name="TabOrder" vt="Int8">3</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components>
|
||||
<object type="TALabel" name="AboutLabelCommandline">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">4</property>
|
||||
<property name="Top" vt="Int8">16</property>
|
||||
<property name="Width" vt="Int16">299</property>
|
||||
<property name="Height" vt="Int8">18</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">znilTail.exe [Path+Filename-to-Tail]</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set">fsBold</property>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">0</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308608</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
</components>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelAuthor">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">8</property>
|
||||
<property name="Top" vt="Int8">96</property>
|
||||
<property name="Width" vt="Int16">305</property>
|
||||
<property name="Height" vt="Int8">18</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">2013/2014 by Bernhard Linz</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">4</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308608</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelVersion">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">8</property>
|
||||
<property name="Top" vt="Int8">116</property>
|
||||
<property name="Width" vt="Int16">305</property>
|
||||
<property name="Height" vt="Int8">18</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">Version: </property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">5</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308608</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
<object type="TALabel" name="AboutLabelContact">
|
||||
<properties>
|
||||
<property name="Left" vt="Int8">8</property>
|
||||
<property name="Top" vt="Int16">136</property>
|
||||
<property name="Width" vt="Int16">305</property>
|
||||
<property name="Height" vt="Int8">18</property>
|
||||
<property name="Cursor" vt="Ident">crHandPoint</property>
|
||||
<property name="AutoSize" vt="False">False</property>
|
||||
<property name="Caption" vt="String">Contact: Bernhard@znil.de</property>
|
||||
<property name="Font.Charset" vt="Ident">ANSI_CHARSET</property>
|
||||
<property name="Font.Color" vt="Ident">clWindowText</property>
|
||||
<property name="Font.Height" vt="Int8">-13</property>
|
||||
<property name="Font.Name" vt="String">Courier New</property>
|
||||
<property name="Font.Style" vt="Set"/>
|
||||
<property name="ParentFont" vt="False">False</property>
|
||||
<property name="TabOrder" vt="Int8">6</property>
|
||||
<property name="HaveVariable" vt="False">False</property>
|
||||
<property name="CtrlStyle" vt="Int32">1342308608</property>
|
||||
<property name="CtrlExStyle" vt="Int8">0</property>
|
||||
<property name="Resizing" vt="Set"/>
|
||||
</properties>
|
||||
<components/>
|
||||
</object>
|
||||
</components>
|
||||
</object>
|
906
znilTail-V2.au3
Normal file
906
znilTail-V2.au3
Normal file
@ -0,0 +1,906 @@
|
||||
#NoTrayIcon
|
||||
#RequireAdmin
|
||||
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
|
||||
#AutoIt3Wrapper_Version=Beta
|
||||
#AutoIt3Wrapper_Icon=Icon256-32.ico
|
||||
#AutoIt3Wrapper_Res_Description=Simple Tail Programm as an Zabbix Tool
|
||||
#AutoIt3Wrapper_Res_Fileversion=2.0.0.8
|
||||
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
|
||||
#AutoIt3Wrapper_Res_LegalCopyright=2015 Bernhard Linz / Bernhard@znil.de
|
||||
#AutoIt3Wrapper_Res_SaveSource=y
|
||||
#AutoIt3Wrapper_Res_Language=1031
|
||||
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
|
||||
Opt('MustDeclareVars', 1)
|
||||
Opt("GUIOnEventMode", 1) ; Change to OnEvent mode
|
||||
|
||||
#Region ;************ Includes ************
|
||||
|
||||
#Include <Inet.au3>
|
||||
#Include <ButtonConstants.au3>
|
||||
#Include <StaticConstants.au3>
|
||||
;~ #include <EditConstants.au3>;~~~
|
||||
;~ #include <GUIConstantsEx.au3>;~~~
|
||||
;~ #include <WindowsConstants.au3>;~~~
|
||||
#include "_ChatBox.au3"
|
||||
#EndRegion ;************ Includes ************
|
||||
#Region ------ Dim Variables ------------------------------
|
||||
Global $Form_znilTail
|
||||
Global $EditTailText
|
||||
Global $ButtonStart
|
||||
Global $ButtonStop
|
||||
Global $ButtonOpen
|
||||
Global $CheckboxHighlight
|
||||
Global $CheckboxHideText
|
||||
Global $InputHighlightText
|
||||
Global $InputHidetext
|
||||
Global $ButtonFontMinus
|
||||
Global $ButtonFontPlus
|
||||
Global $iFontsize = 9
|
||||
Global $nMsg
|
||||
Global $data
|
||||
Global $bUseColorize = False
|
||||
Global $bHideText = False
|
||||
Global $sTailFileName = ""
|
||||
Global $sFormTitle = "znilTail: No File selected"
|
||||
Global $aWndPos
|
||||
Global $iTextLength = 0
|
||||
Global $LabelCounter
|
||||
Global $iRichEditTextLimit = 2147483647 ; 2GB - 1 Byte
|
||||
Global $ButtonHelp
|
||||
Global $LabelStatus
|
||||
Global $i
|
||||
Global $zabbixAgentName
|
||||
Global $zabbixAgentConfigFile
|
||||
Global $hzabbixAgentConfigFile
|
||||
Global $iCurrentDebugLevel = 99
|
||||
Global $stemp
|
||||
Global $sRegSubKey
|
||||
Global $bShowZabbixAgentButtons = False
|
||||
Global $bAdminrights = False
|
||||
Global $ButtonDebugLevel3
|
||||
Global $ButtonDebugLevel4
|
||||
Global $ButtonRestartAgent
|
||||
Global $iTimer
|
||||
Global $hControl
|
||||
Global $bAboutFormExit = False
|
||||
Global $AboutForm, $AboutGroupBoxFreeware, $AboutLabelFreeware1, $AboutLabelFreeware2,$AboutLabelFreeware3
|
||||
Global $AboutButtonOK, $AboutLabelWeblink, $AboutGroupboxCommandline, $AboutLabelCommandline
|
||||
Global $AboutLabelAuthor, $AboutLabelVersion, $AboutLabelContact, $nMsg2
|
||||
Global $aWndPosAboutForm
|
||||
;Global $iRichEditTextLimit = 1048576
|
||||
|
||||
Global $aRegistryBaseServicePaths[3] = ["HKLM\SYSTEM\CurrentControlSet\", _
|
||||
"HKLM64\SYSTEM\CurrentControlSet\", _
|
||||
"HKLM\SOFTWARE\Wow6432Node\SYSTEM\CurrentControlSet\"]
|
||||
Global $iRightRegistryPath
|
||||
|
||||
|
||||
Global $iTailPos = 0
|
||||
Global $nBytes = 1024
|
||||
Global $TailNew = ""
|
||||
Global $sFile
|
||||
|
||||
Global $iFileSizeLastRun = 0
|
||||
Global $iFileSizeNow = 0
|
||||
|
||||
Global $iRefreshrate = 400
|
||||
Global $aStatus[4]
|
||||
$aStatus[0] = "-"
|
||||
$aStatus[1] = "\"
|
||||
$aStatus[2] = "|"
|
||||
$aStatus[3] = "/"
|
||||
|
||||
|
||||
|
||||
#EndRegion --- Global Variables ------------------------------
|
||||
|
||||
Func _TailBoxCreate($gui,$txt,$x,$y,$w,$h,$bgc,$readonly,$autodetecturl, $style)
|
||||
Local $ret;RichEdit
|
||||
$ret=_GUICtrlRichEdit_Create($gui,"",$x,$y,$w,$h,$style)
|
||||
_GUICtrlRichEdit_AutoDetectURL($ret,$autodetecturl)
|
||||
;_GUICtrlRichEdit_SetLimitOnText($ret,-1)
|
||||
_GUICtrlRichEdit_SetBkColor($ret,$bgc)
|
||||
_GUICtrlRichEdit_SetReadOnly($ret,$readonly)
|
||||
Return $ret
|
||||
EndFunc
|
||||
|
||||
|
||||
Func _znilTailAboutBox()
|
||||
|
||||
|
||||
#Region ### START Koda GUI section ### Form=C:\_AutoIt\tail\znilTail-AboutBox.kxf
|
||||
$AboutForm = GUICreate("About znilTail", 326, 244, 726, 446, BitOR($GUI_SS_DEFAULT_GUI,$DS_SETFOREGROUND), BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE))
|
||||
GUISetFont(8, 400, 0, "Courier New")
|
||||
$AboutGroupBoxFreeware = GUICtrlCreateGroup("", 8, 8, 305, 81, BitOR($GUI_SS_DEFAULT_GROUP,$BS_FLAT))
|
||||
$AboutLabelFreeware1 = GUICtrlCreateLabel("This Tool is FREEWARE!", 9, 16, 302, 35, BitOR($SS_CENTER,$SS_CENTERIMAGE))
|
||||
GUICtrlSetFont(-1, 16, 800, 0, "Courier New")
|
||||
$AboutLabelFreeware2 = GUICtrlCreateLabel("Copy it, give it away,", 9, 48, 302, 18, $SS_CENTER)
|
||||
GUICtrlSetFont(-1, 10, 400, 0, "Courier New")
|
||||
$AboutLabelFreeware3 = GUICtrlCreateLabel("give it to others who need it!", 9, 64, 302, 20, $SS_CENTER)
|
||||
GUICtrlSetFont(-1, 10, 400, 0, "Courier New")
|
||||
GUICtrlCreateGroup("", -99, -99, 1, 1)
|
||||
$AboutButtonOK = GUICtrlCreateButton("&OK", 238, 208, 75, 25, 0)
|
||||
GUICtrlSetFont(-1, 12, 400, 0, "Courier New")
|
||||
$AboutLabelWeblink = GUICtrlCreateLabel("http://znil.net", 9, 212, 222, 20)
|
||||
GUICtrlSetFont(-1, 10, 400, 4, "Courier New")
|
||||
GUICtrlSetColor(-1, 0x0000FF)
|
||||
GUICtrlSetCursor (-1, 0)
|
||||
$AboutGroupboxCommandline = GUICtrlCreateGroup(" Commandline Call: ", 8, 160, 305, 41, BitOR($GUI_SS_DEFAULT_GROUP,$BS_FLAT))
|
||||
$AboutLabelCommandline = GUICtrlCreateLabel("znilTail.exe [Path+Filename-to-Tail]", 12, 176, 299, 18)
|
||||
GUICtrlSetFont(-1, 10, 800, 0, "Courier New")
|
||||
GUICtrlCreateGroup("", -99, -99, 1, 1)
|
||||
$AboutLabelAuthor = GUICtrlCreateLabel("2013/2014 by Bernhard Linz", 8, 96, 305, 18)
|
||||
GUICtrlSetFont(-1, 10, 400, 0, "Courier New")
|
||||
$AboutLabelVersion = GUICtrlCreateLabel("Version: ", 8, 116, 305, 18)
|
||||
GUICtrlSetFont(-1, 10, 400, 0, "Courier New")
|
||||
$AboutLabelContact = GUICtrlCreateLabel("Contact: Bernhard@znil.de", 8, 136, 305, 18)
|
||||
GUICtrlSetFont(-1, 10, 400, 0, "Courier New")
|
||||
GUICtrlSetCursor (-1, 0)
|
||||
GUISetState(@SW_SHOW)
|
||||
#EndRegion ### END Koda GUI section ###
|
||||
$bAboutFormExit = False
|
||||
GUISetOnEvent($GUI_EVENT_CLOSE, "_CLOSEAboutForm |