Sign in to follow this  
Followers 0
AZJIO

IniVirtual

37 posts in this topic

#1 ·  Posted (edited)

Download IniVirtual.7z (v0.6 20.07.2013)

_IniVirtual_Delete

_IniVirtual_Initial

_IniVirtual_Read

_IniVirtual_ReadSection

_IniVirtual_ReadSectionNames

_IniVirtual_RenameSection

_IniVirtual_Write

_IniVirtual_WriteSection

_IniVirtual_Save

_IniVirtual_IsDuplicateSections

_IniVirtual_IsDuplicateKeys

Converts the ini-file into an array and work with it in memory. Upon completion, you can save the file. There is no limitation section 32767 characters. If the beginning or end of the value is space, the value in quotes.

For compatibility with version 3.3.10.2 (and 3.3.11.4), at the beginning of each regular expression add (*LF)

Alternative:

>IniVirtualSPE (AZJIO)

>IniEx (DXRW4E)

>IniString (ResNullius & MrCreatoR (G.Sandler))

>discussion

Edited by AZJIO
1 person likes this

Share this post


Link to post
Share on other sites



A nice idea. A couple of new functions which aren't in _IniString.


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I know about _IniString, I even made a translation. But it does not work if the section names have characters that are in RegExp. If before the "=" there is a space, the parameter is not found. If the value has spaces on the left or the right, the quotes aren't added. If you frequently read and write data, it parses the file each time.

Here's an example that works faster than _IniString_Read in 10 times.

IniVirtualSPE

Update

Added ignoring of the commented-out keys

Edited by AZJIO

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I tried to do on nested "Scripting.Dictionary". But not working.

#include <Array.au3>

$o_Mem_Ini = _IniVirtual_Initial(FileRead(@ScriptDir &amp; "\Test.ini"))
$sKey = _IniVirtual_Read($o_Mem_Ini, "boot loader", "timeout", "NotFound")
MsgBox(4096, 'Результат', $sKey)

Func _IniVirtual_Initial($sText)
    Local $oTmp
    $sText = StringRegExpReplace($sText, '(?s)\h*(\r\n)\h*', '\1') ; Удаление пробельных символов в начале и в конце каждой строки. (упрощает слудующее рег.выр. и в параметрах лишнее)
    Local $aSection = StringRegExp($sText, '(?s)(?:\r\n|\A)\[\h*(.*?)\h*\]\r\n(.*?)(?=\r\n\[\h*.*?\h*\]\r\n|\z)', 3)
    Local $oMainINI= ObjCreate('Scripting.Dictionary')
    $oMainINI.CompareMode = 0

    For $i = 0 To UBound($aSection) - 1 Step 2
        If Not $oMainINI.Exists($aSection[$i]) Then
            $oTmp = ObjCreate('Scripting.Dictionary') ; используем временную переменную для удобства использования в цикле
            $oTmp.CompareMode = 0

            $aKeyVal = StringRegExp($aSection[$i], '(?m)^(.+?)\h*=\h*(["'']?)(.*?)\2\r?$', 3) ; учитывает пробелы между элементами и обрамление кавычками
            ; Заполняем вложенные объект

            For $j = 0 To UBound($aKeyVal) - 1 Step 3
                If Not $oTmp.Exists($aKeyVal[$j]) Then ; если не существует ключ объекта, тогда
                    $oTmp.Add($aKeyVal[$j], $aKeyVal[$j + 2]) ; добавляем ключ объекта
                EndIf
            Next

            $oMainINI.Add($aSection[$i], $oTmp) ; Добавляем объект как значение, где ключ является имя секции
        EndIf
    Next

    Return $oMainINI
EndFunc   ;==>_IniVirtual_Initial

Func _IniVirtual_Read($oMainINI, $sSection, $sKey, $sDefault = '')
    If $oMainINI.Exists($sSection) Then ; если существует ключ $sSection в объекте, тогда
        $oValue = $oMainINI.Item($sSection) ; читаем значение ключа $sSection, которое является вложенным обектом
    Else ; иначе
        Return $sDefault ;значение по умолчанию
    EndIf
    ; MsgBox(0, 'Сообщение', VarGetType($oValue))
    $Array = $oValue.Keys() ; тест - извлекаем все ключи из объекта $oValue
    MsgBox(0, 'Сообщение', UBound($Array))
    _ArrayDisplay($Array, 'Array')
    If $oValue.Exists($sKey) Then
        Return $oValue.Item($sKey) ; читает значение
    Else
        Return $sDefault
    EndIf
EndFunc   ;==>_IniVirtual_Read

Func _IniVirtual_ReadSectionNames($oMainINI) ; извлечение корневых ключей без проблем
    $aSection = $oMainINI.Keys()
    Return $aSection
EndFunc

Have tried a combination of array and "Scripting. Dictionary" but creating a longer time than "_IniVirtual_Initial"

#include <Array.au3>

$sIniFileText = FileRead(@ScriptDir & "\Sample.ini")
$timer = TimerInit()
$a_Mem_Ini = _IniVirtualSD_Initial($sIniFileText)
$timer = Round(TimerDiff($timer), 2) & ' ms'
MsgBox(0, "Initialization time", $timer)

; $timer = TimerInit()
; $Res = _IniVirtualSD_Read($a_Mem_Ini, 'Section2', 'Key1', 'тест')
; $timer = Round(TimerDiff($timer), 2) & ' ms'
; MsgBox(0, "time " & $timer, $Res)

; $timer = TimerInit()
; $Res = _IniVirtualSD_ReadSection($a_Mem_Ini, 'Section2')
; $timer = Round(TimerDiff($timer), 2) & ' ms'
; _ArrayDisplay($Res, "time " & $timer)

Func _IniVirtualSD_Initial($s_INI_Text)
    Local $aSection, $d, $u
    $s_INI_Text = StringRegExpReplace($s_INI_Text, '\h+\r\n\h*|\r\n\h+|\s+\z', @CRLF)
    $s_INI_Text = StringRegExpReplace($s_INI_Text, '\](?=\r\n\[|\z)', ']' & @CRLF)
    $aSection = StringRegExp($s_INI_Text, '(?s)(?:\r\n|\A)\[\h*(.*?)\h*\]\r\n(.*?)(?=\r\n\[|\z)', 3)
    $u = UBound($aSection)
    Local $a_Ini_Virtual2D[$u / 2 + 1][2] = [[$u / 2]]
    For $i = 0 To $u - 1 Step 2
        $d = Int($i / 2) + 1
        $a_Ini_Virtual2D[$d][0] = $aSection[$i]
        $a_Ini_Virtual2D[$d][1] = __IniVirtualSD_GetKeysVal($aSection[$i + 1])
    Next
    Return $a_Ini_Virtual2D
EndFunc   ;==>_IniVirtualSD_Initial

Func __IniVirtualSD_GetKeysVal($vData)
    $vData = StringRegExp($vData, '(?m)^([^;].*?)\h*=\h*(["'']?)(.*?)\2\r?$', 3)
    Local $d, $u = UBound($vData)
    Local $oDict = ObjCreate('Scripting.Dictionary')
    $oDict.CompareMode = 0
    For $i = 0 To $u - 1 Step 3
        If Not $oDict.Exists($vData[$i]) Then
            ; $oDict.Item($vData[$i]) = $vData[$i + 2]
            $oDict.Add($vData[$i], $vData[$i + 2])
        EndIf
    Next
    Return $oDict
EndFunc   ;==>__IniVirtualSD_GetKeysVal

Func _IniVirtualSD_Read($a_Ini_Virtual2D, $sSection, $sKey, $sDefault = '')
    Local $i = _ArraySearch($a_Ini_Virtual2D, $sSection, 1, 0, 0, 0, 1, 0)
    If @error Then Return $sDefault
    If $a_Ini_Virtual2D[$i][1].Exists($sKey) Then
        Return $a_Ini_Virtual2D[$i][1] .Item($sKey)
    Else
        Return $sDefault
    EndIf
EndFunc   ;==>_IniVirtualSD_Read

Func _IniVirtualSD_ReadSection($a_Ini_Virtual2D, $sSection)
    Local $i = _ArraySearch($a_Ini_Virtual2D, $sSection, 1, 0, 0, 0, 1, 0)
    If @error Then Return SetError(1, 0, 0)
    Local $aKey = $a_Ini_Virtual2D[$i][1] .Keys()
    Return $aKey
EndFunc   ;==>_IniVirtualSD_ReadSection
Edited by AZJIO

Share this post


Link to post
Share on other sites

AZJIO,

Thank you for this great script.

I tried it:

$sRes = _IniVirtualSPE_Read($s_ini_Text, "Section1", "Key1", "")

 

and

$sRes = _IniVirtualSPE_Read($s_ini_Text, "section1", "key1", "")

 

Bring different result.

Section1 versus section1

Key1 versus key1

How to make it not casesensitive?

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Change CompareMode to 1.

Edited by guinness

_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Change CompareMode to 1.

 

Where to change this? I read the IniVirtualSPE.au3 and found nothing about CompareMode

Share this post


Link to post
Share on other sites

I only looked at #6 as I couldn't download the ZIP.


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

I only looked at #6 as I couldn't download the ZIP.

 

#6 post is quite different with the one on 7z final file, maybe #6 is use for experiment.

This is the code:

Func _IniVirtualSPE_Read($s_INI_Text, $sSection, $sKey, $sDefault = '')
    $sSection = StringRegExpReplace($sSection, '[][{}()*+?.\\^$|=<>#]', '\\$0')
    Local $aSection = StringRegExp($s_INI_Text, '(?s)(?:\r\n|\A)\h*\[\h*' & $sSection & '\h*\]\h*\r\n\s*([^\[\s].*?)(?=\r\n\h*\[|\s*\z)', 1) ; èçâëå÷åíèå êîíòåíòà ñåêöèè
    If @error Then Return $sDefault
    $aSection = StringRegExp($aSection[0], '(?m)^\h*' & StringRegExpReplace($sKey, '[][{}()*+?.\\^$|=<>#]', '\\$0') & '\h*=\h*(.*?)\h*\r?$', 1) ; èçâëå÷åíèå ïàðàìåòðà
    If @error Then Return $sDefault
    Switch StringLeft($aSection[0], 1) & StringRight($aSection[0], 1) ; åñëè ïàðàìåòðû â êàâû÷êàõ, òî óäàëåíèå êàâû÷åê " è '
        Case '""', "''"
            $aSection[0] = StringTrimLeft(StringTrimRight($aSection[0], 1), 1)
    EndSwitch
    Return $aSection[0]
EndFunc   ;==>_IniVirtualSPE_Read

 

At first I'm looking for some switch in the parameter, but seems it's not provided

Share this post


Link to post
Share on other sites

Change (?s) to (?is) and (?m) to (?im) for now.


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

Change (?s) to (?is) and (?m) to (?im) for now.

 

Wow, you're fast! And it works great!!

Thanks alot, guinness :thumbsup:

Share this post


Link to post
Share on other sites

?i basically means...well look in the help file under StringRegExp. I don't know why AZJIO made these functions case-sensitive?


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

?i basically means...well look in the help file under StringRegExp. I don't know why AZJIO made these functions case-sensitive?

 

?i mean ignore string case in SRE, yes I read about it :) Thanks for pointing it.

As far as I remember, the standard IniRead function is not case sensitive

Share this post


Link to post
Share on other sites

I have not had a case of this error. Will be updated later.

Share this post


Link to post
Share on other sites

As far as I remember, the standard IniRead function is not case sensitive

They're not. But AZJIO appears to be on the case.

You're lucky that I'm in regular expression mode today -_0!


_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 04/09/2015

Share this post


Link to post
Share on other sites

They're not. But AZJIO appears to be on the case.

You're lucky that I'm in regular expression mode today -_0!

:*

Share this post


Link to post
Share on other sites

I have not had a case of this error. Will be updated later.

 

Thanks :)

I use your _File_Operation intensively and I think I need to use your iniVirtualSPE intensively too.

Thanks for providing these great scripts!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

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


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0