Hoth2001 Posted September 6, 2017 Posted September 6, 2017 I've created a 2d array from an external csv file #include<file.au3> local $aArray _FileReadToArray("C:\Users\User\Desktop\Planets.csv" , $aArray, 0, ",") You can see how the array looks and is organized from the attachment below Now what I would like to using elements from my array insert them into places of my code where I am using "Send" to input information into an external program. Here is my code: ;~ ;PLANET RATE OF CHANGE MAXIMUM MouseClick('primary', 320,156, 1, 0) Sleep(300) Send("{DELETE}") Send("{DELETE}") Send("{DELETE}") sleep(200) Send("7") ;<-------- want to substitute with an array element here Send("{TAB}") sleep(500) ;POSITIVE CALCULATION DATE RANGE ;month Send("01") ;<-------- want to substitute with an array element here Send("{RIGHT}") ;date Send("01") ;<-------- want to substitute with an array element here Send("{RIGHT}") ;year Send("2011") ;<-------- want to substitute with an array element here Send("{TAB}") Thanks for all the help!!
Hoth2001 Posted September 6, 2017 Author Posted September 6, 2017 got it. nevermind! the pains of being a beginner! thanks for the help so far!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now