Demonic Posted September 3, 2007 Posted September 3, 2007 Hey guys. How would I be able to include in the script so that a specific mouse click would be done by a invisible click? What I mean by this is I want the pointer of the mouse to stay where it is (wherever i have it at the time), but I want something clicked at the same time. I want the full control of the mouse while something else clicks on a object. Any help?
Thatsgreat2345 Posted September 3, 2007 Posted September 3, 2007 I'm not sure if it is possible, but if you said what your clicking maybe we could help you with clicking that with out using the mouse.
Demonic Posted September 3, 2007 Author Posted September 3, 2007 Im trying to click something that is found via the pixel detection in my script. Essentially, at the click of a key it goes to find the pixel and then double clicks it. However, when it double clicks it, the mouse moves with it which is annoying. I've seen some programs where it clicks the object but does not move my mouse. Any more light to shed on the problem?
Thatsgreat2345 Posted September 3, 2007 Posted September 3, 2007 What is it clicking would really help dude. Just because its going via pixel detection, is it for a game then?
Demonic Posted September 3, 2007 Author Posted September 3, 2007 Yeah, its clicking the x,y of the pixel
weaponx Posted September 3, 2007 Posted September 3, 2007 Just store the mouse current position before thbe click is performed, then restore the position after.
Nahuel Posted September 3, 2007 Posted September 3, 2007 (edited) Why not use ShellExecute("filename","","","Open/Run/edit/whatever")? -edit- Ah, never mind. Edited September 3, 2007 by Nahuel
Demonic Posted September 3, 2007 Author Posted September 3, 2007 weaponx, thats actually in the code currently, but if I have it clicking that pixel x, y for a elongated period of time then thats still lack of mouse use for my own clicking on other parts of the screen.
Thatsgreat2345 Posted September 3, 2007 Posted September 3, 2007 If it is a game there is not anything that your going to be able to do except move the mouse there and then move it back, if it isn't a game then you have a potential of using other means of clicking it.
Thatsgreat2345 Posted September 3, 2007 Posted September 3, 2007 I'm not sure if there are any DLLs that could do this there might be but I'm not sure, I do remember someone wanting to do this awhile back but i don't know if they ever got it done.
Thatsgreat2345 Posted September 3, 2007 Posted September 3, 2007 Just because someone else hasn't done it doesn't mean anything. Do some research, google around and if you find a DLL then try using it.
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