How do you sendkeys with variables? , ie
sendkeys "%(e+a)MyVariableString{Enter}{Tab}"
The variable is actually a, txtFile.text
I've tried quite a few different ways, and decided 2 hours later, to post this question.
Printable View
How do you sendkeys with variables? , ie
sendkeys "%(e+a)MyVariableString{Enter}{Tab}"
The variable is actually a, txtFile.text
I've tried quite a few different ways, and decided 2 hours later, to post this question.
Not sure exactly, would give it a try like:
VB Code:
SendKeys Str(Text1.text) & "{Enter}{Tab}" 'or SendKeys VariableNameHere & "{Enter}{Tab}"
Don't quote me. Haven't tried it, that's off the top of my head.