Haha. I'm sure there are hundreds of other threads about this but I failed to find one addressing my problem. I just started using AutoIt and I tried to make a program that sends commands to WoW. My code:
Sleep(5000)
ControlSend("World of Warcraft", "{TAB}")
Very simple. I press F5, switch to WoW and wait 5 seconds....... nothing happens.Pressing tab should target the nearest enemy. I looked up the problem and read somewhere that programs like WoW had to be sent key presses in some special way; you couldn't just use Send() or ControlSend(). However the article failed to mention a remedy. So my question is: "What is the special procedure/function I need to use to be able to send key presses to WoW?". Thank you very much!