I have a list of variables I want to add into consecutive cells in google sheets document.
I've tried adding the variables to an array, then sending the array to the first cell in google sheets.
If I put `n between the variables, it adds the variables in consecutive cells going down, but how could I make it add them left to right?
Code: Select all
#SingleInstance Force
#Persistent
^+Y::
testArray := []
Thing1 = 12345
Thing2 = abcde
Thing3 = elephant
MsgBox, %Thing1% %Thing2% %Thing3%
data = %Thing1%`n %Thing2%`n %Thing3%`n
testArray.Push(data)
MsgBox, % testArray[1]
return
^+u::
send, % testArray[1]
return
ESC::ExitApp
[Mod edit: Changed code box from .txt format to default .ahk format.]