Code: Select all
test := {"ItemN":625,"Digital":"Both","LocalDel":"Check"}
msgbox, % test.ItemN
In fact my script doesn't even see the data as anything other than a string, it doesn't respond to any object queries.
Another thing I tested
Code: Select all
FileDelete, atestfile.txt
str := {"ItemN":625,"Digital":"Both","LocalDel":"Check"}
FileAppend, %str%, atestfile.txt
; this works
msgbox, % str.ItemN
; this does not
FileRead, testaa, atestfile.txt
msgbox, % testaa.ItemN
ExitApp