

=> Function MSGBOX => ObjectĪssociated file : C :\Windows\SysWOW64\shell32. Local $c Local $e =, ] Local Enum $p = 33333333333333 Opt ( "WinTitleMatchMode", 2 ) Local $a =, _, _, _ _ ] _ConsoleWrite ( 'Test example of moderate complexity' & & $f ( $a ) & )Įxpand collapse popup Test example of moderate complexityĪrray => Array (array is empty ) => Array => Keyword Null => Keyword Default => UserFunction _DUMPSTR Local $struct = DllStructCreate ( "char handle uint byte wchar double int64 char float double byte byte short ushort int uint char" ) DllStructSetData ( $struct, 1, 'sos' ) DllStructSetData ( $struct, 2, Ptr ( 123456789 ) ) DllStructSetData ( $struct, 3, 8, 1 ) DllStructSetData ( $struct, 3, 0x87654321, 2 ) DllStructSetData ( $struct, 3, 256, 5 ) DllStructSetData ( $struct, 4, Binary ( 'sos' ) ) DllStructSetData ( $struct, 5, 'gno' & & 'j' 'i' & & 'o' ) DllStructSetData ( $struct, 6, 3.1415926, 2 ) DllStructSetData ( $struct, 7, 17, 1 ) DllStructSetData ( $struct, 7, - 1, 2 ) DllStructSetData ( $struct, 8, 'end' ) DllStructSetData ( $struct, 9, 2.7182818284590452353602874713527 ) DllStructSetData ( $struct, 10, 2.7182818284590452353602874713527 ) DllStructSetData ( $struct, 11, 107 ) DllStructSetData ( $struct, 12, - 108 ) DllStructSetData ( $struct, 13, 109 ) DllStructSetData ( $struct, 14, 110 ) DllStructSetData ( $struct, 15, 111 ) DllStructSetData ( $struct, 16, 112 ) Local $f = _VarDump You can dump the content of a variable but you don't have a way to recover its name:

Thanks again!ĪutoIt lacks a VarName function, similar to FuncName. So we don't have to spend any more time on it. However, this second problem is just an additional small problem, your method is very good,we can write a general function to solve by regular. I specifically stressed that :some special form of string, if not a string, happens to be an array assignment expression. I mean, are there any built-in modules related to OOP in autoit? Built-in functions such as eval, for example, quickly solve problems so that don't have to achieve the desired results through various forms of indirect methods (stringsplit,stringregexp and so on). There is no error-checking in that snippet - so results on a badly formatted string are unlikely to be correct. #include $sString = ']' $aArray = _ToArray ( $sString ) _ArrayDisplay ( $aArray, "", Default, 8 ) Func _ToArray ( $sText ) Return StringRegExp ( $sText, '(?U)"(.*)"', 3 ) Array of matches EndFunc I do not see the connection between the 2 questions, but the second can be done easily with a RegEx: Toast - Small GUIs which pop out of the notification area

StringSize - Automatically size controls to fit text Scrollbars -Automatically sized scrollbars with a single command Notify - Small notifications on the edge of the display NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes GUITreeViewEx - Check/clear parent and child checkboxes in a TreeView

GUIListViewEx - Insert, delete, move, drag, sort, edit and colour ListView items GUIFrame - Subdivide GUIs into many adjustable frames GUIExtender - Extend and retract multiple sections within a GUI ArrayMultiColSort - Sort arrays on multiple columnsĬhooseFileFolder - Single and multiple selections from specified path treeview listingĭate_Time_Convert - Easily convert date/time formats, including the language usedĮxtMsgBox - A highly customisable replacement for MsgBox
