Silence 0 Posted May 29, 2011 Mission: Cycle through all instances of Wow.exe - Send them the key "W" and "S". Why? To prevent my toons from going AFK - Camping a rare I've establised it's possible for me to get the PiD of all wow processes by using: ; Get all processes of Wow.exe $list = ProcessList("wow.exe") ; Do what I need to do for $i = 1 to $list[0][0] $wowInstancePid = $list[$i][1] next Via ControlSend you can send key's to a Window Title, but I'm having a bit of trouble regarding how I can send they keys when I only know the PiD? From what I read Controlsend needs the WindowID or sumthing? My first autoit program, don't kill me please! Share this post Link to post Share on other sites
Jos 2,278 Posted May 29, 2011 Mission: Cycle through all instances of Wow.exe - Send them the key "W" and "S". Wrong ! Mission is to read the Forum rules first which states something about this.*click* SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites