I am using send keys to send the squence Alt W (a integer called 'index') Escape
This works:
This doesn't:
It works until it gets to the index variable. Is it possible to cast 'index' as a key?
so if index = 2
it would do keys.D2
This works:
VB.NET:
SendKeys.SendWait("%W" & index & "{ESCAPE}")
This doesn't:
VB.NET:
SendKeys.SendWait(Keys.Alt & Keys.W & index & Keys.Escape)
It works until it gets to the index variable. Is it possible to cast 'index' as a key?
so if index = 2
it would do keys.D2