address Posted February 19, 2012 Share Posted February 19, 2012 Help please I need mouse position to be remembered, then whatever, then mouse placed at remembered position, then sleep, then mouse position remembered again etc. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 19, 2012 Developers Share Posted February 19, 2012 Help pleaseI need mouse position to be remembered, then whatever, then mouse placed at remembered position, then sleep, then mouse position remembered again etc.Ok, and on which part do you have an AutoIt3 question? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
address Posted February 19, 2012 Author Share Posted February 19, 2012 Ok, and on which part do you have an AutoIt3 question?Sleep? Link to comment Share on other sites More sharing options...
bogQ Posted February 19, 2012 Share Posted February 19, 2012 and where is your code that show you`r try to achieve something? TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted February 19, 2012 Share Posted February 19, 2012 (edited) VariablesWhile...MouseGetPos; Do other stuff here.. CommentsMouseMoveSleep...WEnd Edited February 19, 2012 by somdcomputerguy koresho 1 - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
address Posted February 20, 2012 Author Share Posted February 20, 2012 Didn't workLocal $pos = MouseGetPos() Sleep(3000) ConsoleWrite($pos) MouseMove ($pos) Link to comment Share on other sites More sharing options...
somdcomputerguy Posted February 20, 2012 Share Posted February 20, 2012 (edited) MouseGetPos() returns an array. Try it this way: ConsoleWrite($pos[0] & " - " & $pos[1] & @LF) The help file is full of example code for just about all the native autoit functions. Edited February 20, 2012 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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