rush4hire Posted March 3, 2007 Share Posted March 3, 2007 I'm playing Pac-Man and suddenly I lose control and die. It's because of the autoit program running in the background. The window I was playing the game in is no longer selected, but the window ControlSend was sending to.I'm not making any money for the projects I do, but I don't want people that use my programs to experience these things.I guess this is more of a complaint. Maybe I need to figure out a way to get the control and window that's currently selected so I can quickly switch the focus back after ControlSend does it's thing.It would be lovely if anyone who knows of an example of this could just point me to it Meanwhile I'll look.Thanks so much Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Shevilie Posted March 3, 2007 Share Posted March 3, 2007 The ControlSend function is broken as far as I know, download an earlyer version or wait for the next beta Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit Link to comment Share on other sites More sharing options...
rush4hire Posted March 3, 2007 Author Share Posted March 3, 2007 Ok, I think I got it. Instead of Func pushbut ($e) ControlSend ( $sdpwin, "", "TToolBar1", "!"&$e ) EndFuncoÝ÷ Øè¯y«¢+ÙÕ¹ÁÕÍ¡ÕÐ ÀÌØí¤(ÀÌØíѥѱô]¥¹ÑQ¥Ñ± ÅÕ½ÐìÅÕ½Ðì¤(ÀÌØíÐô ½¹Ñɽ±Ñ½ÕÌ ÀÌØíѥѱ¤) ½¹Ñɽ±M¹ ÀÌØíÍÁÝ¥¸°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíQQ½½± ÈÄÅÕ½Ðì°ÅÕ½ÐìÌÌìÅÕ½ÐìµÀìÀÌØí¤)]¥¹Ñ¥ÙÑ ÀÌØíѥѱ¤) ½¹Ñɽ±½ÕÌ ÀÌØíѥѱ°ÅÕ½ÐìÅÕ½Ðì°ÀÌØíФ)¹Õ¹And it seems to bring me back to where I was before the ControlSend. OK, thanks everyone Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now