I want that autohotkey reads that Excel file and gets every rows as a variable in a memory.
If I put the key from A column in a Gui and click submit, the code will give me a meaning of that key from Excels file.
After I'm done and Close the script, the code will erase that variables from memory.
Is it possible to do that?
Code: Select all
Path := "C:\Users\Desktop\read.xlsx"
XL := ComObjCreate("Excel.Application")
XL_Workbook := XL.Workbooks.Open(Path)
XL.Visible := false
!x::
Gui, Add, Edit, w100 vcontent,
Gui, Add, Button, gsubmit, Submit
Gui, Show, autosize
return
submit:
Gui, submit,
msgbox, the meaning of %content% is %value%
return