gammasts Posted December 26, 2004 Share Posted December 26, 2004 Ok here is the scenario: My clan has a halo dedicated server. The dedicated console looks like a command prompt. The title of it is Halo Console (1) I can script up a script that will send the text: sv_say "Test" to it. I compiled it to exe. I am a expert mIRC scripter so I know what I am doing for mIRC. I have mIRC run the exe on command of !eg haloce. If I remote into the server and am staring at the screen, and someone executes it remotely, it works fine. If I execute it locally it works fine. If I have remote minimized or closed it doesn't work. I have figured that it isn't mIRC and it does run the file, just nothing happens. WinActivate("Halo Console (1)") Send("sv_say ""Test""") Link to comment Share on other sites More sharing options...
DirtyBanditos Posted December 26, 2004 Share Posted December 26, 2004 (edited) Ok here is the scenario:My clan has a halo dedicated server. The dedicated console looks like a command prompt. The title of it is Halo Console (1)I can script up a script that will send the text: sv_say "Test" to it.I compiled it to exe. I am a expert mIRC scripter so I know what I am doing for mIRC. I have mIRC run the exe on command of !eg haloce.If I remote into the server and am staring at the screen, and someone executes it remotely, it works fine. If I execute it locally it works fine. If I have remote minimized or closed it doesn't work. I have figured that it isn't mIRC and it does run the file, just nothing happens.WinActivate("Halo Console (1)") Send("sv_say ""Test""")<{POST_SNAPBACK}>Hi This is a exampel from Larrys Scripwriter Download it and test self very easy and nice this tool i hope this help you Check this Link for Downloading http://www.autoitscript.com/autoit3/scite/...iTe4AutoIt3.exeOpt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)WinWait("Red Bull - Nachrichtensitzung","&Senden")If Not WinActive("Red Bull - Nachrichtensitzung","&Senden") Then WinActivate("Red Bull - Nachrichtensitzung","&Senden")WinWaitActive("Red Bull - Nachrichtensitzung","&Senden")Sleep(1000)Send("hello")Sleep(1000)Send("hello you") Edited December 26, 2004 by DirtyBanditos Link to comment Share on other sites More sharing options...
MHz Posted December 26, 2004 Share Posted December 26, 2004 This should check to see if the window is minimized, and restore it, if it is.$state = WinGetState("Halo Console (1)") If BitAND($state, 16) Then WinSetState("Halo Console (1)", "", @SW_RESTORE) WinActivate("Halo Console (1)") Send("sv_say ""Test""") Link to comment Share on other sites More sharing options...
gammasts Posted December 27, 2004 Author Share Posted December 27, 2004 Hmm, I implymented your script, but it is still a no go. It works fine when I am looking at it, but when I don't have a remote connection to the server nothing happens. I have also tried scriptit before this, and the same exact things happen. Any way I can send it to the hwnd? And, wtf is DirtyBanditos talking about? Link to comment Share on other sites More sharing options...
gammasts Posted March 13, 2005 Author Share Posted March 13, 2005 this is a bump cause this still doesn't work. maybe someone could try to figure out something, read the post carefully 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