Jump to content

[HELP] Read ini-file to Array


Go to solution Solved by Trong,

Recommended Posts

 

Can tell me the best way to read data from this ini file?
Use 1,2 or 3D arrays ?

Global $zWebServer_INI_FileName = 'zWebServer.ini', $zWebServer_INI_SectionNAME = 'zWebServer'

Global $zWebServer_INI_Title_Name, $zWebServer_INI_Icon_Path, $zWebServer_INI_Icon_Link, $zWebServer_INI_Icon_TIP, $zWebServer_INI_Font_Name, $zWebServer_INI_Font_Size, $zWebServer_INI_Font_Weight, $zWebServer_INI_Background_Image, $zWebServer_INI_Background_Color, $zWebServer_INI_AutoStartup, $zWebServer_INI_Minimize2Tray, $zWebServer_INI_OnStartMinimize2Tray, $zWebServer_INI_Total_Item, $zWebServer_INI_Item_1_SectionNAME, $zWebServer_INI_Item_2_SectionNAME, $zWebServer_INI_Item_3_SectionNAME, $zWebServer_INI_Item_4_SectionNAME, $zWebServer_INI_Item_5_SectionNAME, $zWebServer_INI_Item_6_SectionNAME
Global $Value_Item_1_Enable, $Value_Item_1_IconPath, $Value_Item_1_DisplayName, $Value_Item_1_ExplorerPath, $Value_Item_1_ExePath, $Value_Item_1_ExeParameters, $Value_Item_1_ExeExitPath, $Value_Item_1_ExitParameters, $Value_Item_1_ExeExitPath_Ex, $Value_Item_1_ExitParameters_Ex, $Value_Item_1_PID, $Value_Item_1_ConfigFile, $Value_Item_1_LogsFile, $Value_Item_1_AutoStartup, $Value_Item_1_ConfigsFile, $Value_Item_1_ButtonCustom_EX1_Enable, $Value_Item_1_ButtonCustom_EX1_Name, $Value_Item_1_ButtonCustom_EX1_ExePath, $Value_Item_1_ButtonCustom_EX1_ExeParameters, $Value_Item_1_ButtonCustom_EX2_Enable, $Value_Item_1_ButtonCustom_EX2_Name, $Value_Item_1_ButtonCustom_EX2_ExePath, $Value_Item_1_ButtonCustom_EX2_ExeParameters
Global $Value_Item_2_Enable, $Value_Item_2_IconPath, $Value_Item_2_DisplayName, $Value_Item_2_ExplorerPath, $Value_Item_2_ExePath, $Value_Item_2_ExeParameters, $Value_Item_2_ExeExitPath, $Value_Item_2_ExitParameters, $Value_Item_2_ExeExitPath_Ex, $Value_Item_2_ExitParameters_Ex, $Value_Item_2_PID, $Value_Item_2_ConfigFile, $Value_Item_2_LogsFile, $Value_Item_2_AutoStartup, $Value_Item_2_ConfigsFile, $Value_Item_2_ButtonCustom_EX1_Enable, $Value_Item_2_ButtonCustom_EX1_Name, $Value_Item_2_ButtonCustom_EX1_ExePath, $Value_Item_2_ButtonCustom_EX1_ExeParameters, $Value_Item_2_ButtonCustom_EX2_Enable, $Value_Item_2_ButtonCustom_EX2_Name, $Value_Item_2_ButtonCustom_EX2_ExePath, $Value_Item_2_ButtonCustom_EX2_ExeParameters
Global $Value_Item_3_Enable, $Value_Item_3_IconPath, $Value_Item_3_DisplayName, $Value_Item_3_ExplorerPath, $Value_Item_3_ExePath, $Value_Item_3_ExeParameters, $Value_Item_3_ExeExitPath, $Value_Item_3_ExitParameters, $Value_Item_3_ExeExitPath_Ex, $Value_Item_3_ExitParameters_Ex, $Value_Item_3_PID, $Value_Item_3_ConfigFile, $Value_Item_3_LogsFile, $Value_Item_3_AutoStartup, $Value_Item_3_ConfigsFile, $Value_Item_3_ButtonCustom_EX1_Enable, $Value_Item_3_ButtonCustom_EX1_Name, $Value_Item_3_ButtonCustom_EX1_ExePath, $Value_Item_3_ButtonCustom_EX1_ExeParameters, $Value_Item_3_ButtonCustom_EX2_Enable, $Value_Item_3_ButtonCustom_EX2_Name, $Value_Item_3_ButtonCustom_EX2_ExePath, $Value_Item_3_ButtonCustom_EX2_ExeParameters
Global $Value_Item_4_Enable, $Value_Item_4_IconPath, $Value_Item_4_DisplayName, $Value_Item_4_ExplorerPath, $Value_Item_4_ExePath, $Value_Item_4_ExeParameters, $Value_Item_4_ExeExitPath, $Value_Item_4_ExitParameters, $Value_Item_4_ExeExitPath_Ex, $Value_Item_4_ExitParameters_Ex, $Value_Item_4_PID, $Value_Item_4_ConfigFile, $Value_Item_4_LogsFile, $Value_Item_4_AutoStartup, $Value_Item_4_ConfigsFile, $Value_Item_4_ButtonCustom_EX1_Enable, $Value_Item_4_ButtonCustom_EX1_Name, $Value_Item_4_ButtonCustom_EX1_ExePath, $Value_Item_4_ButtonCustom_EX1_ExeParameters, $Value_Item_4_ButtonCustom_EX2_Enable, $Value_Item_4_ButtonCustom_EX2_Name, $Value_Item_4_ButtonCustom_EX2_ExePath, $Value_Item_4_ButtonCustom_EX2_ExeParameters
Global $Value_Item_5_Enable, $Value_Item_5_IconPath, $Value_Item_5_DisplayName, $Value_Item_5_ExplorerPath, $Value_Item_5_ExePath, $Value_Item_5_ExeParameters, $Value_Item_5_ExeExitPath, $Value_Item_5_ExitParameters, $Value_Item_5_ExeExitPath_Ex, $Value_Item_5_ExitParameters_Ex, $Value_Item_5_PID, $Value_Item_5_ConfigFile, $Value_Item_5_LogsFile, $Value_Item_5_AutoStartup, $Value_Item_5_ConfigsFile, $Value_Item_5_ButtonCustom_EX1_Enable, $Value_Item_5_ButtonCustom_EX1_Name, $Value_Item_5_ButtonCustom_EX1_ExePath, $Value_Item_5_ButtonCustom_EX1_ExeParameters, $Value_Item_5_ButtonCustom_EX2_Enable, $Value_Item_5_ButtonCustom_EX2_Name, $Value_Item_5_ButtonCustom_EX2_ExePath, $Value_Item_5_ButtonCustom_EX2_ExeParameters
Global $Value_Item_6_Enable, $Value_Item_6_IconPath, $Value_Item_6_DisplayName, $Value_Item_6_ExplorerPath, $Value_Item_6_ExePath, $Value_Item_6_ExeParameters, $Value_Item_6_ExeExitPath, $Value_Item_6_ExitParameters, $Value_Item_6_ExeExitPath_Ex, $Value_Item_6_ExitParameters_Ex, $Value_Item_6_PID, $Value_Item_6_ConfigFile, $Value_Item_6_LogsFile, $Value_Item_6_AutoStartup, $Value_Item_6_ConfigsFile, $Value_Item_6_ButtonCustom_EX1_Enable, $Value_Item_6_ButtonCustom_EX1_Name, $Value_Item_6_ButtonCustom_EX1_ExePath, $Value_Item_6_ButtonCustom_EX1_ExeParameters, $Value_Item_6_ButtonCustom_EX2_Enable, $Value_Item_6_ButtonCustom_EX2_Name, $Value_Item_6_ButtonCustom_EX2_ExePath, $Value_Item_6_ButtonCustom_EX2_ExeParameters

$zWebServer_INI_Title_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Title_Name', 'zWebServer Control Panel')
$zWebServer_INI_Icon_Path = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_Path', '')
$zWebServer_INI_Icon_Link = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_Link', 'https://www.trong.live/')
$zWebServer_INI_Icon_TIP = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_TIP', 'Visit zWebServer dev site!')
$zWebServer_INI_Font_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Name', 'Segoe UI')
$zWebServer_INI_Font_Size = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Size', '9')
$zWebServer_INI_Font_Weight = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Weight', '400')
$zWebServer_INI_Background_Image = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Background_Image', '')
$zWebServer_INI_Background_Color = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Background_Color', '0xFFFFFF')
$zWebServer_INI_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'AutoStartup', '')
$zWebServer_INI_Minimize2Tray = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Minimize2Tray', '')
$zWebServer_INI_OnStartMinimize2Tray = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'OnStartMinimize2Tray', '')
$zWebServer_INI_Total_Item = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Total_Item', '6')
$zWebServer_INI_Item_1_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_1_SectionNAME', '')
$zWebServer_INI_Item_2_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_2_SectionNAME', '')
$zWebServer_INI_Item_3_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_3_SectionNAME', '')
$zWebServer_INI_Item_4_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_4_SectionNAME', '')
$zWebServer_INI_Item_5_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_5_SectionNAME', '')
$zWebServer_INI_Item_6_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_6_SectionNAME', '')

ConsoleWrite('$zWebServer_INI_Title_Name: ' & $zWebServer_INI_Title_Name & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_Path: ' & $zWebServer_INI_Icon_Path & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_Link: ' & $zWebServer_INI_Icon_Link & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_TIP: ' & $zWebServer_INI_Icon_TIP & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Name: ' & $zWebServer_INI_Font_Name & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Size: ' & $zWebServer_INI_Font_Size & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Weight: ' & $zWebServer_INI_Font_Weight & @CRLF)
ConsoleWrite('$zWebServer_INI_Background_Image: ' & $zWebServer_INI_Background_Image & @CRLF)
ConsoleWrite('$zWebServer_INI_Background_Color: ' & $zWebServer_INI_Background_Color & @CRLF)
ConsoleWrite('$zWebServer_INI_AutoStartup: ' & $zWebServer_INI_AutoStartup & @CRLF)
ConsoleWrite('$zWebServer_INI_Minimize2Tray: ' & $zWebServer_INI_Minimize2Tray & @CRLF)
ConsoleWrite('$zWebServer_INI_OnStartMinimize2Tray: ' & $zWebServer_INI_OnStartMinimize2Tray & @CRLF)
ConsoleWrite('$zWebServer_INI_Total_Item: ' & $zWebServer_INI_Total_Item & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_1_SectionNAME: ' & $zWebServer_INI_Item_1_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_2_SectionNAME: ' & $zWebServer_INI_Item_2_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_3_SectionNAME: ' & $zWebServer_INI_Item_3_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_4_SectionNAME: ' & $zWebServer_INI_Item_4_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_5_SectionNAME: ' & $zWebServer_INI_Item_5_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_6_SectionNAME: ' & $zWebServer_INI_Item_6_SectionNAME & @CRLF)


$Value_Item_1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'Enable', '')
$Value_Item_1_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'IconPath', '')
$Value_Item_1_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'DisplayName', '')
$Value_Item_1_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExplorerPath', '')
$Value_Item_1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExePath', '')
$Value_Item_1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeParameters', '')
$Value_Item_1_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeExitPath', '')
$Value_Item_1_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExitParameters', '')
$Value_Item_1_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_1_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_1_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'PID', '')
$Value_Item_1_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ConfigFile', '')
$Value_Item_1_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'LogsFile', '')
$Value_Item_1_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'AutoStartup', '')
$Value_Item_1_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ConfigsFile', '')
$Value_Item_1_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_1_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_1_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_1_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_1_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_1_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_1_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_1_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_1_Enable: ' & $Value_Item_1_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_IconPath: ' & $Value_Item_1_IconPath & @CRLF)
ConsoleWrite('$Value_Item_1_DisplayName: ' & $Value_Item_1_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_1_ExplorerPath: ' & $Value_Item_1_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_1_ExePath: ' & $Value_Item_1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ExeParameters: ' & $Value_Item_1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ExeExitPath: ' & $Value_Item_1_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_1_ExitParameters: ' & $Value_Item_1_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ExeExitPath_Ex: ' & $Value_Item_1_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_1_ExitParameters_Ex: ' & $Value_Item_1_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_1_PID: ' & $Value_Item_1_PID & @CRLF)
ConsoleWrite('$Value_Item_1_ConfigFile: ' & $Value_Item_1_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_1_LogsFile: ' & $Value_Item_1_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_1_AutoStartup: ' & $Value_Item_1_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_1_ConfigsFile: ' & $Value_Item_1_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_Enable: ' & $Value_Item_1_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_Name: ' & $Value_Item_1_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_ExePath: ' & $Value_Item_1_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_1_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_Enable: ' & $Value_Item_1_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_Name: ' & $Value_Item_1_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_ExePath: ' & $Value_Item_1_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_1_ButtonCustom_EX2_ExeParameters & @CRLF)

$Value_Item_2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'Enable', '')
$Value_Item_2_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'IconPath', '')
$Value_Item_2_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'DisplayName', '')
$Value_Item_2_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExplorerPath', '')
$Value_Item_2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExePath', '')
$Value_Item_2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeParameters', '')
$Value_Item_2_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeExitPath', '')
$Value_Item_2_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExitParameters', '')
$Value_Item_2_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_2_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_2_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'PID', '')
$Value_Item_2_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ConfigFile', '')
$Value_Item_2_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'LogsFile', '')
$Value_Item_2_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'AutoStartup', '')
$Value_Item_2_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ConfigsFile', '')
$Value_Item_2_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_2_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_2_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_2_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_2_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_2_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_2_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_2_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_2_Enable: ' & $Value_Item_2_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_IconPath: ' & $Value_Item_2_IconPath & @CRLF)
ConsoleWrite('$Value_Item_2_DisplayName: ' & $Value_Item_2_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_2_ExplorerPath: ' & $Value_Item_2_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_2_ExePath: ' & $Value_Item_2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ExeParameters: ' & $Value_Item_2_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ExeExitPath: ' & $Value_Item_2_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_2_ExitParameters: ' & $Value_Item_2_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ExeExitPath_Ex: ' & $Value_Item_2_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_2_ExitParameters_Ex: ' & $Value_Item_2_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_2_PID: ' & $Value_Item_2_PID & @CRLF)
ConsoleWrite('$Value_Item_2_ConfigFile: ' & $Value_Item_2_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_2_LogsFile: ' & $Value_Item_2_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_2_AutoStartup: ' & $Value_Item_2_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_2_ConfigsFile: ' & $Value_Item_2_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_Enable: ' & $Value_Item_2_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_Name: ' & $Value_Item_2_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_ExePath: ' & $Value_Item_2_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_2_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_Enable: ' & $Value_Item_2_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_Name: ' & $Value_Item_2_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_ExePath: ' & $Value_Item_2_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_2_ButtonCustom_EX2_ExeParameters & @CRLF)

$Value_Item_3_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'Enable', '')
$Value_Item_3_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'IconPath', '')
$Value_Item_3_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'DisplayName', '')
$Value_Item_3_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExplorerPath', '')
$Value_Item_3_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExePath', '')
$Value_Item_3_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeParameters', '')
$Value_Item_3_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeExitPath', '')
$Value_Item_3_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExitParameters', '')
$Value_Item_3_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_3_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_3_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'PID', '')
$Value_Item_3_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ConfigFile', '')
$Value_Item_3_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'LogsFile', '')
$Value_Item_3_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'AutoStartup', '')
$Value_Item_3_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ConfigsFile', '')
$Value_Item_3_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_3_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_3_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_3_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_3_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_3_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_3_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_3_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_3_Enable: ' & $Value_Item_3_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_IconPath: ' & $Value_Item_3_IconPath & @CRLF)
ConsoleWrite('$Value_Item_3_DisplayName: ' & $Value_Item_3_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_3_ExplorerPath: ' & $Value_Item_3_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_3_ExePath: ' & $Value_Item_3_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ExeParameters: ' & $Value_Item_3_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ExeExitPath: ' & $Value_Item_3_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_3_ExitParameters: ' & $Value_Item_3_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ExeExitPath_Ex: ' & $Value_Item_3_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_3_ExitParameters_Ex: ' & $Value_Item_3_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_3_PID: ' & $Value_Item_3_PID & @CRLF)
ConsoleWrite('$Value_Item_3_ConfigFile: ' & $Value_Item_3_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_3_LogsFile: ' & $Value_Item_3_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_3_AutoStartup: ' & $Value_Item_3_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_3_ConfigsFile: ' & $Value_Item_3_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_Enable: ' & $Value_Item_3_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_Name: ' & $Value_Item_3_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_ExePath: ' & $Value_Item_3_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_3_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_Enable: ' & $Value_Item_3_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_Name: ' & $Value_Item_3_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_ExePath: ' & $Value_Item_3_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_3_ButtonCustom_EX2_ExeParameters & @CRLF)



$Value_Item_4_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'Enable', '')
$Value_Item_4_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'IconPath', '')
$Value_Item_4_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'DisplayName', '')
$Value_Item_4_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExplorerPath', '')
$Value_Item_4_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExePath', '')
$Value_Item_4_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeParameters', '')
$Value_Item_4_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeExitPath', '')
$Value_Item_4_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExitParameters', '')
$Value_Item_4_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_4_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_4_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'PID', '')
$Value_Item_4_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ConfigFile', '')
$Value_Item_4_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'LogsFile', '')
$Value_Item_4_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'AutoStartup', '')
$Value_Item_4_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ConfigsFile', '')
$Value_Item_4_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_4_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_4_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_4_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_4_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_4_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_4_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_4_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_4_Enable: ' & $Value_Item_4_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_IconPath: ' & $Value_Item_4_IconPath & @CRLF)
ConsoleWrite('$Value_Item_4_DisplayName: ' & $Value_Item_4_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_4_ExplorerPath: ' & $Value_Item_4_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_4_ExePath: ' & $Value_Item_4_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ExeParameters: ' & $Value_Item_4_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ExeExitPath: ' & $Value_Item_4_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_4_ExitParameters: ' & $Value_Item_4_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ExeExitPath_Ex: ' & $Value_Item_4_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_4_ExitParameters_Ex: ' & $Value_Item_4_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_4_PID: ' & $Value_Item_4_PID & @CRLF)
ConsoleWrite('$Value_Item_4_ConfigFile: ' & $Value_Item_4_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_4_LogsFile: ' & $Value_Item_4_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_4_AutoStartup: ' & $Value_Item_4_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_4_ConfigsFile: ' & $Value_Item_4_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_Enable: ' & $Value_Item_4_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_Name: ' & $Value_Item_4_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_ExePath: ' & $Value_Item_4_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_4_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_Enable: ' & $Value_Item_4_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_Name: ' & $Value_Item_4_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_ExePath: ' & $Value_Item_4_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_4_ButtonCustom_EX2_ExeParameters & @CRLF)


$Value_Item_5_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'Enable', '')
$Value_Item_5_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'IconPath', '')
$Value_Item_5_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'DisplayName', '')
$Value_Item_5_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExplorerPath', '')
$Value_Item_5_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExePath', '')
$Value_Item_5_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeParameters', '')
$Value_Item_5_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeExitPath', '')
$Value_Item_5_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExitParameters', '')
$Value_Item_5_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_5_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_5_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'PID', '')
$Value_Item_5_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ConfigFile', '')
$Value_Item_5_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'LogsFile', '')
$Value_Item_5_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'AutoStartup', '')
$Value_Item_5_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ConfigsFile', '')
$Value_Item_5_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_5_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_5_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_5_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_5_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_5_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_5_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_5_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_5_Enable: ' & $Value_Item_5_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_IconPath: ' & $Value_Item_5_IconPath & @CRLF)
ConsoleWrite('$Value_Item_5_DisplayName: ' & $Value_Item_5_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_5_ExplorerPath: ' & $Value_Item_5_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_5_ExePath: ' & $Value_Item_5_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ExeParameters: ' & $Value_Item_5_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ExeExitPath: ' & $Value_Item_5_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_5_ExitParameters: ' & $Value_Item_5_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ExeExitPath_Ex: ' & $Value_Item_5_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_5_ExitParameters_Ex: ' & $Value_Item_5_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_5_PID: ' & $Value_Item_5_PID & @CRLF)
ConsoleWrite('$Value_Item_5_ConfigFile: ' & $Value_Item_5_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_5_LogsFile: ' & $Value_Item_5_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_5_AutoStartup: ' & $Value_Item_5_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_5_ConfigsFile: ' & $Value_Item_5_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_Enable: ' & $Value_Item_5_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_Name: ' & $Value_Item_5_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_ExePath: ' & $Value_Item_5_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_5_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_Enable: ' & $Value_Item_5_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_Name: ' & $Value_Item_5_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_ExePath: ' & $Value_Item_5_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_5_ButtonCustom_EX2_ExeParameters & @CRLF)


$Value_Item_6_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'Enable', '')
$Value_Item_6_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'IconPath', '')
$Value_Item_6_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'DisplayName', '')
$Value_Item_6_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExplorerPath', '')
$Value_Item_6_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExePath', '')
$Value_Item_6_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeParameters', '')
$Value_Item_6_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeExitPath', '')
$Value_Item_6_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExitParameters', '')
$Value_Item_6_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_6_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_6_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'PID', '')
$Value_Item_6_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ConfigFile', '')
$Value_Item_6_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'LogsFile', '')
$Value_Item_6_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'AutoStartup', '')
$Value_Item_6_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ConfigsFile', '')
$Value_Item_6_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_6_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_6_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_6_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_6_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_6_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_6_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_6_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')

ConsoleWrite('$Value_Item_6_Enable: ' & $Value_Item_6_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_IconPath: ' & $Value_Item_6_IconPath & @CRLF)
ConsoleWrite('$Value_Item_6_DisplayName: ' & $Value_Item_6_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_6_ExplorerPath: ' & $Value_Item_6_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_6_ExePath: ' & $Value_Item_6_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ExeParameters: ' & $Value_Item_6_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ExeExitPath: ' & $Value_Item_6_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_6_ExitParameters: ' & $Value_Item_6_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ExeExitPath_Ex: ' & $Value_Item_6_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_6_ExitParameters_Ex: ' & $Value_Item_6_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_6_PID: ' & $Value_Item_6_PID & @CRLF)
ConsoleWrite('$Value_Item_6_ConfigFile: ' & $Value_Item_6_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_6_LogsFile: ' & $Value_Item_6_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_6_AutoStartup: ' & $Value_Item_6_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_6_ConfigsFile: ' & $Value_Item_6_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_Enable: ' & $Value_Item_6_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_Name: ' & $Value_Item_6_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_ExePath: ' & $Value_Item_6_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_6_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_Enable: ' & $Value_Item_6_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_Name: ' & $Value_Item_6_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_ExePath: ' & $Value_Item_6_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_6_ButtonCustom_EX2_ExeParameters & @CRLF)

INI file zWebServer.ini:

[zWebServer]
Title_Name=zWebServer Control Panel
Icon_Path=zWebServer.ico
Icon_Link=https://www.trong.live/
Icon_TIP=Visit zWebServer dev site!
Font_Name=Segoe UI
Font_Size=9
Font_Weight=400
Background_Image=zWebServer.jpg
Background_Color=0xFFFFFF
AutoStartup=1
Minimize2Tray=1
OnStartMinimize2Tray=1
Total_Item=6
Item_1_SectionNAME=Apache
Item_2_SectionNAME=MySQL
Item_3_SectionNAME=FzFTP
Item_4_SectionNAME=NGINX
Item_5_SectionNAME=MemCached
Item_6_SectionNAME=PHPCGI

[Apache]
IconPath=Apache\Apache.ico
DisplayName=Apache x
ExplorerPath=Apache
ExePath=Apache\bin\httpd.exe
ExeParameters=
ExeExitPath=
ExitParameters=-k shutdown
ExeExitPath_Ex=
ExitParameters_Ex= 
PID=1234|2345|3456
ConfigFile=Apache\conf\httpd.conf|Apache\conf\extra\httpd-autoindex.conf|Apache\conf\extra\httpd-dav.conf|Apache\conf\extra\httpd-default.conf|Apache\conf\extra\httpd-info.conf|Apache\conf\extra\httpd-languages.conf|Apache\conf\extra\httpd-manual.conf|Apache\conf\extra\httpd-mpm.conf|Apache\conf\extra\httpd-multilang-errordoc.conf|Apache\conf\extra\httpd-ssl.conf|Apache\conf\extra\httpd-userdir.conf|Apache\conf\extra\httpd-vhosts.conf|Apache\conf\extra\proxy-html.conf
LogsFile=Apache\logs\access.log|Apache\logs\apache_request.log|Apache\logs\Error.log
AutoStartup=1
ConfigsFile=Apache\conf\httpd.conf|Apache\conf\extra\httpd-autoindex.conf|Apache\conf\extra\httpd-dav.conf|Apache\conf\extra\httpd-default.conf|Apache\conf\extra\httpd-info.conf|Apache\conf\extra\httpd-languages.conf|Apache\conf\extra\httpd-manual.conf|Apache\conf\extra\httpd-mpm.conf|Apache\conf\extra\httpd-multilang-errordoc.conf|Apache\conf\extra\httpd-ssl.conf|Apache\conf\extra\httpd-userdir.conf|Apache\conf\extra\httpd-vhosts.conf|Apache\conf\extra\proxy-html.conf
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters= 

[MySQL]
IconPath=MySQL\MySQL.ico
DisplayName=MySQL x
ExplorerPath=MySQL
ExePath=MySQL\bin\mysql.exe
ExeParameters=
ExeExitPath=MySQL\bin\mysqladmin.exe
ExitParameters=-u root shutdown
ExeExitPath_Ex=
ExitParameters_Ex= 
PID=1234|2345|3456
ConfigFile=MySQL\bin\my.ini|MySQL\data\my.ini
LogsFile=MySQL\data\mysql_error.log
AutoStartup=1
ConfigsFile=MySQL\bin\my.ini|MySQL\data\my.ini
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters= 

[FzFTP]
IconPath=FileZillaFTP\FileZillaFTP.ico
DisplayName=FileZillaFTP x
ExplorerPath=FileZillaFTP
ExePath=FileZillaFTP\FileZilla Server.exe
ExeParameters=
ExeExitPath=
ExitParameters=/compat /stop
ExeExitPath_Ex=
ExitParameters_Ex= 
PID=1234|2345|3456
ConfigFile=FileZillaFTP\FileZilla Server.xml|FileZillaFTP\FileZilla Server Default.xml|FileZillaFTP\FileZilla Server Interface.xml
LogsFile=FileZillaFTP\Logs\FileZilla Server.log
AutoStartup=1
ConfigsFile=FileZillaFTP\FileZilla Server.xml|FileZillaFTP\FileZilla Server Default.xml|FileZillaFTP\FileZilla Server Interface.xml
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters= 

[NGINX]
IconPath=NGINX\nginx.ico
DisplayName=NGINX x
ExplorerPath=NGINX
ExePath=NGINX\nginx.exe
ExeParameters=
ExeExitPath=NGINX\nginx.exe
ExitParameters=-s stop
ExeExitPath_Ex=NGINX\nginx.exe
ExitParameters_Ex= -s quit
PID=1234|2345|3456
ConfigFile=NGINX\conf\nginx.conf|NGINX\conf\fastcgi.conf|NGINX\conf\proxy.conf|NGINX\conf\mime.types
LogsFile=NGINX\logs\access.log|NGINX\logs\error.log|NGINX\logs\nginx_access.log|NGINX\logs\nginx_error.log|NGINX\logs\nginx_ssl_access.log|NGINX\logs\nginx_ssl_error.log
AutoStartup=1
ConfigsFile=NGINX\conf\nginx.conf|NGINX\conf\fastcgi.conf|NGINX\conf\proxy.conf|NGINX\conf\mime.types
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters= 

[MemCached]
IconPath=Memcached\Memcached.ico
DisplayName=MemCached x
ExplorerPath=Memcached
ExePath=Memcached\Memcached.exe
ExeParameters=
ExeExitPath=
ExitParameters=
ExeExitPath_Ex=
ExitParameters_Ex= 
PID=1234|2345|3456
ConfigFile=PHP\php.ini
LogsFile=
AutoStartup=1
ConfigsFile=PHP\php.ini
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters= 

[PHPCGI]
IconPath=PHP\php.ico
DisplayName=PHP-CGI x
ExplorerPath=PHP
ExePath=PHP\php-cgi.exe
ExeParameters=
ExeExitPath=
ExitParameters=
ExeExitPath_Ex=
ExitParameters_Ex= 
PID=1234|2345|3456
ConfigFile=PHP\php.ini
LogsFile=PHP\logs\php_error.log
AutoStartup=1
ConfigsFile=PHP\php.ini
ButtonCustom_EX1_Enable =1
ButtonCustom_EX1_Name =  Custom EX1
ButtonCustom_EX1_ExePath=
ButtonCustom_EX1_ExeParameters= 
ButtonCustom_EX2_Enable =1
ButtonCustom_EX2_Name =  Custom EX2
ButtonCustom_EX2_ExePath=
ButtonCustom_EX2_ExeParameters=

 

Thanks for all the ideas

Edited by VIP
code

Regards,
 

Link to comment
Share on other sites

#include <Debug.au3>

readthisini()
Func readthisini()
    Local $ini = @ScriptDir & "\zWebServer.ini"
    Local $aIniSectionNames = IniReadSectionNames($ini)
;~  _DebugArrayDisplay($aIniSectionNames, "$aIniSectionNames")
    Local $aTemp, $aArray[$aIniSectionNames[0] + 1][2]
    For $n = 1 To $aIniSectionNames[0]
        $aArray[$n][0] = $aIniSectionNames[$n]
        $aArray[$n][1] = IniReadSection($ini, $aIniSectionNames[$n])
;~      _DebugArrayDisplay($aArray[$n][1], $aIniSectionNames[$n])
    Next
    _DebugArrayDisplay($aArray, "Return")
    Return $aArray
EndFunc

 

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

#include <Debug.au3>

readthisini()
Func readthisini()
    Local $iCols = 0, $ini = @ScriptDir & "\zWebServer.ini"
    Local $aIniSectionNames = IniReadSectionNames($ini)
;~  _DebugArrayDisplay($aIniSectionNames, "$aIniSectionNames")
    Local $aTemp, $aArray[$aIniSectionNames[0] + 1][2]
    For $n = 1 To $aIniSectionNames[0]
        $aArray[$n][0] = $aIniSectionNames[$n]
        $aArray[$n][1] = IniReadSection($ini, $aIniSectionNames[$n])
        If $iCols < UBound($aArray[$n][1]) Then $iCols = UBound($aArray[$n][1])
    Next
    Local $aReturn3D[$aIniSectionNames[0] + 1][$iCols][2]
    For $n1 = 1 To $aIniSectionNames[0]
        $aTemp = $aArray[$n1][1]
        If Not IsArray($aTemp) Then ContinueLoop
        $aReturn3D[$n1][0][0] = $aIniSectionNames[$n1] ; this holds the section name
        For $n2 = 1 To UBound($aTemp) - 1
            For $n3 = 0 To UBound($aTemp, 2) - 1
                $aReturn3D[$n1][$n2][$n3] = $aTemp[$n2][$n3]
            Next
        Next
    Next

    ; show what's in the array
    For $n1 = 1 To UBound($aReturn3D, 1) - 1
        ConsoleWrite('+ >[' & $aReturn3D[$n1][0][0] & ']' & @CRLF)
        For $n2 = 1 To UBound($aReturn3D, 2) - 1
            If $aReturn3D[$n1][$n2][0] & $aReturn3D[$n1][$n2][1] = "" Then ContinueLoop
            ConsoleWrite('- >' & $aReturn3D[$n1][$n2][0] & ' = ')
            ConsoleWrite($aReturn3D[$n1][$n2][1] & @CRLF)
;~          For $n3 = 0 To UBound($aReturn3D, 3) - 1
;~              ConsoleWrite($n1 & @TAB & $n2 & @TAB & $n3 & @TAB & $aReturn3D[$n1][$n2][$n3] & @CRLF)
;~          Next
        Next
    Next
    Return $aReturn3D
EndFunc   ;==>readthisini

...and the 3D version. But if today is one of those days for you, ..take a walk and code tomorrow :)

Edited by argumentum
nicer looking

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Thank @argumentum very much.
The problem with using IniReadSection is that when you want to access the data, you will have to check the entire array to find the KEY name.

I am trying to access array with fixed number. If the key does not exist, its value will be null.

Regards,
 

Link to comment
Share on other sites

Or using Map ?

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=Beta
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <Constants.au3>

Global $mIni[]
ReadIni("Test.ini")
MsgBox($MB_SYSTEMMODAL, "", $mIni["PHPCGI|IconPath"])

Func ReadIni($sFile)
  Local $aSection = IniReadSectionNames($sFile)
  Local $aIni
  For $i = 1 To $aSection[0]
    $aIni = IniReadSection($sFile, $aSection[$i])
    For $j = 1 to $aIni[0][0]
      $mIni[$aSection[$i] & "|" & $aIni[$j][0]] = $aIni[$j][1]
    Next
  Next
EndFunc

 

Link to comment
Share on other sites

I don't know if it's optimized or not!
Do you have any advice?

Global $zWebServer_INI_FileName = 'zWebServer_NEW.ini', $zWebServer_INI_SectionNAME = 'zWebServer_NEW'

Global $aIniMap[]
ReadIni($zWebServer_INI_FileName)
 
Func ReadIni($sFile)
    Local $aSection = IniReadSectionNames($sFile)
    Local $aIni
    For $i = 1 To $aSection[0]
        $aIni = IniReadSection($sFile, $aSection[$i])
        For $j = 1 To $aIni[0][0]
            $aIniMap[$aSection[$i] & "|" & $aIni[$j][0]] = $aIni[$j][1]
        Next
    Next
EndFunc   ;==>ReadIni

Global $zWebServer_INI_Title_Name, $zWebServer_INI_Icon_Path, $zWebServer_INI_Icon_Link, $zWebServer_INI_Icon_TIP, $zWebServer_INI_Font_Name, $zWebServer_INI_Font_Size, $zWebServer_INI_Font_Weight, $zWebServer_INI_Background_Image, $zWebServer_INI_Background_Color, $zWebServer_INI_AutoStartup, $zWebServer_INI_Minimize2Tray, $zWebServer_INI_OnStartMinimize2Tray, $zWebServer_INI_Total_Item, $zWebServer_INI_Item_1_SectionNAME, $zWebServer_INI_Item_2_SectionNAME, $zWebServer_INI_Item_3_SectionNAME, $zWebServer_INI_Item_4_SectionNAME, $zWebServer_INI_Item_5_SectionNAME, $zWebServer_INI_Item_6_SectionNAME
Global $Value_Item_1_Enable, $Value_Item_1_IconPath, $Value_Item_1_DisplayName, $Value_Item_1_ExplorerPath, $Value_Item_1_ExePath, $Value_Item_1_ExeParameters, $Value_Item_1_ExeExitPath, $Value_Item_1_ExitParameters, $Value_Item_1_ExeExitPath_Ex, $Value_Item_1_ExitParameters_Ex, $Value_Item_1_PID, $Value_Item_1_ConfigFile, $Value_Item_1_LogsFile, $Value_Item_1_AutoStartup, $Value_Item_1_ConfigsFile, $Value_Item_1_ButtonCustom_EX1_Enable, $Value_Item_1_ButtonCustom_EX1_Name, $Value_Item_1_ButtonCustom_EX1_ExePath, $Value_Item_1_ButtonCustom_EX1_ExeParameters, $Value_Item_1_ButtonCustom_EX2_Enable, $Value_Item_1_ButtonCustom_EX2_Name, $Value_Item_1_ButtonCustom_EX2_ExePath, $Value_Item_1_ButtonCustom_EX2_ExeParameters
Global $Value_Item_2_Enable, $Value_Item_2_IconPath, $Value_Item_2_DisplayName, $Value_Item_2_ExplorerPath, $Value_Item_2_ExePath, $Value_Item_2_ExeParameters, $Value_Item_2_ExeExitPath, $Value_Item_2_ExitParameters, $Value_Item_2_ExeExitPath_Ex, $Value_Item_2_ExitParameters_Ex, $Value_Item_2_PID, $Value_Item_2_ConfigFile, $Value_Item_2_LogsFile, $Value_Item_2_AutoStartup, $Value_Item_2_ConfigsFile, $Value_Item_2_ButtonCustom_EX1_Enable, $Value_Item_2_ButtonCustom_EX1_Name, $Value_Item_2_ButtonCustom_EX1_ExePath, $Value_Item_2_ButtonCustom_EX1_ExeParameters, $Value_Item_2_ButtonCustom_EX2_Enable, $Value_Item_2_ButtonCustom_EX2_Name, $Value_Item_2_ButtonCustom_EX2_ExePath, $Value_Item_2_ButtonCustom_EX2_ExeParameters
Global $Value_Item_3_Enable, $Value_Item_3_IconPath, $Value_Item_3_DisplayName, $Value_Item_3_ExplorerPath, $Value_Item_3_ExePath, $Value_Item_3_ExeParameters, $Value_Item_3_ExeExitPath, $Value_Item_3_ExitParameters, $Value_Item_3_ExeExitPath_Ex, $Value_Item_3_ExitParameters_Ex, $Value_Item_3_PID, $Value_Item_3_ConfigFile, $Value_Item_3_LogsFile, $Value_Item_3_AutoStartup, $Value_Item_3_ConfigsFile, $Value_Item_3_ButtonCustom_EX1_Enable, $Value_Item_3_ButtonCustom_EX1_Name, $Value_Item_3_ButtonCustom_EX1_ExePath, $Value_Item_3_ButtonCustom_EX1_ExeParameters, $Value_Item_3_ButtonCustom_EX2_Enable, $Value_Item_3_ButtonCustom_EX2_Name, $Value_Item_3_ButtonCustom_EX2_ExePath, $Value_Item_3_ButtonCustom_EX2_ExeParameters
Global $Value_Item_4_Enable, $Value_Item_4_IconPath, $Value_Item_4_DisplayName, $Value_Item_4_ExplorerPath, $Value_Item_4_ExePath, $Value_Item_4_ExeParameters, $Value_Item_4_ExeExitPath, $Value_Item_4_ExitParameters, $Value_Item_4_ExeExitPath_Ex, $Value_Item_4_ExitParameters_Ex, $Value_Item_4_PID, $Value_Item_4_ConfigFile, $Value_Item_4_LogsFile, $Value_Item_4_AutoStartup, $Value_Item_4_ConfigsFile, $Value_Item_4_ButtonCustom_EX1_Enable, $Value_Item_4_ButtonCustom_EX1_Name, $Value_Item_4_ButtonCustom_EX1_ExePath, $Value_Item_4_ButtonCustom_EX1_ExeParameters, $Value_Item_4_ButtonCustom_EX2_Enable, $Value_Item_4_ButtonCustom_EX2_Name, $Value_Item_4_ButtonCustom_EX2_ExePath, $Value_Item_4_ButtonCustom_EX2_ExeParameters
Global $Value_Item_5_Enable, $Value_Item_5_IconPath, $Value_Item_5_DisplayName, $Value_Item_5_ExplorerPath, $Value_Item_5_ExePath, $Value_Item_5_ExeParameters, $Value_Item_5_ExeExitPath, $Value_Item_5_ExitParameters, $Value_Item_5_ExeExitPath_Ex, $Value_Item_5_ExitParameters_Ex, $Value_Item_5_PID, $Value_Item_5_ConfigFile, $Value_Item_5_LogsFile, $Value_Item_5_AutoStartup, $Value_Item_5_ConfigsFile, $Value_Item_5_ButtonCustom_EX1_Enable, $Value_Item_5_ButtonCustom_EX1_Name, $Value_Item_5_ButtonCustom_EX1_ExePath, $Value_Item_5_ButtonCustom_EX1_ExeParameters, $Value_Item_5_ButtonCustom_EX2_Enable, $Value_Item_5_ButtonCustom_EX2_Name, $Value_Item_5_ButtonCustom_EX2_ExePath, $Value_Item_5_ButtonCustom_EX2_ExeParameters
Global $Value_Item_6_Enable, $Value_Item_6_IconPath, $Value_Item_6_DisplayName, $Value_Item_6_ExplorerPath, $Value_Item_6_ExePath, $Value_Item_6_ExeParameters, $Value_Item_6_ExeExitPath, $Value_Item_6_ExitParameters, $Value_Item_6_ExeExitPath_Ex, $Value_Item_6_ExitParameters_Ex, $Value_Item_6_PID, $Value_Item_6_ConfigFile, $Value_Item_6_LogsFile, $Value_Item_6_AutoStartup, $Value_Item_6_ConfigsFile, $Value_Item_6_ButtonCustom_EX1_Enable, $Value_Item_6_ButtonCustom_EX1_Name, $Value_Item_6_ButtonCustom_EX1_ExePath, $Value_Item_6_ButtonCustom_EX1_ExeParameters, $Value_Item_6_ButtonCustom_EX2_Enable, $Value_Item_6_ButtonCustom_EX2_Name, $Value_Item_6_ButtonCustom_EX2_ExePath, $Value_Item_6_ButtonCustom_EX2_ExeParameters
#cs
$zWebServer_INI_Title_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Title_Name', 'zWebServer Control Panel')
$zWebServer_INI_Icon_Path = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_Path', '')
$zWebServer_INI_Icon_Link = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_Link', 'https://www.trong.live/')
$zWebServer_INI_Icon_TIP = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Icon_TIP', 'Visit zWebServer dev site!')
$zWebServer_INI_Font_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Name', 'Segoe UI')
$zWebServer_INI_Font_Size = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Size', '9')
$zWebServer_INI_Font_Weight = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Font_Weight', '400')
$zWebServer_INI_Background_Image = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Background_Image', '')
$zWebServer_INI_Background_Color = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Background_Color', '0xFFFFFF')
$zWebServer_INI_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'AutoStartup', '')
$zWebServer_INI_Minimize2Tray = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Minimize2Tray', '')
$zWebServer_INI_OnStartMinimize2Tray = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'OnStartMinimize2Tray', '')
$zWebServer_INI_Total_Item = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Total_Item', '6')
$zWebServer_INI_Item_1_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_1_SectionNAME', '')
$zWebServer_INI_Item_2_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_2_SectionNAME', '')
$zWebServer_INI_Item_3_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_3_SectionNAME', '')
$zWebServer_INI_Item_4_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_4_SectionNAME', '')
$zWebServer_INI_Item_5_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_5_SectionNAME', '')
$zWebServer_INI_Item_6_SectionNAME = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, 'Item_6_SectionNAME', '')
#ce
$zWebServer_INI_Title_Name = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Title_Name']
$zWebServer_INI_Icon_Path = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_Path']
$zWebServer_INI_Icon_Link = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_Link']
$zWebServer_INI_Icon_TIP = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_TIP']
$zWebServer_INI_Font_Name = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Name']
$zWebServer_INI_Font_Size = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Size']
$zWebServer_INI_Font_Weight = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Weight']
$zWebServer_INI_Background_Image = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Background_Image']
$zWebServer_INI_Background_Color = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Background_Color']
$zWebServer_INI_AutoStartup = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'AutoStartup']
$zWebServer_INI_Minimize2Tray = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Minimize2Tray']
$zWebServer_INI_OnStartMinimize2Tray = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'OnStartMinimize2Tray']
$zWebServer_INI_Total_Item = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Total_Item']
$zWebServer_INI_Item_1_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_1_SectionNAME']
$zWebServer_INI_Item_2_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_2_SectionNAME']
$zWebServer_INI_Item_3_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_3_SectionNAME']
$zWebServer_INI_Item_4_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_4_SectionNAME']
$zWebServer_INI_Item_5_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_5_SectionNAME']
$zWebServer_INI_Item_6_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_6_SectionNAME']

ConsoleWrite('$zWebServer_INI_Title_Name: ' & $zWebServer_INI_Title_Name & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_Path: ' & $zWebServer_INI_Icon_Path & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_Link: ' & $zWebServer_INI_Icon_Link & @CRLF)
ConsoleWrite('$zWebServer_INI_Icon_TIP: ' & $zWebServer_INI_Icon_TIP & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Name: ' & $zWebServer_INI_Font_Name & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Size: ' & $zWebServer_INI_Font_Size & @CRLF)
ConsoleWrite('$zWebServer_INI_Font_Weight: ' & $zWebServer_INI_Font_Weight & @CRLF)
ConsoleWrite('$zWebServer_INI_Background_Image: ' & $zWebServer_INI_Background_Image & @CRLF)
ConsoleWrite('$zWebServer_INI_Background_Color: ' & $zWebServer_INI_Background_Color & @CRLF)
ConsoleWrite('$zWebServer_INI_AutoStartup: ' & $zWebServer_INI_AutoStartup & @CRLF)
ConsoleWrite('$zWebServer_INI_Minimize2Tray: ' & $zWebServer_INI_Minimize2Tray & @CRLF)
ConsoleWrite('$zWebServer_INI_OnStartMinimize2Tray: ' & $zWebServer_INI_OnStartMinimize2Tray & @CRLF)
ConsoleWrite('$zWebServer_INI_Total_Item: ' & $zWebServer_INI_Total_Item & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_1_SectionNAME: ' & $zWebServer_INI_Item_1_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_2_SectionNAME: ' & $zWebServer_INI_Item_2_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_3_SectionNAME: ' & $zWebServer_INI_Item_3_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_4_SectionNAME: ' & $zWebServer_INI_Item_4_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_5_SectionNAME: ' & $zWebServer_INI_Item_5_SectionNAME & @CRLF)
ConsoleWrite('$zWebServer_INI_Item_6_SectionNAME: ' & $zWebServer_INI_Item_6_SectionNAME & @CRLF)

#cs
$Value_Item_1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'Enable', '')
$Value_Item_1_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'IconPath', '')
$Value_Item_1_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'DisplayName', '')
$Value_Item_1_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExplorerPath', '')
$Value_Item_1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExePath', '')
$Value_Item_1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeParameters', '')
$Value_Item_1_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeExitPath', '')
$Value_Item_1_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExitParameters', '')
$Value_Item_1_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_1_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_1_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'PID', '')
$Value_Item_1_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ConfigFile', '')
$Value_Item_1_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'LogsFile', '')
$Value_Item_1_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'AutoStartup', '')
$Value_Item_1_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ConfigsFile', '')
$Value_Item_1_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_1_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_1_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_1_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_1_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_1_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_1_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_1_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_1_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce
$Value_Item_1_Enable = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'Enable']
$Value_Item_1_IconPath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'IconPath']
$Value_Item_1_DisplayName = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'DisplayName']
$Value_Item_1_ExplorerPath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_1_ExePath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExePath']
$Value_Item_1_ExeParameters = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeParameters']
$Value_Item_1_ExeExitPath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_1_ExitParameters = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExitParameters']
$Value_Item_1_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_1_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_1_PID = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'PID']
$Value_Item_1_ConfigFile = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ConfigFile']
$Value_Item_1_LogsFile = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'LogsFile']
$Value_Item_1_AutoStartup = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'AutoStartup']
$Value_Item_1_ConfigsFile = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_1_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_1_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_1_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_1_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_1_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_1_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_1_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_1_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_1_Enable: ' & $Value_Item_1_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_IconPath: ' & $Value_Item_1_IconPath & @CRLF)
ConsoleWrite('$Value_Item_1_DisplayName: ' & $Value_Item_1_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_1_ExplorerPath: ' & $Value_Item_1_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_1_ExePath: ' & $Value_Item_1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ExeParameters: ' & $Value_Item_1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ExeExitPath: ' & $Value_Item_1_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_1_ExitParameters: ' & $Value_Item_1_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ExeExitPath_Ex: ' & $Value_Item_1_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_1_ExitParameters_Ex: ' & $Value_Item_1_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_1_PID: ' & $Value_Item_1_PID & @CRLF)
ConsoleWrite('$Value_Item_1_ConfigFile: ' & $Value_Item_1_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_1_LogsFile: ' & $Value_Item_1_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_1_AutoStartup: ' & $Value_Item_1_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_1_ConfigsFile: ' & $Value_Item_1_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_Enable: ' & $Value_Item_1_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_Name: ' & $Value_Item_1_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_ExePath: ' & $Value_Item_1_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_1_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_Enable: ' & $Value_Item_1_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_Name: ' & $Value_Item_1_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_ExePath: ' & $Value_Item_1_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_1_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_1_ButtonCustom_EX2_ExeParameters & @CRLF)

#cs
$Value_Item_2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'Enable', '')
$Value_Item_2_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'IconPath', '')
$Value_Item_2_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'DisplayName', '')
$Value_Item_2_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExplorerPath', '')
$Value_Item_2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExePath', '')
$Value_Item_2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeParameters', '')
$Value_Item_2_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeExitPath', '')
$Value_Item_2_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExitParameters', '')
$Value_Item_2_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_2_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_2_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'PID', '')
$Value_Item_2_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ConfigFile', '')
$Value_Item_2_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'LogsFile', '')
$Value_Item_2_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'AutoStartup', '')
$Value_Item_2_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ConfigsFile', '')
$Value_Item_2_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_2_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_2_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_2_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_2_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_2_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_2_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_2_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_2_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce
$Value_Item_2_Enable = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'Enable']
$Value_Item_2_IconPath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'IconPath']
$Value_Item_2_DisplayName = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'DisplayName']
$Value_Item_2_ExplorerPath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_2_ExePath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExePath']
$Value_Item_2_ExeParameters = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeParameters']
$Value_Item_2_ExeExitPath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_2_ExitParameters = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExitParameters']
$Value_Item_2_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_2_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_2_PID = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'PID']
$Value_Item_2_ConfigFile = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ConfigFile']
$Value_Item_2_LogsFile = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'LogsFile']
$Value_Item_2_AutoStartup = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'AutoStartup']
$Value_Item_2_ConfigsFile = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_2_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_2_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_2_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_2_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_2_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_2_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_2_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_2_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_2_Enable: ' & $Value_Item_2_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_IconPath: ' & $Value_Item_2_IconPath & @CRLF)
ConsoleWrite('$Value_Item_2_DisplayName: ' & $Value_Item_2_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_2_ExplorerPath: ' & $Value_Item_2_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_2_ExePath: ' & $Value_Item_2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ExeParameters: ' & $Value_Item_2_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ExeExitPath: ' & $Value_Item_2_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_2_ExitParameters: ' & $Value_Item_2_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ExeExitPath_Ex: ' & $Value_Item_2_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_2_ExitParameters_Ex: ' & $Value_Item_2_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_2_PID: ' & $Value_Item_2_PID & @CRLF)
ConsoleWrite('$Value_Item_2_ConfigFile: ' & $Value_Item_2_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_2_LogsFile: ' & $Value_Item_2_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_2_AutoStartup: ' & $Value_Item_2_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_2_ConfigsFile: ' & $Value_Item_2_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_Enable: ' & $Value_Item_2_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_Name: ' & $Value_Item_2_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_ExePath: ' & $Value_Item_2_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_2_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_Enable: ' & $Value_Item_2_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_Name: ' & $Value_Item_2_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_ExePath: ' & $Value_Item_2_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_2_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_2_ButtonCustom_EX2_ExeParameters & @CRLF)

#cs
$Value_Item_3_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'Enable', '')
$Value_Item_3_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'IconPath', '')
$Value_Item_3_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'DisplayName', '')
$Value_Item_3_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExplorerPath', '')
$Value_Item_3_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExePath', '')
$Value_Item_3_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeParameters', '')
$Value_Item_3_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeExitPath', '')
$Value_Item_3_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExitParameters', '')
$Value_Item_3_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_3_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_3_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'PID', '')
$Value_Item_3_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ConfigFile', '')
$Value_Item_3_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'LogsFile', '')
$Value_Item_3_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'AutoStartup', '')
$Value_Item_3_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ConfigsFile', '')
$Value_Item_3_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_3_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_3_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_3_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_3_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_3_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_3_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_3_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_3_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce

$Value_Item_3_Enable = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'Enable']
$Value_Item_3_IconPath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'IconPath']
$Value_Item_3_DisplayName = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'DisplayName']
$Value_Item_3_ExplorerPath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_3_ExePath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExePath']
$Value_Item_3_ExeParameters = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeParameters']
$Value_Item_3_ExeExitPath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_3_ExitParameters = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExitParameters']
$Value_Item_3_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_3_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_3_PID = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'PID']
$Value_Item_3_ConfigFile = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ConfigFile']
$Value_Item_3_LogsFile = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'LogsFile']
$Value_Item_3_AutoStartup = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'AutoStartup']
$Value_Item_3_ConfigsFile = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_3_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_3_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_3_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_3_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_3_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_3_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_3_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_3_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_3_Enable: ' & $Value_Item_3_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_IconPath: ' & $Value_Item_3_IconPath & @CRLF)
ConsoleWrite('$Value_Item_3_DisplayName: ' & $Value_Item_3_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_3_ExplorerPath: ' & $Value_Item_3_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_3_ExePath: ' & $Value_Item_3_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ExeParameters: ' & $Value_Item_3_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ExeExitPath: ' & $Value_Item_3_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_3_ExitParameters: ' & $Value_Item_3_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ExeExitPath_Ex: ' & $Value_Item_3_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_3_ExitParameters_Ex: ' & $Value_Item_3_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_3_PID: ' & $Value_Item_3_PID & @CRLF)
ConsoleWrite('$Value_Item_3_ConfigFile: ' & $Value_Item_3_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_3_LogsFile: ' & $Value_Item_3_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_3_AutoStartup: ' & $Value_Item_3_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_3_ConfigsFile: ' & $Value_Item_3_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_Enable: ' & $Value_Item_3_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_Name: ' & $Value_Item_3_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_ExePath: ' & $Value_Item_3_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_3_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_Enable: ' & $Value_Item_3_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_Name: ' & $Value_Item_3_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_ExePath: ' & $Value_Item_3_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_3_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_3_ButtonCustom_EX2_ExeParameters & @CRLF)



#cs
$Value_Item_4_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'Enable', '')
$Value_Item_4_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'IconPath', '')
$Value_Item_4_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'DisplayName', '')
$Value_Item_4_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExplorerPath', '')
$Value_Item_4_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExePath', '')
$Value_Item_4_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeParameters', '')
$Value_Item_4_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeExitPath', '')
$Value_Item_4_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExitParameters', '')
$Value_Item_4_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_4_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_4_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'PID', '')
$Value_Item_4_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ConfigFile', '')
$Value_Item_4_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'LogsFile', '')
$Value_Item_4_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'AutoStartup', '')
$Value_Item_4_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ConfigsFile', '')
$Value_Item_4_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_4_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_4_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_4_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_4_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_4_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_4_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_4_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_4_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce

$Value_Item_4_Enable = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'Enable']
$Value_Item_4_IconPath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'IconPath']
$Value_Item_4_DisplayName = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'DisplayName']
$Value_Item_4_ExplorerPath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_4_ExePath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExePath']
$Value_Item_4_ExeParameters = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeParameters']
$Value_Item_4_ExeExitPath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_4_ExitParameters = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExitParameters']
$Value_Item_4_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_4_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_4_PID = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'PID']
$Value_Item_4_ConfigFile = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ConfigFile']
$Value_Item_4_LogsFile = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'LogsFile']
$Value_Item_4_AutoStartup = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'AutoStartup']
$Value_Item_4_ConfigsFile = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_4_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_4_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_4_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_4_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_4_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_4_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_4_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_4_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_4_Enable: ' & $Value_Item_4_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_IconPath: ' & $Value_Item_4_IconPath & @CRLF)
ConsoleWrite('$Value_Item_4_DisplayName: ' & $Value_Item_4_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_4_ExplorerPath: ' & $Value_Item_4_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_4_ExePath: ' & $Value_Item_4_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ExeParameters: ' & $Value_Item_4_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ExeExitPath: ' & $Value_Item_4_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_4_ExitParameters: ' & $Value_Item_4_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ExeExitPath_Ex: ' & $Value_Item_4_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_4_ExitParameters_Ex: ' & $Value_Item_4_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_4_PID: ' & $Value_Item_4_PID & @CRLF)
ConsoleWrite('$Value_Item_4_ConfigFile: ' & $Value_Item_4_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_4_LogsFile: ' & $Value_Item_4_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_4_AutoStartup: ' & $Value_Item_4_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_4_ConfigsFile: ' & $Value_Item_4_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_Enable: ' & $Value_Item_4_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_Name: ' & $Value_Item_4_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_ExePath: ' & $Value_Item_4_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_4_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_Enable: ' & $Value_Item_4_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_Name: ' & $Value_Item_4_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_ExePath: ' & $Value_Item_4_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_4_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_4_ButtonCustom_EX2_ExeParameters & @CRLF)


#cs
$Value_Item_5_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'Enable', '')
$Value_Item_5_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'IconPath', '')
$Value_Item_5_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'DisplayName', '')
$Value_Item_5_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExplorerPath', '')
$Value_Item_5_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExePath', '')
$Value_Item_5_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeParameters', '')
$Value_Item_5_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeExitPath', '')
$Value_Item_5_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExitParameters', '')
$Value_Item_5_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_5_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_5_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'PID', '')
$Value_Item_5_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ConfigFile', '')
$Value_Item_5_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'LogsFile', '')
$Value_Item_5_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'AutoStartup', '')
$Value_Item_5_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ConfigsFile', '')
$Value_Item_5_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_5_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_5_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_5_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_5_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_5_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_5_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_5_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_5_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce

$Value_Item_5_Enable = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'Enable']
$Value_Item_5_IconPath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'IconPath']
$Value_Item_5_DisplayName = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'DisplayName']
$Value_Item_5_ExplorerPath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_5_ExePath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExePath']
$Value_Item_5_ExeParameters = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeParameters']
$Value_Item_5_ExeExitPath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_5_ExitParameters = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExitParameters']
$Value_Item_5_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_5_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_5_PID = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'PID']
$Value_Item_5_ConfigFile = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ConfigFile']
$Value_Item_5_LogsFile = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'LogsFile']
$Value_Item_5_AutoStartup = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'AutoStartup']
$Value_Item_5_ConfigsFile = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_5_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_5_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_5_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_5_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_5_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_5_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_5_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_5_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_5_Enable: ' & $Value_Item_5_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_IconPath: ' & $Value_Item_5_IconPath & @CRLF)
ConsoleWrite('$Value_Item_5_DisplayName: ' & $Value_Item_5_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_5_ExplorerPath: ' & $Value_Item_5_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_5_ExePath: ' & $Value_Item_5_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ExeParameters: ' & $Value_Item_5_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ExeExitPath: ' & $Value_Item_5_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_5_ExitParameters: ' & $Value_Item_5_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ExeExitPath_Ex: ' & $Value_Item_5_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_5_ExitParameters_Ex: ' & $Value_Item_5_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_5_PID: ' & $Value_Item_5_PID & @CRLF)
ConsoleWrite('$Value_Item_5_ConfigFile: ' & $Value_Item_5_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_5_LogsFile: ' & $Value_Item_5_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_5_AutoStartup: ' & $Value_Item_5_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_5_ConfigsFile: ' & $Value_Item_5_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_Enable: ' & $Value_Item_5_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_Name: ' & $Value_Item_5_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_ExePath: ' & $Value_Item_5_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_5_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_Enable: ' & $Value_Item_5_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_Name: ' & $Value_Item_5_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_ExePath: ' & $Value_Item_5_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_5_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_5_ButtonCustom_EX2_ExeParameters & @CRLF)


#cs
$Value_Item_6_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'Enable', '')
$Value_Item_6_IconPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'IconPath', '')
$Value_Item_6_DisplayName = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'DisplayName', '')
$Value_Item_6_ExplorerPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExplorerPath', '')
$Value_Item_6_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExePath', '')
$Value_Item_6_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeParameters', '')
$Value_Item_6_ExeExitPath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeExitPath', '')
$Value_Item_6_ExitParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExitParameters', '')
$Value_Item_6_ExeExitPath_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExeExitPath_Ex', '')
$Value_Item_6_ExitParameters_Ex = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ExitParameters_Ex', '')
$Value_Item_6_PID = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'PID', '')
$Value_Item_6_ConfigFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ConfigFile', '')
$Value_Item_6_LogsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'LogsFile', '')
$Value_Item_6_AutoStartup = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'AutoStartup', '')
$Value_Item_6_ConfigsFile = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ConfigsFile', '')
$Value_Item_6_ButtonCustom_EX1_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_Enable', '')
$Value_Item_6_ButtonCustom_EX1_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_Name', '')
$Value_Item_6_ButtonCustom_EX1_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_ExePath', '')
$Value_Item_6_ButtonCustom_EX1_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX1_ExeParameters', '')
$Value_Item_6_ButtonCustom_EX2_Enable = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_Enable', '')
$Value_Item_6_ButtonCustom_EX2_Name = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_Name', '')
$Value_Item_6_ButtonCustom_EX2_ExePath = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_ExePath', '')
$Value_Item_6_ButtonCustom_EX2_ExeParameters = IniRead($zWebServer_INI_FileName, $zWebServer_INI_Item_6_SectionNAME, 'ButtonCustom_EX2_ExeParameters', '')
#ce

$Value_Item_6_Enable = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'Enable']
$Value_Item_6_IconPath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'IconPath']
$Value_Item_6_DisplayName = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'DisplayName']
$Value_Item_6_ExplorerPath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExplorerPath']
$Value_Item_6_ExePath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExePath']
$Value_Item_6_ExeParameters = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeParameters']
$Value_Item_6_ExeExitPath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeExitPath']
$Value_Item_6_ExitParameters = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExitParameters']
$Value_Item_6_ExeExitPath_Ex = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeExitPath_Ex']
$Value_Item_6_ExitParameters_Ex = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExitParameters_Ex']
$Value_Item_6_PID = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'PID']
$Value_Item_6_ConfigFile = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ConfigFile']
$Value_Item_6_LogsFile = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'LogsFile']
$Value_Item_6_AutoStartup = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'AutoStartup']
$Value_Item_6_ConfigsFile = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ConfigsFile']
$Value_Item_6_ButtonCustom_EX1_Enable = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_Enable']
$Value_Item_6_ButtonCustom_EX1_Name = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_Name']
$Value_Item_6_ButtonCustom_EX1_ExePath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath']
$Value_Item_6_ButtonCustom_EX1_ExeParameters = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters']
$Value_Item_6_ButtonCustom_EX2_Enable = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_Enable']
$Value_Item_6_ButtonCustom_EX2_Name = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_Name']
$Value_Item_6_ButtonCustom_EX2_ExePath = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath']
$Value_Item_6_ButtonCustom_EX2_ExeParameters = $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters']

ConsoleWrite('$Value_Item_6_Enable: ' & $Value_Item_6_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_IconPath: ' & $Value_Item_6_IconPath & @CRLF)
ConsoleWrite('$Value_Item_6_DisplayName: ' & $Value_Item_6_DisplayName & @CRLF)
ConsoleWrite('$Value_Item_6_ExplorerPath: ' & $Value_Item_6_ExplorerPath & @CRLF)
ConsoleWrite('$Value_Item_6_ExePath: ' & $Value_Item_6_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ExeParameters: ' & $Value_Item_6_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ExeExitPath: ' & $Value_Item_6_ExeExitPath & @CRLF)
ConsoleWrite('$Value_Item_6_ExitParameters: ' & $Value_Item_6_ExitParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ExeExitPath_Ex: ' & $Value_Item_6_ExeExitPath_Ex & @CRLF)
ConsoleWrite('$Value_Item_6_ExitParameters_Ex: ' & $Value_Item_6_ExitParameters_Ex & @CRLF)
ConsoleWrite('$Value_Item_6_PID: ' & $Value_Item_6_PID & @CRLF)
ConsoleWrite('$Value_Item_6_ConfigFile: ' & $Value_Item_6_ConfigFile & @CRLF)
ConsoleWrite('$Value_Item_6_LogsFile: ' & $Value_Item_6_LogsFile & @CRLF)
ConsoleWrite('$Value_Item_6_AutoStartup: ' & $Value_Item_6_AutoStartup & @CRLF)
ConsoleWrite('$Value_Item_6_ConfigsFile: ' & $Value_Item_6_ConfigsFile & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_Enable: ' & $Value_Item_6_ButtonCustom_EX1_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_Name: ' & $Value_Item_6_ButtonCustom_EX1_Name & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_ExePath: ' & $Value_Item_6_ButtonCustom_EX1_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX1_ExeParameters: ' & $Value_Item_6_ButtonCustom_EX1_ExeParameters & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_Enable: ' & $Value_Item_6_ButtonCustom_EX2_Enable & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_Name: ' & $Value_Item_6_ButtonCustom_EX2_Name & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_ExePath: ' & $Value_Item_6_ButtonCustom_EX2_ExePath & @CRLF)
ConsoleWrite('$Value_Item_6_ButtonCustom_EX2_ExeParameters: ' & $Value_Item_6_ButtonCustom_EX2_ExeParameters & @CRLF)

 

Regards,
 

Link to comment
Share on other sites

ini2code4build()
Func ini2code4build()

    Local $hTimer = TimerInit(), $iCols = 0, $ini = @ScriptDir & "\zWebServer.ini"
    Local $aIniSectionNames = IniReadSectionNames($ini)
;~  _DebugArrayDisplay($aIniSectionNames, "$aIniSectionNames")
    Local $aTemp, $aArray[$aIniSectionNames[0] + 1][2]
    For $n = 1 To $aIniSectionNames[0]
        $aArray[$n][0] = $aIniSectionNames[$n]
        $aArray[$n][1] = IniReadSection($ini, $aIniSectionNames[$n])
        If $iCols < UBound($aArray[$n][1]) Then $iCols = UBound($aArray[$n][1])
    Next
    Local $aReturn3D[$aIniSectionNames[0] + 1][$iCols][2]
    For $n1 = 1 To $aIniSectionNames[0]
        $aTemp = $aArray[$n1][1]
        If Not IsArray($aTemp) Then ContinueLoop
        $aReturn3D[$n1][0][0] = $aIniSectionNames[$n1] ; this holds the section name
        For $n2 = 1 To UBound($aTemp) - 1
            For $n3 = 0 To UBound($aTemp, 2) - 1
                $aReturn3D[$n1][$n2][$n3] = $aTemp[$n2][$n3]
            Next
        Next
    Next

    ConsoleWrite('--- TimerDiff: ' & TimerDiff($hTimer) & @CRLF) ; 2 ms. is not that much time
    ; but lets build an Enumerator, for fast esay calling of a 2D array
    Local $iCount = 0, $sArray = "", $sEnum = "", $prefixForEnum = "will use the SECTION for this", $prefixForArray = "so you can read it. You will find this useful."

    For $n1 = 1 To UBound($aReturn3D, 1) - 1
        $prefixForEnum = '$e' & $aReturn3D[$n1][0][0]
              $prefixForArray = $aReturn3D[$n1][0][0]
;~      ConsoleWrite('+ >[' & $aReturn3D[$n1][0][0] & ']' & @CRLF)
        For $n2 = 1 To UBound($aReturn3D, 2) - 1
            If $aReturn3D[$n1][$n2][0] & $aReturn3D[$n1][$n2][1] = "" Then ContinueLoop
            $sArray &= '$aArray[' & $prefixForEnum & "_" & $aReturn3D[$n1][$n2][0] & '][1] = "' & $prefixForArray & "_" & $aReturn3D[$n1][$n2][0] & '"' & @CRLF
            $sArray &= '$aArray[' & $prefixForEnum & "_" & $aReturn3D[$n1][$n2][0] & '][2] = "' & $prefixForArray & '"' & @CRLF
            $sArray &= '$aArray[' & $prefixForEnum & "_" & $aReturn3D[$n1][$n2][0] & '][3] = "' & $aReturn3D[$n1][$n2][0] & '"' & @CRLF
            $sEnum &= $prefixForEnum & "_" & $aReturn3D[$n1][$n2][0] & ', _' & @CRLF

;~          ConsoleWrite('- >' & $aReturn3D[$n1][$n2][0] & ' = ')
;~          ConsoleWrite($aReturn3D[$n1][$n2][1] & @CRLF)
;~          For $n3 = 0 To UBound($aReturn3D, 3) - 1
;~              ConsoleWrite($n1 & @TAB & $n2 & @TAB & $n3 & @TAB & $aReturn3D[$n1][$n2][$n3] & @CRLF)
;~          Next
        Next
    Next
    $sEnum &= '$eIniUBound'
    ConsoleWrite( @CRLF & @CRLF & @CRLF & "Global Enum " & $sEnum & @CRLF & @CRLF & 'Global $aArray = IniArrayInit()' & @CRLF) ;  then we use these in the real func
    ConsoleWrite('Func IniArrayInit()' & @CRLF & 'Local $aArray[$eIniUBound][4]' & @CRLF & $sArray & 'Return $aArray' & @CRLF & 'EndFunc' & @CRLF & @CRLF) ; then we use these in the real func
    Return $aReturn3D
EndFunc   ;==>ini2code4build

this writes the code that is below

Global $hTimer = TimerInit()

Global Enum $ezWebServer_Title_Name, _
        $ezWebServer_Icon_Path, _
        $ezWebServer_Icon_Link, _
        $ezWebServer_Icon_TIP, _
        $ezWebServer_Font_Name, _
        $ezWebServer_Font_Size, _
        $ezWebServer_Font_Weight, _
        $ezWebServer_Background_Image, _
        $ezWebServer_Background_Color, _
        $ezWebServer_AutoStartup, _
        $ezWebServer_Minimize2Tray, _
        $ezWebServer_OnStartMinimize2Tray, _
        $ezWebServer_Total_Item, _
        $ezWebServer_Item_1_SectionNAME, _
        $ezWebServer_Item_2_SectionNAME, _
        $ezWebServer_Item_3_SectionNAME, _
        $ezWebServer_Item_4_SectionNAME, _
        $ezWebServer_Item_5_SectionNAME, _
        $ezWebServer_Item_6_SectionNAME, _
        $eApache_IconPath, _
        $eApache_DisplayName, _
        $eApache_ExplorerPath, _
        $eApache_ExePath, _
        $eApache_ExeParameters, _
        $eApache_ExeExitPath, _
        $eApache_ExitParameters, _
        $eApache_ExeExitPath_Ex, _
        $eApache_ExitParameters_Ex, _
        $eApache_PID, _
        $eApache_ConfigFile, _
        $eApache_LogsFile, _
        $eApache_AutoStartup, _
        $eApache_ConfigsFile, _
        $eApache_ButtonCustom_EX1_Enable, _
        $eApache_ButtonCustom_EX1_Name, _
        $eApache_ButtonCustom_EX1_ExePath, _
        $eApache_ButtonCustom_EX1_ExeParameters, _
        $eApache_ButtonCustom_EX2_Enable, _
        $eApache_ButtonCustom_EX2_Name, _
        $eApache_ButtonCustom_EX2_ExePath, _
        $eApache_ButtonCustom_EX2_ExeParameters, _
        $eMySQL_IconPath, _
        $eMySQL_DisplayName, _
        $eMySQL_ExplorerPath, _
        $eMySQL_ExePath, _
        $eMySQL_ExeParameters, _
        $eMySQL_ExeExitPath, _
        $eMySQL_ExitParameters, _
        $eMySQL_ExeExitPath_Ex, _
        $eMySQL_ExitParameters_Ex, _
        $eMySQL_PID, _
        $eMySQL_ConfigFile, _
        $eMySQL_LogsFile, _
        $eMySQL_AutoStartup, _
        $eMySQL_ConfigsFile, _
        $eMySQL_ButtonCustom_EX1_Enable, _
        $eMySQL_ButtonCustom_EX1_Name, _
        $eMySQL_ButtonCustom_EX1_ExePath, _
        $eMySQL_ButtonCustom_EX1_ExeParameters, _
        $eMySQL_ButtonCustom_EX2_Enable, _
        $eMySQL_ButtonCustom_EX2_Name, _
        $eMySQL_ButtonCustom_EX2_ExePath, _
        $eMySQL_ButtonCustom_EX2_ExeParameters, _
        $eFzFTP_IconPath, _
        $eFzFTP_DisplayName, _
        $eFzFTP_ExplorerPath, _
        $eFzFTP_ExePath, _
        $eFzFTP_ExeParameters, _
        $eFzFTP_ExeExitPath, _
        $eFzFTP_ExitParameters, _
        $eFzFTP_ExeExitPath_Ex, _
        $eFzFTP_ExitParameters_Ex, _
        $eFzFTP_PID, _
        $eFzFTP_ConfigFile, _
        $eFzFTP_LogsFile, _
        $eFzFTP_AutoStartup, _
        $eFzFTP_ConfigsFile, _
        $eFzFTP_ButtonCustom_EX1_Enable, _
        $eFzFTP_ButtonCustom_EX1_Name, _
        $eFzFTP_ButtonCustom_EX1_ExePath, _
        $eFzFTP_ButtonCustom_EX1_ExeParameters, _
        $eFzFTP_ButtonCustom_EX2_Enable, _
        $eFzFTP_ButtonCustom_EX2_Name, _
        $eFzFTP_ButtonCustom_EX2_ExePath, _
        $eFzFTP_ButtonCustom_EX2_ExeParameters, _
        $eNGINX_IconPath, _
        $eNGINX_DisplayName, _
        $eNGINX_ExplorerPath, _
        $eNGINX_ExePath, _
        $eNGINX_ExeParameters, _
        $eNGINX_ExeExitPath, _
        $eNGINX_ExitParameters, _
        $eNGINX_ExeExitPath_Ex, _
        $eNGINX_ExitParameters_Ex, _
        $eNGINX_PID, _
        $eNGINX_ConfigFile, _
        $eNGINX_LogsFile, _
        $eNGINX_AutoStartup, _
        $eNGINX_ConfigsFile, _
        $eNGINX_ButtonCustom_EX1_Enable, _
        $eNGINX_ButtonCustom_EX1_Name, _
        $eNGINX_ButtonCustom_EX1_ExePath, _
        $eNGINX_ButtonCustom_EX1_ExeParameters, _
        $eNGINX_ButtonCustom_EX2_Enable, _
        $eNGINX_ButtonCustom_EX2_Name, _
        $eNGINX_ButtonCustom_EX2_ExePath, _
        $eNGINX_ButtonCustom_EX2_ExeParameters, _
        $eMemCached_IconPath, _
        $eMemCached_DisplayName, _
        $eMemCached_ExplorerPath, _
        $eMemCached_ExePath, _
        $eMemCached_ExeParameters, _
        $eMemCached_ExeExitPath, _
        $eMemCached_ExitParameters, _
        $eMemCached_ExeExitPath_Ex, _
        $eMemCached_ExitParameters_Ex, _
        $eMemCached_PID, _
        $eMemCached_ConfigFile, _
        $eMemCached_LogsFile, _
        $eMemCached_AutoStartup, _
        $eMemCached_ConfigsFile, _
        $eMemCached_ButtonCustom_EX1_Enable, _
        $eMemCached_ButtonCustom_EX1_Name, _
        $eMemCached_ButtonCustom_EX1_ExePath, _
        $eMemCached_ButtonCustom_EX1_ExeParameters, _
        $eMemCached_ButtonCustom_EX2_Enable, _
        $eMemCached_ButtonCustom_EX2_Name, _
        $eMemCached_ButtonCustom_EX2_ExePath, _
        $eMemCached_ButtonCustom_EX2_ExeParameters, _
        $ePHPCGI_IconPath, _
        $ePHPCGI_DisplayName, _
        $ePHPCGI_ExplorerPath, _
        $ePHPCGI_ExePath, _
        $ePHPCGI_ExeParameters, _
        $ePHPCGI_ExeExitPath, _
        $ePHPCGI_ExitParameters, _
        $ePHPCGI_ExeExitPath_Ex, _
        $ePHPCGI_ExitParameters_Ex, _
        $ePHPCGI_PID, _
        $ePHPCGI_ConfigFile, _
        $ePHPCGI_LogsFile, _
        $ePHPCGI_AutoStartup, _
        $ePHPCGI_ConfigsFile, _
        $ePHPCGI_ButtonCustom_EX1_Enable, _
        $ePHPCGI_ButtonCustom_EX1_Name, _
        $ePHPCGI_ButtonCustom_EX1_ExePath, _
        $ePHPCGI_ButtonCustom_EX1_ExeParameters, _
        $ePHPCGI_ButtonCustom_EX2_Enable, _
        $ePHPCGI_ButtonCustom_EX2_Name, _
        $ePHPCGI_ButtonCustom_EX2_ExePath, _
        $ePHPCGI_ButtonCustom_EX2_ExeParameters, _
        $eIniUBound

Global $aArray = IniArrayInit()

ConsoleWrite(TimerDiff($hTimer) & @CRLF)
$hTimer = TimerInit()
ConsoleWrite('--- >' & $aArray[$ezWebServer_Title_Name][0] & @CRLF)
ConsoleWrite(TimerDiff($hTimer) & @CRLF)
$hTimer = TimerInit()
ConsoleWrite('--- >' & $aArray[$eApache_ButtonCustom_EX2_Name][0] & @CRLF)
ConsoleWrite(TimerDiff($hTimer) & @CRLF)





Func IniArrayInit()
    Local $aArray[$eIniUBound][4]
    $aArray[$ezWebServer_Title_Name][1] = "zWebServer_Title_Name"
    $aArray[$ezWebServer_Title_Name][2] = "zWebServer"
    $aArray[$ezWebServer_Title_Name][3] = "Title_Name"
    $aArray[$ezWebServer_Icon_Path][1] = "zWebServer_Icon_Path"
    $aArray[$ezWebServer_Icon_Path][2] = "zWebServer"
    $aArray[$ezWebServer_Icon_Path][3] = "Icon_Path"
    $aArray[$ezWebServer_Icon_Link][1] = "zWebServer_Icon_Link"
    $aArray[$ezWebServer_Icon_Link][2] = "zWebServer"
    $aArray[$ezWebServer_Icon_Link][3] = "Icon_Link"
    $aArray[$ezWebServer_Icon_TIP][1] = "zWebServer_Icon_TIP"
    $aArray[$ezWebServer_Icon_TIP][2] = "zWebServer"
    $aArray[$ezWebServer_Icon_TIP][3] = "Icon_TIP"
    $aArray[$ezWebServer_Font_Name][1] = "zWebServer_Font_Name"
    $aArray[$ezWebServer_Font_Name][2] = "zWebServer"
    $aArray[$ezWebServer_Font_Name][3] = "Font_Name"
    $aArray[$ezWebServer_Font_Size][1] = "zWebServer_Font_Size"
    $aArray[$ezWebServer_Font_Size][2] = "zWebServer"
    $aArray[$ezWebServer_Font_Size][3] = "Font_Size"
    $aArray[$ezWebServer_Font_Weight][1] = "zWebServer_Font_Weight"
    $aArray[$ezWebServer_Font_Weight][2] = "zWebServer"
    $aArray[$ezWebServer_Font_Weight][3] = "Font_Weight"
    $aArray[$ezWebServer_Background_Image][1] = "zWebServer_Background_Image"
    $aArray[$ezWebServer_Background_Image][2] = "zWebServer"
    $aArray[$ezWebServer_Background_Image][3] = "Background_Image"
    $aArray[$ezWebServer_Background_Color][1] = "zWebServer_Background_Color"
    $aArray[$ezWebServer_Background_Color][2] = "zWebServer"
    $aArray[$ezWebServer_Background_Color][3] = "Background_Color"
    $aArray[$ezWebServer_AutoStartup][1] = "zWebServer_AutoStartup"
    $aArray[$ezWebServer_AutoStartup][2] = "zWebServer"
    $aArray[$ezWebServer_AutoStartup][3] = "AutoStartup"
    $aArray[$ezWebServer_Minimize2Tray][1] = "zWebServer_Minimize2Tray"
    $aArray[$ezWebServer_Minimize2Tray][2] = "zWebServer"
    $aArray[$ezWebServer_Minimize2Tray][3] = "Minimize2Tray"
    $aArray[$ezWebServer_OnStartMinimize2Tray][1] = "zWebServer_OnStartMinimize2Tray"
    $aArray[$ezWebServer_OnStartMinimize2Tray][2] = "zWebServer"
    $aArray[$ezWebServer_OnStartMinimize2Tray][3] = "OnStartMinimize2Tray"
    $aArray[$ezWebServer_Total_Item][1] = "zWebServer_Total_Item"
    $aArray[$ezWebServer_Total_Item][2] = "zWebServer"
    $aArray[$ezWebServer_Total_Item][3] = "Total_Item"
    $aArray[$ezWebServer_Item_1_SectionNAME][1] = "zWebServer_Item_1_SectionNAME"
    $aArray[$ezWebServer_Item_1_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_1_SectionNAME][3] = "Item_1_SectionNAME"
    $aArray[$ezWebServer_Item_2_SectionNAME][1] = "zWebServer_Item_2_SectionNAME"
    $aArray[$ezWebServer_Item_2_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_2_SectionNAME][3] = "Item_2_SectionNAME"
    $aArray[$ezWebServer_Item_3_SectionNAME][1] = "zWebServer_Item_3_SectionNAME"
    $aArray[$ezWebServer_Item_3_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_3_SectionNAME][3] = "Item_3_SectionNAME"
    $aArray[$ezWebServer_Item_4_SectionNAME][1] = "zWebServer_Item_4_SectionNAME"
    $aArray[$ezWebServer_Item_4_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_4_SectionNAME][3] = "Item_4_SectionNAME"
    $aArray[$ezWebServer_Item_5_SectionNAME][1] = "zWebServer_Item_5_SectionNAME"
    $aArray[$ezWebServer_Item_5_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_5_SectionNAME][3] = "Item_5_SectionNAME"
    $aArray[$ezWebServer_Item_6_SectionNAME][1] = "zWebServer_Item_6_SectionNAME"
    $aArray[$ezWebServer_Item_6_SectionNAME][2] = "zWebServer"
    $aArray[$ezWebServer_Item_6_SectionNAME][3] = "Item_6_SectionNAME"
    $aArray[$eApache_IconPath][1] = "Apache_IconPath"
    $aArray[$eApache_IconPath][2] = "Apache"
    $aArray[$eApache_IconPath][3] = "IconPath"
    $aArray[$eApache_DisplayName][1] = "Apache_DisplayName"
    $aArray[$eApache_DisplayName][2] = "Apache"
    $aArray[$eApache_DisplayName][3] = "DisplayName"
    $aArray[$eApache_ExplorerPath][1] = "Apache_ExplorerPath"
    $aArray[$eApache_ExplorerPath][2] = "Apache"
    $aArray[$eApache_ExplorerPath][3] = "ExplorerPath"
    $aArray[$eApache_ExePath][1] = "Apache_ExePath"
    $aArray[$eApache_ExePath][2] = "Apache"
    $aArray[$eApache_ExePath][3] = "ExePath"
    $aArray[$eApache_ExeParameters][1] = "Apache_ExeParameters"
    $aArray[$eApache_ExeParameters][2] = "Apache"
    $aArray[$eApache_ExeParameters][3] = "ExeParameters"
    $aArray[$eApache_ExeExitPath][1] = "Apache_ExeExitPath"
    $aArray[$eApache_ExeExitPath][2] = "Apache"
    $aArray[$eApache_ExeExitPath][3] = "ExeExitPath"
    $aArray[$eApache_ExitParameters][1] = "Apache_ExitParameters"
    $aArray[$eApache_ExitParameters][2] = "Apache"
    $aArray[$eApache_ExitParameters][3] = "ExitParameters"
    $aArray[$eApache_ExeExitPath_Ex][1] = "Apache_ExeExitPath_Ex"
    $aArray[$eApache_ExeExitPath_Ex][2] = "Apache"
    $aArray[$eApache_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$eApache_ExitParameters_Ex][1] = "Apache_ExitParameters_Ex"
    $aArray[$eApache_ExitParameters_Ex][2] = "Apache"
    $aArray[$eApache_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$eApache_PID][1] = "Apache_PID"
    $aArray[$eApache_PID][2] = "Apache"
    $aArray[$eApache_PID][3] = "PID"
    $aArray[$eApache_ConfigFile][1] = "Apache_ConfigFile"
    $aArray[$eApache_ConfigFile][2] = "Apache"
    $aArray[$eApache_ConfigFile][3] = "ConfigFile"
    $aArray[$eApache_LogsFile][1] = "Apache_LogsFile"
    $aArray[$eApache_LogsFile][2] = "Apache"
    $aArray[$eApache_LogsFile][3] = "LogsFile"
    $aArray[$eApache_AutoStartup][1] = "Apache_AutoStartup"
    $aArray[$eApache_AutoStartup][2] = "Apache"
    $aArray[$eApache_AutoStartup][3] = "AutoStartup"
    $aArray[$eApache_ConfigsFile][1] = "Apache_ConfigsFile"
    $aArray[$eApache_ConfigsFile][2] = "Apache"
    $aArray[$eApache_ConfigsFile][3] = "ConfigsFile"
    $aArray[$eApache_ButtonCustom_EX1_Enable][1] = "Apache_ButtonCustom_EX1_Enable"
    $aArray[$eApache_ButtonCustom_EX1_Enable][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$eApache_ButtonCustom_EX1_Name][1] = "Apache_ButtonCustom_EX1_Name"
    $aArray[$eApache_ButtonCustom_EX1_Name][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$eApache_ButtonCustom_EX1_ExePath][1] = "Apache_ButtonCustom_EX1_ExePath"
    $aArray[$eApache_ButtonCustom_EX1_ExePath][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$eApache_ButtonCustom_EX1_ExeParameters][1] = "Apache_ButtonCustom_EX1_ExeParameters"
    $aArray[$eApache_ButtonCustom_EX1_ExeParameters][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$eApache_ButtonCustom_EX2_Enable][1] = "Apache_ButtonCustom_EX2_Enable"
    $aArray[$eApache_ButtonCustom_EX2_Enable][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$eApache_ButtonCustom_EX2_Name][1] = "Apache_ButtonCustom_EX2_Name"
    $aArray[$eApache_ButtonCustom_EX2_Name][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$eApache_ButtonCustom_EX2_ExePath][1] = "Apache_ButtonCustom_EX2_ExePath"
    $aArray[$eApache_ButtonCustom_EX2_ExePath][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$eApache_ButtonCustom_EX2_ExeParameters][1] = "Apache_ButtonCustom_EX2_ExeParameters"
    $aArray[$eApache_ButtonCustom_EX2_ExeParameters][2] = "Apache"
    $aArray[$eApache_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"
    $aArray[$eMySQL_IconPath][1] = "MySQL_IconPath"
    $aArray[$eMySQL_IconPath][2] = "MySQL"
    $aArray[$eMySQL_IconPath][3] = "IconPath"
    $aArray[$eMySQL_DisplayName][1] = "MySQL_DisplayName"
    $aArray[$eMySQL_DisplayName][2] = "MySQL"
    $aArray[$eMySQL_DisplayName][3] = "DisplayName"
    $aArray[$eMySQL_ExplorerPath][1] = "MySQL_ExplorerPath"
    $aArray[$eMySQL_ExplorerPath][2] = "MySQL"
    $aArray[$eMySQL_ExplorerPath][3] = "ExplorerPath"
    $aArray[$eMySQL_ExePath][1] = "MySQL_ExePath"
    $aArray[$eMySQL_ExePath][2] = "MySQL"
    $aArray[$eMySQL_ExePath][3] = "ExePath"
    $aArray[$eMySQL_ExeParameters][1] = "MySQL_ExeParameters"
    $aArray[$eMySQL_ExeParameters][2] = "MySQL"
    $aArray[$eMySQL_ExeParameters][3] = "ExeParameters"
    $aArray[$eMySQL_ExeExitPath][1] = "MySQL_ExeExitPath"
    $aArray[$eMySQL_ExeExitPath][2] = "MySQL"
    $aArray[$eMySQL_ExeExitPath][3] = "ExeExitPath"
    $aArray[$eMySQL_ExitParameters][1] = "MySQL_ExitParameters"
    $aArray[$eMySQL_ExitParameters][2] = "MySQL"
    $aArray[$eMySQL_ExitParameters][3] = "ExitParameters"
    $aArray[$eMySQL_ExeExitPath_Ex][1] = "MySQL_ExeExitPath_Ex"
    $aArray[$eMySQL_ExeExitPath_Ex][2] = "MySQL"
    $aArray[$eMySQL_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$eMySQL_ExitParameters_Ex][1] = "MySQL_ExitParameters_Ex"
    $aArray[$eMySQL_ExitParameters_Ex][2] = "MySQL"
    $aArray[$eMySQL_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$eMySQL_PID][1] = "MySQL_PID"
    $aArray[$eMySQL_PID][2] = "MySQL"
    $aArray[$eMySQL_PID][3] = "PID"
    $aArray[$eMySQL_ConfigFile][1] = "MySQL_ConfigFile"
    $aArray[$eMySQL_ConfigFile][2] = "MySQL"
    $aArray[$eMySQL_ConfigFile][3] = "ConfigFile"
    $aArray[$eMySQL_LogsFile][1] = "MySQL_LogsFile"
    $aArray[$eMySQL_LogsFile][2] = "MySQL"
    $aArray[$eMySQL_LogsFile][3] = "LogsFile"
    $aArray[$eMySQL_AutoStartup][1] = "MySQL_AutoStartup"
    $aArray[$eMySQL_AutoStartup][2] = "MySQL"
    $aArray[$eMySQL_AutoStartup][3] = "AutoStartup"
    $aArray[$eMySQL_ConfigsFile][1] = "MySQL_ConfigsFile"
    $aArray[$eMySQL_ConfigsFile][2] = "MySQL"
    $aArray[$eMySQL_ConfigsFile][3] = "ConfigsFile"
    $aArray[$eMySQL_ButtonCustom_EX1_Enable][1] = "MySQL_ButtonCustom_EX1_Enable"
    $aArray[$eMySQL_ButtonCustom_EX1_Enable][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$eMySQL_ButtonCustom_EX1_Name][1] = "MySQL_ButtonCustom_EX1_Name"
    $aArray[$eMySQL_ButtonCustom_EX1_Name][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$eMySQL_ButtonCustom_EX1_ExePath][1] = "MySQL_ButtonCustom_EX1_ExePath"
    $aArray[$eMySQL_ButtonCustom_EX1_ExePath][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$eMySQL_ButtonCustom_EX1_ExeParameters][1] = "MySQL_ButtonCustom_EX1_ExeParameters"
    $aArray[$eMySQL_ButtonCustom_EX1_ExeParameters][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$eMySQL_ButtonCustom_EX2_Enable][1] = "MySQL_ButtonCustom_EX2_Enable"
    $aArray[$eMySQL_ButtonCustom_EX2_Enable][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$eMySQL_ButtonCustom_EX2_Name][1] = "MySQL_ButtonCustom_EX2_Name"
    $aArray[$eMySQL_ButtonCustom_EX2_Name][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$eMySQL_ButtonCustom_EX2_ExePath][1] = "MySQL_ButtonCustom_EX2_ExePath"
    $aArray[$eMySQL_ButtonCustom_EX2_ExePath][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$eMySQL_ButtonCustom_EX2_ExeParameters][1] = "MySQL_ButtonCustom_EX2_ExeParameters"
    $aArray[$eMySQL_ButtonCustom_EX2_ExeParameters][2] = "MySQL"
    $aArray[$eMySQL_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"
    $aArray[$eFzFTP_IconPath][1] = "FzFTP_IconPath"
    $aArray[$eFzFTP_IconPath][2] = "FzFTP"
    $aArray[$eFzFTP_IconPath][3] = "IconPath"
    $aArray[$eFzFTP_DisplayName][1] = "FzFTP_DisplayName"
    $aArray[$eFzFTP_DisplayName][2] = "FzFTP"
    $aArray[$eFzFTP_DisplayName][3] = "DisplayName"
    $aArray[$eFzFTP_ExplorerPath][1] = "FzFTP_ExplorerPath"
    $aArray[$eFzFTP_ExplorerPath][2] = "FzFTP"
    $aArray[$eFzFTP_ExplorerPath][3] = "ExplorerPath"
    $aArray[$eFzFTP_ExePath][1] = "FzFTP_ExePath"
    $aArray[$eFzFTP_ExePath][2] = "FzFTP"
    $aArray[$eFzFTP_ExePath][3] = "ExePath"
    $aArray[$eFzFTP_ExeParameters][1] = "FzFTP_ExeParameters"
    $aArray[$eFzFTP_ExeParameters][2] = "FzFTP"
    $aArray[$eFzFTP_ExeParameters][3] = "ExeParameters"
    $aArray[$eFzFTP_ExeExitPath][1] = "FzFTP_ExeExitPath"
    $aArray[$eFzFTP_ExeExitPath][2] = "FzFTP"
    $aArray[$eFzFTP_ExeExitPath][3] = "ExeExitPath"
    $aArray[$eFzFTP_ExitParameters][1] = "FzFTP_ExitParameters"
    $aArray[$eFzFTP_ExitParameters][2] = "FzFTP"
    $aArray[$eFzFTP_ExitParameters][3] = "ExitParameters"
    $aArray[$eFzFTP_ExeExitPath_Ex][1] = "FzFTP_ExeExitPath_Ex"
    $aArray[$eFzFTP_ExeExitPath_Ex][2] = "FzFTP"
    $aArray[$eFzFTP_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$eFzFTP_ExitParameters_Ex][1] = "FzFTP_ExitParameters_Ex"
    $aArray[$eFzFTP_ExitParameters_Ex][2] = "FzFTP"
    $aArray[$eFzFTP_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$eFzFTP_PID][1] = "FzFTP_PID"
    $aArray[$eFzFTP_PID][2] = "FzFTP"
    $aArray[$eFzFTP_PID][3] = "PID"
    $aArray[$eFzFTP_ConfigFile][1] = "FzFTP_ConfigFile"
    $aArray[$eFzFTP_ConfigFile][2] = "FzFTP"
    $aArray[$eFzFTP_ConfigFile][3] = "ConfigFile"
    $aArray[$eFzFTP_LogsFile][1] = "FzFTP_LogsFile"
    $aArray[$eFzFTP_LogsFile][2] = "FzFTP"
    $aArray[$eFzFTP_LogsFile][3] = "LogsFile"
    $aArray[$eFzFTP_AutoStartup][1] = "FzFTP_AutoStartup"
    $aArray[$eFzFTP_AutoStartup][2] = "FzFTP"
    $aArray[$eFzFTP_AutoStartup][3] = "AutoStartup"
    $aArray[$eFzFTP_ConfigsFile][1] = "FzFTP_ConfigsFile"
    $aArray[$eFzFTP_ConfigsFile][2] = "FzFTP"
    $aArray[$eFzFTP_ConfigsFile][3] = "ConfigsFile"
    $aArray[$eFzFTP_ButtonCustom_EX1_Enable][1] = "FzFTP_ButtonCustom_EX1_Enable"
    $aArray[$eFzFTP_ButtonCustom_EX1_Enable][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$eFzFTP_ButtonCustom_EX1_Name][1] = "FzFTP_ButtonCustom_EX1_Name"
    $aArray[$eFzFTP_ButtonCustom_EX1_Name][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExePath][1] = "FzFTP_ButtonCustom_EX1_ExePath"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExePath][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExeParameters][1] = "FzFTP_ButtonCustom_EX1_ExeParameters"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExeParameters][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$eFzFTP_ButtonCustom_EX2_Enable][1] = "FzFTP_ButtonCustom_EX2_Enable"
    $aArray[$eFzFTP_ButtonCustom_EX2_Enable][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$eFzFTP_ButtonCustom_EX2_Name][1] = "FzFTP_ButtonCustom_EX2_Name"
    $aArray[$eFzFTP_ButtonCustom_EX2_Name][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExePath][1] = "FzFTP_ButtonCustom_EX2_ExePath"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExePath][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExeParameters][1] = "FzFTP_ButtonCustom_EX2_ExeParameters"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExeParameters][2] = "FzFTP"
    $aArray[$eFzFTP_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"
    $aArray[$eNGINX_IconPath][1] = "NGINX_IconPath"
    $aArray[$eNGINX_IconPath][2] = "NGINX"
    $aArray[$eNGINX_IconPath][3] = "IconPath"
    $aArray[$eNGINX_DisplayName][1] = "NGINX_DisplayName"
    $aArray[$eNGINX_DisplayName][2] = "NGINX"
    $aArray[$eNGINX_DisplayName][3] = "DisplayName"
    $aArray[$eNGINX_ExplorerPath][1] = "NGINX_ExplorerPath"
    $aArray[$eNGINX_ExplorerPath][2] = "NGINX"
    $aArray[$eNGINX_ExplorerPath][3] = "ExplorerPath"
    $aArray[$eNGINX_ExePath][1] = "NGINX_ExePath"
    $aArray[$eNGINX_ExePath][2] = "NGINX"
    $aArray[$eNGINX_ExePath][3] = "ExePath"
    $aArray[$eNGINX_ExeParameters][1] = "NGINX_ExeParameters"
    $aArray[$eNGINX_ExeParameters][2] = "NGINX"
    $aArray[$eNGINX_ExeParameters][3] = "ExeParameters"
    $aArray[$eNGINX_ExeExitPath][1] = "NGINX_ExeExitPath"
    $aArray[$eNGINX_ExeExitPath][2] = "NGINX"
    $aArray[$eNGINX_ExeExitPath][3] = "ExeExitPath"
    $aArray[$eNGINX_ExitParameters][1] = "NGINX_ExitParameters"
    $aArray[$eNGINX_ExitParameters][2] = "NGINX"
    $aArray[$eNGINX_ExitParameters][3] = "ExitParameters"
    $aArray[$eNGINX_ExeExitPath_Ex][1] = "NGINX_ExeExitPath_Ex"
    $aArray[$eNGINX_ExeExitPath_Ex][2] = "NGINX"
    $aArray[$eNGINX_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$eNGINX_ExitParameters_Ex][1] = "NGINX_ExitParameters_Ex"
    $aArray[$eNGINX_ExitParameters_Ex][2] = "NGINX"
    $aArray[$eNGINX_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$eNGINX_PID][1] = "NGINX_PID"
    $aArray[$eNGINX_PID][2] = "NGINX"
    $aArray[$eNGINX_PID][3] = "PID"
    $aArray[$eNGINX_ConfigFile][1] = "NGINX_ConfigFile"
    $aArray[$eNGINX_ConfigFile][2] = "NGINX"
    $aArray[$eNGINX_ConfigFile][3] = "ConfigFile"
    $aArray[$eNGINX_LogsFile][1] = "NGINX_LogsFile"
    $aArray[$eNGINX_LogsFile][2] = "NGINX"
    $aArray[$eNGINX_LogsFile][3] = "LogsFile"
    $aArray[$eNGINX_AutoStartup][1] = "NGINX_AutoStartup"
    $aArray[$eNGINX_AutoStartup][2] = "NGINX"
    $aArray[$eNGINX_AutoStartup][3] = "AutoStartup"
    $aArray[$eNGINX_ConfigsFile][1] = "NGINX_ConfigsFile"
    $aArray[$eNGINX_ConfigsFile][2] = "NGINX"
    $aArray[$eNGINX_ConfigsFile][3] = "ConfigsFile"
    $aArray[$eNGINX_ButtonCustom_EX1_Enable][1] = "NGINX_ButtonCustom_EX1_Enable"
    $aArray[$eNGINX_ButtonCustom_EX1_Enable][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$eNGINX_ButtonCustom_EX1_Name][1] = "NGINX_ButtonCustom_EX1_Name"
    $aArray[$eNGINX_ButtonCustom_EX1_Name][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$eNGINX_ButtonCustom_EX1_ExePath][1] = "NGINX_ButtonCustom_EX1_ExePath"
    $aArray[$eNGINX_ButtonCustom_EX1_ExePath][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$eNGINX_ButtonCustom_EX1_ExeParameters][1] = "NGINX_ButtonCustom_EX1_ExeParameters"
    $aArray[$eNGINX_ButtonCustom_EX1_ExeParameters][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$eNGINX_ButtonCustom_EX2_Enable][1] = "NGINX_ButtonCustom_EX2_Enable"
    $aArray[$eNGINX_ButtonCustom_EX2_Enable][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$eNGINX_ButtonCustom_EX2_Name][1] = "NGINX_ButtonCustom_EX2_Name"
    $aArray[$eNGINX_ButtonCustom_EX2_Name][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$eNGINX_ButtonCustom_EX2_ExePath][1] = "NGINX_ButtonCustom_EX2_ExePath"
    $aArray[$eNGINX_ButtonCustom_EX2_ExePath][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$eNGINX_ButtonCustom_EX2_ExeParameters][1] = "NGINX_ButtonCustom_EX2_ExeParameters"
    $aArray[$eNGINX_ButtonCustom_EX2_ExeParameters][2] = "NGINX"
    $aArray[$eNGINX_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"
    $aArray[$eMemCached_IconPath][1] = "MemCached_IconPath"
    $aArray[$eMemCached_IconPath][2] = "MemCached"
    $aArray[$eMemCached_IconPath][3] = "IconPath"
    $aArray[$eMemCached_DisplayName][1] = "MemCached_DisplayName"
    $aArray[$eMemCached_DisplayName][2] = "MemCached"
    $aArray[$eMemCached_DisplayName][3] = "DisplayName"
    $aArray[$eMemCached_ExplorerPath][1] = "MemCached_ExplorerPath"
    $aArray[$eMemCached_ExplorerPath][2] = "MemCached"
    $aArray[$eMemCached_ExplorerPath][3] = "ExplorerPath"
    $aArray[$eMemCached_ExePath][1] = "MemCached_ExePath"
    $aArray[$eMemCached_ExePath][2] = "MemCached"
    $aArray[$eMemCached_ExePath][3] = "ExePath"
    $aArray[$eMemCached_ExeParameters][1] = "MemCached_ExeParameters"
    $aArray[$eMemCached_ExeParameters][2] = "MemCached"
    $aArray[$eMemCached_ExeParameters][3] = "ExeParameters"
    $aArray[$eMemCached_ExeExitPath][1] = "MemCached_ExeExitPath"
    $aArray[$eMemCached_ExeExitPath][2] = "MemCached"
    $aArray[$eMemCached_ExeExitPath][3] = "ExeExitPath"
    $aArray[$eMemCached_ExitParameters][1] = "MemCached_ExitParameters"
    $aArray[$eMemCached_ExitParameters][2] = "MemCached"
    $aArray[$eMemCached_ExitParameters][3] = "ExitParameters"
    $aArray[$eMemCached_ExeExitPath_Ex][1] = "MemCached_ExeExitPath_Ex"
    $aArray[$eMemCached_ExeExitPath_Ex][2] = "MemCached"
    $aArray[$eMemCached_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$eMemCached_ExitParameters_Ex][1] = "MemCached_ExitParameters_Ex"
    $aArray[$eMemCached_ExitParameters_Ex][2] = "MemCached"
    $aArray[$eMemCached_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$eMemCached_PID][1] = "MemCached_PID"
    $aArray[$eMemCached_PID][2] = "MemCached"
    $aArray[$eMemCached_PID][3] = "PID"
    $aArray[$eMemCached_ConfigFile][1] = "MemCached_ConfigFile"
    $aArray[$eMemCached_ConfigFile][2] = "MemCached"
    $aArray[$eMemCached_ConfigFile][3] = "ConfigFile"
    $aArray[$eMemCached_LogsFile][1] = "MemCached_LogsFile"
    $aArray[$eMemCached_LogsFile][2] = "MemCached"
    $aArray[$eMemCached_LogsFile][3] = "LogsFile"
    $aArray[$eMemCached_AutoStartup][1] = "MemCached_AutoStartup"
    $aArray[$eMemCached_AutoStartup][2] = "MemCached"
    $aArray[$eMemCached_AutoStartup][3] = "AutoStartup"
    $aArray[$eMemCached_ConfigsFile][1] = "MemCached_ConfigsFile"
    $aArray[$eMemCached_ConfigsFile][2] = "MemCached"
    $aArray[$eMemCached_ConfigsFile][3] = "ConfigsFile"
    $aArray[$eMemCached_ButtonCustom_EX1_Enable][1] = "MemCached_ButtonCustom_EX1_Enable"
    $aArray[$eMemCached_ButtonCustom_EX1_Enable][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$eMemCached_ButtonCustom_EX1_Name][1] = "MemCached_ButtonCustom_EX1_Name"
    $aArray[$eMemCached_ButtonCustom_EX1_Name][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$eMemCached_ButtonCustom_EX1_ExePath][1] = "MemCached_ButtonCustom_EX1_ExePath"
    $aArray[$eMemCached_ButtonCustom_EX1_ExePath][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$eMemCached_ButtonCustom_EX1_ExeParameters][1] = "MemCached_ButtonCustom_EX1_ExeParameters"
    $aArray[$eMemCached_ButtonCustom_EX1_ExeParameters][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$eMemCached_ButtonCustom_EX2_Enable][1] = "MemCached_ButtonCustom_EX2_Enable"
    $aArray[$eMemCached_ButtonCustom_EX2_Enable][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$eMemCached_ButtonCustom_EX2_Name][1] = "MemCached_ButtonCustom_EX2_Name"
    $aArray[$eMemCached_ButtonCustom_EX2_Name][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$eMemCached_ButtonCustom_EX2_ExePath][1] = "MemCached_ButtonCustom_EX2_ExePath"
    $aArray[$eMemCached_ButtonCustom_EX2_ExePath][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$eMemCached_ButtonCustom_EX2_ExeParameters][1] = "MemCached_ButtonCustom_EX2_ExeParameters"
    $aArray[$eMemCached_ButtonCustom_EX2_ExeParameters][2] = "MemCached"
    $aArray[$eMemCached_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"
    $aArray[$ePHPCGI_IconPath][1] = "PHPCGI_IconPath"
    $aArray[$ePHPCGI_IconPath][2] = "PHPCGI"
    $aArray[$ePHPCGI_IconPath][3] = "IconPath"
    $aArray[$ePHPCGI_DisplayName][1] = "PHPCGI_DisplayName"
    $aArray[$ePHPCGI_DisplayName][2] = "PHPCGI"
    $aArray[$ePHPCGI_DisplayName][3] = "DisplayName"
    $aArray[$ePHPCGI_ExplorerPath][1] = "PHPCGI_ExplorerPath"
    $aArray[$ePHPCGI_ExplorerPath][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExplorerPath][3] = "ExplorerPath"
    $aArray[$ePHPCGI_ExePath][1] = "PHPCGI_ExePath"
    $aArray[$ePHPCGI_ExePath][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExePath][3] = "ExePath"
    $aArray[$ePHPCGI_ExeParameters][1] = "PHPCGI_ExeParameters"
    $aArray[$ePHPCGI_ExeParameters][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExeParameters][3] = "ExeParameters"
    $aArray[$ePHPCGI_ExeExitPath][1] = "PHPCGI_ExeExitPath"
    $aArray[$ePHPCGI_ExeExitPath][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExeExitPath][3] = "ExeExitPath"
    $aArray[$ePHPCGI_ExitParameters][1] = "PHPCGI_ExitParameters"
    $aArray[$ePHPCGI_ExitParameters][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExitParameters][3] = "ExitParameters"
    $aArray[$ePHPCGI_ExeExitPath_Ex][1] = "PHPCGI_ExeExitPath_Ex"
    $aArray[$ePHPCGI_ExeExitPath_Ex][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExeExitPath_Ex][3] = "ExeExitPath_Ex"
    $aArray[$ePHPCGI_ExitParameters_Ex][1] = "PHPCGI_ExitParameters_Ex"
    $aArray[$ePHPCGI_ExitParameters_Ex][2] = "PHPCGI"
    $aArray[$ePHPCGI_ExitParameters_Ex][3] = "ExitParameters_Ex"
    $aArray[$ePHPCGI_PID][1] = "PHPCGI_PID"
    $aArray[$ePHPCGI_PID][2] = "PHPCGI"
    $aArray[$ePHPCGI_PID][3] = "PID"
    $aArray[$ePHPCGI_ConfigFile][1] = "PHPCGI_ConfigFile"
    $aArray[$ePHPCGI_ConfigFile][2] = "PHPCGI"
    $aArray[$ePHPCGI_ConfigFile][3] = "ConfigFile"
    $aArray[$ePHPCGI_LogsFile][1] = "PHPCGI_LogsFile"
    $aArray[$ePHPCGI_LogsFile][2] = "PHPCGI"
    $aArray[$ePHPCGI_LogsFile][3] = "LogsFile"
    $aArray[$ePHPCGI_AutoStartup][1] = "PHPCGI_AutoStartup"
    $aArray[$ePHPCGI_AutoStartup][2] = "PHPCGI"
    $aArray[$ePHPCGI_AutoStartup][3] = "AutoStartup"
    $aArray[$ePHPCGI_ConfigsFile][1] = "PHPCGI_ConfigsFile"
    $aArray[$ePHPCGI_ConfigsFile][2] = "PHPCGI"
    $aArray[$ePHPCGI_ConfigsFile][3] = "ConfigsFile"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Enable][1] = "PHPCGI_ButtonCustom_EX1_Enable"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Enable][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Enable][3] = "ButtonCustom_EX1_Enable"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Name][1] = "PHPCGI_ButtonCustom_EX1_Name"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Name][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX1_Name][3] = "ButtonCustom_EX1_Name"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExePath][1] = "PHPCGI_ButtonCustom_EX1_ExePath"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExePath][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExePath][3] = "ButtonCustom_EX1_ExePath"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExeParameters][1] = "PHPCGI_ButtonCustom_EX1_ExeParameters"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExeParameters][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX1_ExeParameters][3] = "ButtonCustom_EX1_ExeParameters"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Enable][1] = "PHPCGI_ButtonCustom_EX2_Enable"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Enable][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Enable][3] = "ButtonCustom_EX2_Enable"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Name][1] = "PHPCGI_ButtonCustom_EX2_Name"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Name][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX2_Name][3] = "ButtonCustom_EX2_Name"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExePath][1] = "PHPCGI_ButtonCustom_EX2_ExePath"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExePath][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExePath][3] = "ButtonCustom_EX2_ExePath"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExeParameters][1] = "PHPCGI_ButtonCustom_EX2_ExeParameters"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExeParameters][2] = "PHPCGI"
    $aArray[$ePHPCGI_ButtonCustom_EX2_ExeParameters][3] = "ButtonCustom_EX2_ExeParameters"

    For $iEnum = 0 To $eIniUBound - 1
        $aArray[$iEnum][0] = iniGetValue($aArray, $iEnum)
    Next

    Return $aArray
EndFunc   ;==>IniArrayInit

Func iniGetValue(ByRef $aArray, $iEnum, $vDefault = '')
    Return IniRead(@ScriptDir & "\zWebServer.ini", $aArray[$iEnum][2], $aArray[$iEnum][3], $vDefault)
EndFunc

that as is returns
 

7.4161
--- >zWebServer Control Panel
0.007
--- >Custom EX2
0.0072

So it takes some 10 ms. to load but once loaded takes no time to get a value.
As is basically "Enum" driven is easy to edit the code and to use. Or to load the array for debugging ?

I hope this does it as far as optimization and ease of use.  :gathering:

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

@VIP I do not understand why you feel the need to create individual variables to each of the ini entries.  Isn't that enough to have an easy access to all the ini file within the map ?

Link to comment
Share on other sites

  • Solution

Thank @argumentum and @Nine

^^, I'm trying to find the easiest and fastest way to use it.
It seems that using map results in significantly faster speed and cleaner code.

MAP ver:

Global $hTimer = TimerInit()
Global $zWebServer_INI_FileName = 'zWebServer.ini', $zWebServer_INI_SectionNAME = 'zWebServer'

Global $aIniMap[]
ReadIni($zWebServer_INI_FileName)
ConsoleWrite("-TimerDiff: " & TimerDiff($hTimer) & @CRLF)
$hTimer = TimerInit()

Func ReadIni($sFile)
    Local $aSection = IniReadSectionNames($sFile)
    Local $aIni
    For $i = 1 To $aSection[0]
        $aIni = IniReadSection($sFile, $aSection[$i])
        For $j = 1 To $aIni[0][0]
            $aIniMap[$aSection[$i] & "|" & $aIni[$j][0]] = $aIni[$j][1]
        Next
    Next
EndFunc   ;==>ReadIni

Global $zWebServer_INI_Total_Item, $zWebServer_INI_Item_1_SectionNAME, $zWebServer_INI_Item_2_SectionNAME, $zWebServer_INI_Item_3_SectionNAME, $zWebServer_INI_Item_4_SectionNAME, $zWebServer_INI_Item_5_SectionNAME, $zWebServer_INI_Item_6_SectionNAME

ConsoleWrite('zWebServer_Title_Name = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Title_Name'] & @CRLF)
ConsoleWrite('zWebServer_Icon_Path = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_Path'] & @CRLF)
ConsoleWrite('zWebServer_Icon_Link = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_Link'] & @CRLF)
ConsoleWrite('zWebServer_Icon_TIP = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Icon_TIP'] & @CRLF)
ConsoleWrite('zWebServer_Font_Name = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Name'] & @CRLF)
ConsoleWrite('zWebServer_Font_Size = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Size'] & @CRLF)
ConsoleWrite('zWebServer_Font_Weight = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Font_Weight'] & @CRLF)
ConsoleWrite('zWebServer_Background_Image = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Background_Image'] & @CRLF)
ConsoleWrite('zWebServer_Background_Color = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Background_Color'] & @CRLF)
ConsoleWrite('zWebServer_AutoStartup = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('zWebServer_Minimize2Tray = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Minimize2Tray'] & @CRLF)
ConsoleWrite('zWebServer_OnStartMinimize2Tray = ' & $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'OnStartMinimize2Tray'] & @CRLF)

$zWebServer_INI_Total_Item = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Total_Item']
$zWebServer_INI_Item_1_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_1_SectionNAME']
$zWebServer_INI_Item_2_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_2_SectionNAME']
$zWebServer_INI_Item_3_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_3_SectionNAME']
$zWebServer_INI_Item_4_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_4_SectionNAME']
$zWebServer_INI_Item_5_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_5_SectionNAME']
$zWebServer_INI_Item_6_SectionNAME = $aIniMap[$zWebServer_INI_SectionNAME & '|' & 'Item_6_SectionNAME']

ConsoleWrite('zWebServer_Item_1_SectionNAME: ' & $zWebServer_INI_Item_1_SectionNAME & @CRLF)
ConsoleWrite('zWebServer_Item_2_SectionNAME: ' & $zWebServer_INI_Item_2_SectionNAME & @CRLF)
ConsoleWrite('zWebServer_Item_3_SectionNAME: ' & $zWebServer_INI_Item_3_SectionNAME & @CRLF)
ConsoleWrite('zWebServer_Item_4_SectionNAME: ' & $zWebServer_INI_Item_4_SectionNAME & @CRLF)
ConsoleWrite('zWebServer_Item_5_SectionNAME: ' & $zWebServer_INI_Item_5_SectionNAME & @CRLF)
ConsoleWrite('zWebServer_Item_6_SectionNAME: ' & $zWebServer_INI_Item_6_SectionNAME & @CRLF)

ConsoleWrite('1_Enable = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('1_IconPath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('1_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('1_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('1_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('1_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('1_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('1_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('1_PID = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('1_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('1_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('1_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('1_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('1_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_1_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite('2_Enable = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('2_IconPath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('2_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('2_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('2_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('2_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('2_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('2_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('2_PID = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('2_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('2_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('2_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('2_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('2_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_2_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite('3_Enable = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('3_IconPath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('3_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('3_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('3_ExePath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('3_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('3_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('3_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('3_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('3_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('3_PID = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('3_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('3_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('3_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('3_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('3_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_3_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite('4_Enable = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('4_IconPath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('4_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('4_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('4_ExePath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('4_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('4_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('4_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('4_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('4_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('4_PID = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('4_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('4_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('4_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('4_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('4_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_4_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite('5_Enable = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('5_IconPath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('5_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('5_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('5_ExePath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('5_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('5_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('5_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('5_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('5_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('5_PID = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('5_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('5_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('5_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('5_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('5_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_5_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite('6_Enable = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'Enable'] & @CRLF)
ConsoleWrite('6_IconPath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'IconPath'] & @CRLF)
ConsoleWrite('6_DisplayName = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'DisplayName'] & @CRLF)
ConsoleWrite('6_ExplorerPath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExplorerPath'] & @CRLF)
ConsoleWrite('6_ExePath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExePath'] & @CRLF)
ConsoleWrite('6_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeParameters'] & @CRLF)
ConsoleWrite('6_ExeExitPath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeExitPath'] & @CRLF)
ConsoleWrite('6_ExitParameters = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExitParameters'] & @CRLF)
ConsoleWrite('6_ExeExitPath_Ex = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExeExitPath_Ex'] & @CRLF)
ConsoleWrite('6_ExitParameters_Ex = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ExitParameters_Ex'] & @CRLF)
ConsoleWrite('6_PID = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'PID'] & @CRLF)
ConsoleWrite('6_ConfigFile = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ConfigFile'] & @CRLF)
ConsoleWrite('6_LogsFile = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'LogsFile'] & @CRLF)
ConsoleWrite('6_AutoStartup = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'AutoStartup'] & @CRLF)
ConsoleWrite('6_ConfigsFile = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ConfigsFile'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX1_Enable = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_Enable'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX1_Name = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_Name'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX1_ExePath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_ExePath'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX1_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX1_ExeParameters'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX2_Enable = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_Enable'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX2_Name = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_Name'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX2_ExePath = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_ExePath'] & @CRLF)
ConsoleWrite('6_ButtonCustom_EX2_ExeParameters = ' & $aIniMap[$zWebServer_INI_Item_6_SectionNAME & '|' & 'ButtonCustom_EX2_ExeParameters'] & @CRLF)
ConsoleWrite("-TimerDiff: " & TimerDiff($hTimer) & @CRLF)

Array 2D ver:

Global $hTimer = TimerInit()
Global $zWebServer_INI_FileName = 'zWebServer.ini', $zWebServer_INI_SectionNAME = 'zWebServer'
Global $KeyName_Title_Name = 'Title_Name', $KeyName_Icon_Path = 'Icon_Path', $KeyName_Icon_Link = 'Icon_Link', $KeyName_Icon_TIP = 'Icon_TIP', $KeyName_Font_Name = 'Font_Name', $KeyName_Font_Size = 'Font_Size', $KeyName_Font_Weight = 'Font_Weight', $KeyName_Background_Image = 'Background_Image', $KeyName_Background_Color = 'Background_Color', $KeyName_AutoStartup = 'AutoStartup', $KeyName_Minimize2Tray = 'Minimize2Tray', $KeyName_OnStartMinimize2Tray = 'OnStartMinimize2Tray', $KeyName_Total_Item = 'Total_Item', $KeyName_Item_1_SectionNAME = 'Item_1_SectionNAME', $KeyName_Item_2_SectionNAME = 'Item_2_SectionNAME', $KeyName_Item_3_SectionNAME = 'Item_3_SectionNAME', $KeyName_Item_4_SectionNAME = 'Item_4_SectionNAME', $KeyName_Item_5_SectionNAME = 'Item_5_SectionNAME', $KeyName_Item_6_SectionNAME = 'Item_6_SectionNAME', $KeyName_Enable = 'Enable', $KeyName_IconPath = 'IconPath', $KeyName_DisplayName = 'DisplayName', $KeyName_ExplorerPath = 'ExplorerPath', $KeyName_ExePath = 'ExePath', $KeyName_ExeParameters = 'ExeParameters', $KeyName_ExeExitPath = 'ExeExitPath', $KeyName_ExitParameters = 'ExitParameters', $KeyName_ExeExitPath_Ex = 'ExeExitPath_Ex', $KeyName_ExitParameters_Ex = 'ExitParameters_Ex', $KeyName_PID = 'PID', $KeyName_ConfigFile = 'ConfigFile', $KeyName_LogsFile = 'LogsFile', $KeyName_32 = 'AutoStartup', $KeyName_ConfigsFile = 'ConfigsFile', $KeyName_ButtonCustom_EX1_Enable = 'ButtonCustom_EX1_Enable', $KeyName_ButtonCustom_EX1_Name = 'ButtonCustom_EX1_Name', $KeyName_ButtonCustom_EX1_ExePath = 'ButtonCustom_EX1_ExePath', $KeyName_ButtonCustom_EX1_ExeParameters = 'ButtonCustom_EX1_ExeParameters', $KeyName_ButtonCustom_EX2_Enable = 'ButtonCustom_EX2_Enable', $KeyName_ButtonCustom_EX2_Name = 'ButtonCustom_EX2_Name', $KeyName_ButtonCustom_EX2_ExePath = 'ButtonCustom_EX2_ExePath', $KeyName_ButtonCustom_EX2_ExeParameters = 'ButtonCustom_EX2_ExeParameters'
Global Enum $iV0_Title_Name, $iV0_Icon_Path, $iV0_Icon_Link, $iV0_Icon_TIP, $iV0_Font_Name, $iV0_Font_Size, $iV0_Font_Weight, $iV0_Background_Image, $iV0_Background_Color, $iV0_AutoStartup, $iV0_Minimize2Tray, $iV0_OnStartMinimize2Tray, $iV0_Total_Item, $iV0_Item_1_SectionNAME, $iV0_Item_2_SectionNAME, $iV0_Item_3_SectionNAME, $iV0_Item_4_SectionNAME, $iV0_Item_5_SectionNAME, $iV0_Item_6_SectionNAME, $iV1_Enable, $iV1_IconPath, $iV1_DisplayName, $iV1_ExplorerPath, $iV1_ExePath, $iV1_ExeParameters, $iV1_ExeExitPath, $iV1_ExitParameters, $iV1_ExeExitPath_Ex, $iV1_ExitParameters_Ex, $iV1_PID, $iV1_ConfigFile, $iV1_LogsFile, $iV1_AutoStartup, $iV1_ConfigsFile, $iV1_ButtonCustom_EX1_Enable, $iV1_ButtonCustom_EX1_Name, $iV1_ButtonCustom_EX1_ExePath, $iV1_ButtonCustom_EX1_ExeParameters, $iV1_ButtonCustom_EX2_Enable, $iV1_ButtonCustom_EX2_Name, $iV1_ButtonCustom_EX2_ExePath, $iV1_ButtonCustom_EX2_ExeParameters, $iV2_Enable, $iV2_IconPath, $iV2_DisplayName, $iV2_ExplorerPath, $iV2_ExePath, $iV2_ExeParameters, $iV2_ExeExitPath, $iV2_ExitParameters, $iV2_ExeExitPath_Ex, $iV2_ExitParameters_Ex, $iV2_PID, $iV2_ConfigFile, $iV2_LogsFile, $iV2_AutoStartup, $iV2_ConfigsFile, $iV2_ButtonCustom_EX1_Enable, $iV2_ButtonCustom_EX1_Name, $iV2_ButtonCustom_EX1_ExePath, $iV2_ButtonCustom_EX1_ExeParameters, $iV2_ButtonCustom_EX2_Enable, $iV2_ButtonCustom_EX2_Name, $iV2_ButtonCustom_EX2_ExePath, $iV2_ButtonCustom_EX2_ExeParameters, $iV3_Enable, $iV3_IconPath, $iV3_DisplayName, $iV3_ExplorerPath, $iV3_ExePath, $iV3_ExeParameters, $iV3_ExeExitPath, $iV3_ExitParameters, $iV3_ExeExitPath_Ex, $iV3_ExitParameters_Ex, $iV3_PID, $iV3_ConfigFile, $iV3_LogsFile, $iV3_AutoStartup, $iV3_ConfigsFile, $iV3_ButtonCustom_EX1_Enable, $iV3_ButtonCustom_EX1_Name, $iV3_ButtonCustom_EX1_ExePath, $iV3_ButtonCustom_EX1_ExeParameters, $iV3_ButtonCustom_EX2_Enable, $iV3_ButtonCustom_EX2_Name, $iV3_ButtonCustom_EX2_ExePath, $iV3_ButtonCustom_EX2_ExeParameters, $iV4_Enable, $iV4_IconPath, $iV4_DisplayName, $iV4_ExplorerPath, $iV4_ExePath, $iV4_ExeParameters, $iV4_ExeExitPath, $iV4_ExitParameters, $iV4_ExeExitPath_Ex, $iV4_ExitParameters_Ex, $iV4_PID, $iV4_ConfigFile, $iV4_LogsFile, $iV4_AutoStartup, $iV4_ConfigsFile, $iV4_ButtonCustom_EX1_Enable, $iV4_ButtonCustom_EX1_Name, $iV4_ButtonCustom_EX1_ExePath, $iV4_ButtonCustom_EX1_ExeParameters, $iV4_ButtonCustom_EX2_Enable, $iV4_ButtonCustom_EX2_Name, $iV4_ButtonCustom_EX2_ExePath, $iV4_ButtonCustom_EX2_ExeParameters, $iV5_Enable, $iV5_IconPath, $iV5_DisplayName, $iV5_ExplorerPath, $iV5_ExePath, $iV5_ExeParameters, $iV5_ExeExitPath, $iV5_ExitParameters, $iV5_ExeExitPath_Ex, $iV5_ExitParameters_Ex, $iV5_PID, $iV5_ConfigFile, $iV5_LogsFile, $iV5_AutoStartup, $iV5_ConfigsFile, $iV5_ButtonCustom_EX1_Enable, $iV5_ButtonCustom_EX1_Name, $iV5_ButtonCustom_EX1_ExePath, $iV5_ButtonCustom_EX1_ExeParameters, $iV5_ButtonCustom_EX2_Enable, $iV5_ButtonCustom_EX2_Name, $iV5_ButtonCustom_EX2_ExePath, $iV5_ButtonCustom_EX2_ExeParameters, $iV6_Enable, $iV6_IconPath, $iV6_DisplayName, $iV6_ExplorerPath, $iV6_ExePath, $iV6_ExeParameters, $iV6_ExeExitPath, $iV6_ExitParameters, $iV6_ExeExitPath_Ex, $iV6_ExitParameters_Ex, $iV6_PID, $iV6_ConfigFile, $iV6_LogsFile, $iV6_AutoStartup, $iV6_ConfigsFile, $iV6_ButtonCustom_EX1_Enable, $iV6_ButtonCustom_EX1_Name, $iV6_ButtonCustom_EX1_ExePath, $iV6_ButtonCustom_EX1_ExeParameters, $iV6_ButtonCustom_EX2_Enable, $iV6_ButtonCustom_EX2_Name, $iV6_ButtonCustom_EX2_ExePath, $iV6_ButtonCustom_EX2_ExeParameters, $nIniUBound

Global $aArray = _ReadINI2Array()

ConsoleWrite("-TimerDiff: " & TimerDiff($hTimer) & @CRLF)
$hTimer = TimerInit()
For $iEnum = 0 To UBound($aArray) - 1
    ConsoleWrite(">eN " & $iEnum & ": [" & $aArray[$iEnum][0] & "] " & $aArray[$iEnum][1] & " = " & $aArray[$iEnum][2] & @CRLF)
Next
ConsoleWrite("-TimerDiff: " & TimerDiff($hTimer) & @CRLF)

Func _ReadINI2Array()
    Local $aArray[$nIniUBound][3]
    $aArray[$iV0_Title_Name][1] = $KeyName_Title_Name
    $aArray[$iV0_Title_Name][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Icon_Path][1] = $KeyName_Icon_Path
    $aArray[$iV0_Icon_Path][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Icon_Link][1] = $KeyName_Icon_Link
    $aArray[$iV0_Icon_Link][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Icon_TIP][1] = $KeyName_Icon_TIP
    $aArray[$iV0_Icon_TIP][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Font_Name][1] = $KeyName_Font_Name
    $aArray[$iV0_Font_Name][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Font_Size][1] = $KeyName_Font_Size
    $aArray[$iV0_Font_Size][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Font_Weight][1] = $KeyName_Font_Weight
    $aArray[$iV0_Font_Weight][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Background_Image][1] = $KeyName_Background_Image
    $aArray[$iV0_Background_Image][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Background_Color][1] = $KeyName_Background_Color
    $aArray[$iV0_Background_Color][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV0_AutoStartup][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Minimize2Tray][1] = $KeyName_Minimize2Tray
    $aArray[$iV0_Minimize2Tray][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_OnStartMinimize2Tray][1] = $KeyName_OnStartMinimize2Tray
    $aArray[$iV0_OnStartMinimize2Tray][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Total_Item][1] = $KeyName_Total_Item
    $aArray[$iV0_Total_Item][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_1_SectionNAME][1] = $KeyName_Item_1_SectionNAME
    $aArray[$iV0_Item_1_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_1_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_1_SectionNAME, '')
    $aArray[$iV0_Item_2_SectionNAME][1] = $KeyName_Item_2_SectionNAME
    $aArray[$iV0_Item_2_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_2_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_2_SectionNAME, '')
    $aArray[$iV0_Item_3_SectionNAME][1] = $KeyName_Item_3_SectionNAME
    $aArray[$iV0_Item_3_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_3_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_3_SectionNAME, '')
    $aArray[$iV0_Item_4_SectionNAME][1] = $KeyName_Item_4_SectionNAME
    $aArray[$iV0_Item_4_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_4_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_4_SectionNAME, '')
    $aArray[$iV0_Item_5_SectionNAME][1] = $KeyName_Item_5_SectionNAME
    $aArray[$iV0_Item_5_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_5_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_5_SectionNAME, '')
    $aArray[$iV0_Item_6_SectionNAME][1] = $KeyName_Item_6_SectionNAME
    $aArray[$iV0_Item_6_SectionNAME][0] = $zWebServer_INI_SectionNAME
    $aArray[$iV0_Item_6_SectionNAME][2] = IniRead($zWebServer_INI_FileName, $zWebServer_INI_SectionNAME, $KeyName_Item_6_SectionNAME, '')


    $aArray[$iV1_Enable][1] = $KeyName_Enable
    $aArray[$iV1_Enable][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_IconPath][1] = $KeyName_IconPath
    $aArray[$iV1_IconPath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV1_DisplayName][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV1_ExplorerPath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExePath][1] = $KeyName_ExePath
    $aArray[$iV1_ExePath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV1_ExeParameters][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV1_ExeExitPath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV1_ExitParameters][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV1_ExeExitPath_Ex][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV1_ExitParameters_Ex][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_PID][1] = $KeyName_PID
    $aArray[$iV1_PID][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV1_ConfigFile][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV1_LogsFile][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV1_AutoStartup][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV1_ConfigsFile][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV1_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV1_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV1_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV1_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV1_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV1_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV1_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_1_SectionNAME][2]
    $aArray[$iV1_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV1_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_1_SectionNAME][2]


    $aArray[$iV2_Enable][1] = $KeyName_Enable
    $aArray[$iV2_Enable][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_IconPath][1] = $KeyName_IconPath
    $aArray[$iV2_IconPath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV2_DisplayName][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV2_ExplorerPath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExePath][1] = $KeyName_ExePath
    $aArray[$iV2_ExePath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV2_ExeParameters][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV2_ExeExitPath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV2_ExitParameters][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV2_ExeExitPath_Ex][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV2_ExitParameters_Ex][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_PID][1] = $KeyName_PID
    $aArray[$iV2_PID][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV2_ConfigFile][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV2_LogsFile][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV2_AutoStartup][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV2_ConfigsFile][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV2_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV2_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV2_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV2_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV2_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV2_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV2_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_2_SectionNAME][2]
    $aArray[$iV2_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV2_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_2_SectionNAME][2]


    $aArray[$iV3_Enable][1] = $KeyName_Enable
    $aArray[$iV3_Enable][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_IconPath][1] = $KeyName_IconPath
    $aArray[$iV3_IconPath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV3_DisplayName][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV3_ExplorerPath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExePath][1] = $KeyName_ExePath
    $aArray[$iV3_ExePath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV3_ExeParameters][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV3_ExeExitPath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV3_ExitParameters][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV3_ExeExitPath_Ex][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV3_ExitParameters_Ex][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_PID][1] = $KeyName_PID
    $aArray[$iV3_PID][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV3_ConfigFile][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV3_LogsFile][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV3_AutoStartup][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV3_ConfigsFile][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV3_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV3_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV3_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV3_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV3_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV3_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV3_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_3_SectionNAME][2]
    $aArray[$iV3_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV3_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_3_SectionNAME][2]

    $aArray[$iV4_Enable][1] = $KeyName_Enable
    $aArray[$iV4_Enable][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_IconPath][1] = $KeyName_IconPath
    $aArray[$iV4_IconPath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV4_DisplayName][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV4_ExplorerPath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExePath][1] = $KeyName_ExePath
    $aArray[$iV4_ExePath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV4_ExeParameters][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV4_ExeExitPath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV4_ExitParameters][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV4_ExeExitPath_Ex][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV4_ExitParameters_Ex][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_PID][1] = $KeyName_PID
    $aArray[$iV4_PID][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV4_ConfigFile][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV4_LogsFile][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV4_AutoStartup][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV4_ConfigsFile][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV4_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV4_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV4_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV4_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV4_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV4_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV4_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_4_SectionNAME][2]
    $aArray[$iV4_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV4_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_4_SectionNAME][2]

    $aArray[$iV5_Enable][1] = $KeyName_Enable
    $aArray[$iV5_Enable][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_IconPath][1] = $KeyName_IconPath
    $aArray[$iV5_IconPath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV5_DisplayName][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV5_ExplorerPath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExePath][1] = $KeyName_ExePath
    $aArray[$iV5_ExePath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV5_ExeParameters][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV5_ExeExitPath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV5_ExitParameters][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV5_ExeExitPath_Ex][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV5_ExitParameters_Ex][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_PID][1] = $KeyName_PID
    $aArray[$iV5_PID][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV5_ConfigFile][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV5_LogsFile][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV5_AutoStartup][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV5_ConfigsFile][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV5_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV5_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV5_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV5_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV5_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV5_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV5_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_5_SectionNAME][2]
    $aArray[$iV5_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV5_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_5_SectionNAME][2]

    $aArray[$iV6_Enable][1] = $KeyName_Enable
    $aArray[$iV6_Enable][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_IconPath][1] = $KeyName_IconPath
    $aArray[$iV6_IconPath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_DisplayName][1] = $KeyName_DisplayName
    $aArray[$iV6_DisplayName][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExplorerPath][1] = $KeyName_ExplorerPath
    $aArray[$iV6_ExplorerPath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExePath][1] = $KeyName_ExePath
    $aArray[$iV6_ExePath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExeParameters][1] = $KeyName_ExeParameters
    $aArray[$iV6_ExeParameters][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExeExitPath][1] = $KeyName_ExeExitPath
    $aArray[$iV6_ExeExitPath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExitParameters][1] = $KeyName_ExitParameters
    $aArray[$iV6_ExitParameters][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExeExitPath_Ex][1] = $KeyName_ExeExitPath_Ex
    $aArray[$iV6_ExeExitPath_Ex][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ExitParameters_Ex][1] = $KeyName_ExitParameters_Ex
    $aArray[$iV6_ExitParameters_Ex][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_PID][1] = $KeyName_PID
    $aArray[$iV6_PID][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ConfigFile][1] = $KeyName_ConfigFile
    $aArray[$iV6_ConfigFile][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_LogsFile][1] = $KeyName_LogsFile
    $aArray[$iV6_LogsFile][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_AutoStartup][1] = $KeyName_AutoStartup
    $aArray[$iV6_AutoStartup][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ConfigsFile][1] = $KeyName_ConfigsFile
    $aArray[$iV6_ConfigsFile][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX1_Enable][1] = $KeyName_ButtonCustom_EX1_Enable
    $aArray[$iV6_ButtonCustom_EX1_Enable][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX1_Name][1] = $KeyName_ButtonCustom_EX1_Name
    $aArray[$iV6_ButtonCustom_EX1_Name][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX1_ExePath][1] = $KeyName_ButtonCustom_EX1_ExePath
    $aArray[$iV6_ButtonCustom_EX1_ExePath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX1_ExeParameters][1] = $KeyName_ButtonCustom_EX1_ExeParameters
    $aArray[$iV6_ButtonCustom_EX1_ExeParameters][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX2_Enable][1] = $KeyName_ButtonCustom_EX2_Enable
    $aArray[$iV6_ButtonCustom_EX2_Enable][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX2_Name][1] = $KeyName_ButtonCustom_EX2_Name
    $aArray[$iV6_ButtonCustom_EX2_Name][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX2_ExePath][1] = $KeyName_ButtonCustom_EX2_ExePath
    $aArray[$iV6_ButtonCustom_EX2_ExePath][0] = $aArray[$iV0_Item_6_SectionNAME][2]
    $aArray[$iV6_ButtonCustom_EX2_ExeParameters][1] = $KeyName_ButtonCustom_EX2_ExeParameters
    $aArray[$iV6_ButtonCustom_EX2_ExeParameters][0] = $aArray[$iV0_Item_6_SectionNAME][2]

    For $iEnum = 0 To $nIniUBound - 1
        $aArray[$iEnum][2] = IniRead($zWebServer_INI_FileName, $aArray[$iEnum][0], $aArray[$iEnum][1], '')
    Next
    Return $aArray
EndFunc   ;==>_ReadINI2Array

 

Regards,
 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...