layer Posted January 1, 2005 Posted January 1, 2005 (edited) hey guys... just messing around and i tried to make a script that recorded the positions of where your mouse is all the time... now im sure it can be done in dllcall but id like to know why this just returns 1 when it should be 2 arrays... While 1 $pos= MouseGetPos () FileWriteLine ("mousemove.txt", $pos[0] and $pos[1]) WEnd check the mousemove.txt on wherever this script is and youll see just a bunch of ones... why is this? EDIT: hmmm... i ran if for a few mins, scrolled down the 1's and saw a few 0's too! Edited January 1, 2005 by layer FootbaG
Developers Jos Posted January 1, 2005 Developers Posted January 1, 2005 This is wrong: $pos[0] and $pos[1] You probably want something like $pos[0] & "-" & $pos[1] 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.
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