Christopher Blue Posted November 9, 2004 Share Posted November 9, 2004 How can I have one window lose focus without giving focus to another window, or rather give focus to the desktop or taskbar? Link to comment Share on other sites More sharing options...
this-is-me Posted November 9, 2004 Share Posted November 9, 2004 Explain why you need this, and we might be able to help you. Who else would I be? Link to comment Share on other sites More sharing options...
Christopher Blue Posted November 9, 2004 Author Share Posted November 9, 2004 Basically, I made a script that moves the Counter-Strike Source gamewindow offscreen to hide it (since it won't respond to @SW_HIDE). However if it still has focus when I do this then my cursor is trapped in the corner of the screen until I click my desktop. While this is a small inconvience it would be nice if I could refine my script to make CS:S lose focus then move off-screen. Link to comment Share on other sites More sharing options...
this-is-me Posted November 9, 2004 Share Posted November 9, 2004 Try WinActivate("Program Manager") to focus on the desktop. Who else would I be? Link to comment Share on other sites More sharing options...
Christopher Blue Posted November 9, 2004 Author Share Posted November 9, 2004 Thank you alot this-is-me! I have refined my script to both make CS:S lose focus on hide, and then regain focus on unhide. Link to comment Share on other sites More sharing options...
Guest Py7|-|[]/\/ Posted November 10, 2004 Share Posted November 10, 2004 (edited) I am being repetitive, I KNOW! But check out www.japsclan.com and look at the CS: S hacks on there. They have some nice coding!!! Someone even has an AutoIt aimbot up there... Although it is listed as "Detectable". Edited November 10, 2004 by Py7|-|[]/\/ 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