Hi, I would like to know if it's possible to create script which will grab window and pull it to certain place on screen.
To be specific I would like to create such script for windows clipboard manager (Windows 11). When I press default hotkey combination the tool will appear in the right lower corner of the screen.
Because of my vision problems I have to grab this window and move it to the left.
WindowSpy don't recognize the app.
Is it possible to create script which will click left mouse button and move coursor to another place with left click still being hold till the "destination" place will be reached?
Script which will grab window and pull it to certain place on screen.
Re: Script which will grab window and pull it to certain place on screen.
Yep, it sounds like you wrote the documentation itself: MouseClickDrag
Clicks and holds the specified mouse button, moves the mouse to the destination coordinates, then releases the button.
Re: Script which will grab window and pull it to certain place on screen.
I've created this sript:
but it works only in Firefox, in other applications hotkey "^#V" does nothing.
Why?
Code: Select all
^#V::
MouseClickDrag, left, 1545, 537, 391, 171
Return
Why?
Re: Script which will grab window and pull it to certain place on screen.
By default, coordinates are relative to the active window. You can use CoordMode to change the point of reference.