From 98ec36cd5ce27e0df87d5b99ed4c9669829960fe Mon Sep 17 00:00:00 2001 From: David Daily Date: Thu, 23 Jan 2020 06:08:29 -0600 Subject: [PATCH] New way to process emails.csv updated the function to use an object instead of just reading lines, added a function to write to the csv as well so I can update it without manually modifying it --- func.ahk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/func.ahk b/func.ahk index fa25da5..8b0036b 100644 --- a/func.ahk +++ b/func.ahk @@ -29,7 +29,7 @@ GetInfo(xID) ; Accept what is passed here as the variable "xID" in the script { if (xID) { - csv := FileOpen(A_MyDocuments "\Work_Docs\emails-test.csv", "r") + csv := FileOpen(A_MyDocuments "\Work_Docs\emails.csv", "r") Loop { ReadLine := csv.ReadLine() Array := StrSplit(ReadLine,",") @@ -45,7 +45,7 @@ SetInfo(xID, column, value) StringUpper, xID, xID ;just to make sure if (xID) { - csv := FileOpen(A_MyDocuments "\Work_Docs\emails-test.csv", "r") + csv := FileOpen(A_MyDocuments "\Work_Docs\emails.csv", "r") Array := [] Dealinfo := [] Loop {