newbie210 Posted February 14, 2010 Share 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+$winPos-5,$winpos+$winPos-5, _ $winpos+$newWidth-5,$winpos+$winPos-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? Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now