newbie210 Posted February 14, 2010 Posted February 14, 2010 I have scripts that worked on Windows XP no longer work on Windows7. Scripts may work one time in 10. I functions that seem be be effected include: MouseClick MouseClickDrag MouseDown _WinAPI_Mouse_Event For example, the following code resizes a windows, by clicking and dragging the bottom corner : Opt("MustDeclareVars",1) dim $testTitle="some window title" dim $winPos = WinGetPos($testTitle) dim $newWidth = 710 MouseClickDrag ( "left",$winpos[0]+$winPos[2]-5,$winpos[1]+$winPos[3]-5, _ $winpos[0]+$newWidth-5,$winpos[1]+$winPos[3]-5) This works fine on my Win XP computer, but not on my Windows 7 computer. On the windows 7 computer you see the mouse move, but no 'clicking' is taking place. Is there some way I can work around this problem?
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