Sign in to follow this  
Followers 0
ITSky8

How to move the object from x1,y1 to x2,y2?

8 posts in this topic

How to move the object from x1,y1 to x2,y2? Tried MouseClick, MouseDrag, MouseMove, cannot do that? How to do so?

Share this post


Link to post
Share on other sites



define "object"


---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Share this post


Link to post
Share on other sites

define "object"

What's your meaning by define the Object? I just want to use the Mouse to move an icon or window to a new location on the Desktop by defined timer. Why it is such complicated?

Share this post


Link to post
Share on other sites

What's your meaning by define the Object? I just want to use the Mouse to move an icon or window to a new location on the Desktop by defined timer. Why it is such complicated?

Maybe because an icon is an icon, and a window is a window? :D

"be smart, drink your wine"

Share this post


Link to post
Share on other sites

because for windows, there's a built in function to move then winmove() works well for windows.

i think for the icon you want to try MouseClickDrag()


---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Share this post


Link to post
Share on other sites

Does MouseClickDrag() stimulate the mousedown() while moving?

Share this post


Link to post
Share on other sites

Does MouseClickDrag() stimulate the mousedown() while moving?

This will move the icon in the upper lefthand corner of your screen to the middle of your desktop:

MouseClickDrag ("left", 27,27, @DesktopWidth / 2, @DesktopHeight / 2)

Share this post


Link to post
Share on other sites

Does MouseClickDrag() stimulate the mousedown() while moving?

aye

---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

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