Code: Select all
{"ReviewLog":{"%FileNumber%":{"TimeStamp":"%CurrentDate%","Lead":"%LeadValuator%","Tracking":"%Tracking%","Options":"%Options%","PV":"%PV%","2ndSource":"%SecSource%","Title":"%Brand%","Distance":"%Distance%","ACV":"%ACV%","PriceTables":"%PriceTables%","CompResearch":"%CompResearch%","SpecialInst":"%SpecialInst%","PriceMargin":"%PriceMargin%","Comments":"%Comments%","AdditionalComments":"%AddtionalComments%"}}}
So, Now I'm trying to "PUSH" the values into the array with this:
Code: Select all
LoggedFile.Push(ReviewLog(%FileNumber%("TimeStamp":%CurrentDate%,"Lead":%LeadValuator%,"Tracking":%Tracking%,"Options":%Options%,"PV":%PV%,"2ndSource":%SecSource%,"Title":%Brand%,"Distance":%Distance%,"ACV":%ACV%,"PriceTables":%PriceTables%,"CompResearch":%CompResearch%,"SpecialInst":%SpecialInst%,"PriceMargin":%PriceMargin%,"Comments":%Comments%,"AdditionalComments":%AddtionalComments%)
I've read the AHK documentation on Objects and Jeeswg's Objects Tutorial, but I didn't see a smoking gun on how to achieve this. Has anybody successfully done this?