I'm a noob to AHK, and I am trying to automate the following sequence, which copies and pastes data from Excel into a form.
Copy (from Excel)
Alt+Tab (switch to browser)
Paste
Tab (move to next field in browser)
Alt+Tab (switch back to Excel)
Tab (move to next record in Excel)
----Repeat above code 2 times, then perform this procedure:
Copy (from Excel)
Alt+Tab (switch to browser)
Paste
Tab (move to next field in browser)
12
Tab
17
Tab
2020 (putting in the date, I can just update the values in the script as needed)
Tab (move to next row in browser)
Alt+Tab (switch back to Excel)
Enter
Enter (Moves to next line in Excel)
-----Repeat all above code 10 times
Here's the code that I tried to get my copy/paste to work, but it didn't seem to function properly:
Code: Select all
^0::
Send, ^c
Send, {Alt down}{tab}
Send, {Alt up}
Send, ^v
Return