Sign in to follow this  
Followers 0
bella2000

WinMove fails

4 posts in this topic

Hi I'm having trouble using WinMove to move the windows XP built-in screen magnifier window. The window moves as expected but immediately returns to it's original position.

WinMove("Magnifier", "", 243,210, "200", "200",10)

It works fine with other windows, is there some some way to make magnifier behave the way I want?

Share this post


Link to post
Share on other sites



There is no option in "Magnifier Settings" to Dock the window. The very first time magnify.exe is run, it docks to the top of the screen. After that, it will remember it's last position and window size.

I can move the window by dragging it with the the mouse, and it will dock automatically if dragged to a edge of the screen. I always use it as a window and that is how it is desplayed at startup.

Share this post


Link to post
Share on other sites

This works:

$size = WinGetPos("Magnifier")
$size[0] = $size[0]+15
$size[1] = $size[1]+5
MouseClickDrag("left", $size[0], $size[1], 60, 70)
Exit

and the window stays in the new position. But WinMove would be better is I could stop the window snapping back.

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0