MARAN Posted May 6, 2009 Share Posted May 6, 2009 I have an question about Key Send... How can I send some keystrokes to a minimized window which haven't controls? Like a game... Pregratz. [center][size="4"]MARAN came from a place many miles away from yours...[/size][/center] Link to comment Share on other sites More sharing options...
MuffettsMan Posted May 6, 2009 Share Posted May 6, 2009 look into the windows HWID handle - i do this in world of warcraft on the fly with this function: expandcollapse popupFunc RediscoverHWND() ; Attempt to rediscover existing wow clients (used to reconnect to already established windows instead of restarting everything) WinActivate("My Server (IP: ") GUICtrlSetData($edit, "Activate the WoW2 (First) Client" & @CRLF & GUICtrlRead($edit)) WinWaitActive("World of Warcraft") $WoWClient2 = WinList ("World of Warcraft") WinActivate("My Server (IP: ") GUICtrlSetData($edit, "Activate the WoW3 (Second) Client" & @CRLF & GUICtrlRead($edit)) WinWaitActive("World of Warcraft") $WoWClient3 = WinList ("World of Warcraft") WinActivate("My Server (IP: ") GUICtrlSetData($edit, "Activate the WoW4 (Third) Client" & @CRLF & GUICtrlRead($edit)) WinWaitActive("World of Warcraft") $WoWClient4 = WinList ("World of Warcraft") WinActivate("My Server (IP: ") GUICtrlSetData($edit, "Activate the WoW5 (Fourth) Client" & @CRLF & GUICtrlRead($edit)) WinWaitActive("World of Warcraft") $WoWClient5 = WinList ("World of Warcraft") EndFuncoÝ÷ ÚØ^;¬µÊ'¶º%±éݶr¢)¢ÍçߡˬyÜ"Ú0jÇèZ0±«¢+Ø$% ÍÅÕ½ÐíÉ¥¹¬ÅÕ½ÐììÀ-ä($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÉlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1P½Ý¹ôÅÕ½Ðì¤($$$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÉlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÉlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1PUÁôÅÕ½Ðì¤(($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÍlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1P½Ý¹ôÅÕ½Ðì¤($$$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÍlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÍlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1PUÁôÅÕ½Ðì¤(($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÑlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1P½Ý¹ôÅÕ½Ðì¤($$$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÑlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÑlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1PUÁôÅÕ½Ðì¤(($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÕlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1P½Ý¹ôÅÕ½Ðì¤($$$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÕlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐíÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÕlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½Ðíí1PUÁôÅÕ½Ðì¤(($% ÍÅÕ½ÐìÀÅÕ½ÐììÀ-ä($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÉlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÀÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÍlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÀÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÑlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÀÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÕlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÀÅÕ½Ðì¤($% ÍÅÕ½ÐìÄÅÕ½ÐììÄ-ä($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÉlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÄÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÍlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÄÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÑlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÄÅÕ½Ðì¤($$% ½¹Ñɽ±M¹ ÀÌØí]½] ±¥¹ÐÕlÅulÅt°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÅÕ½ÐìÄÅÕ½Ðì¤ hope this helps! (and yes i'm multiboxing - i have my keystrokes being sent to four other game clients) Don't let that status fool you, I am no advanced memeber! Link to comment Share on other sites More sharing options...
MARAN Posted May 10, 2009 Author Share Posted May 10, 2009 In your script, $edit = ? [center][size="4"]MARAN came from a place many miles away from yours...[/size][/center] Link to comment Share on other sites More sharing options...
Qousio Posted May 10, 2009 Share Posted May 10, 2009 In your script, $edit = ?In his script $edit is a ControlID. 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