Sign in to follow this  
Followers 0
Cyote101

Move Mouse Up 50 Pixils

5 posts in this topic

Hello, I have a spreadsheet, with a button that will run this script, I'm trying to come up will a code that will move the mouse position up about 50 pixils and then rightclick and do the following

WinActivate("TPS REPORT","")

Here is were i would like to put the mouse move code.

Send("p")

Send("l")

Send("P")

thanks

Share this post


Link to post
Share on other sites



look at the helpfile

mousemove

mouseclick

Thank you, I have looked at the file and I Also looked at MouseCoordMode, but I'm new to this and I don't know how exactly do it

Thanks

Share this post


Link to post
Share on other sites

$pos = MouseGetPos()

MouseMove($pos[0], $pos[1] - 50)

Share this post


Link to post
Share on other sites

Thanks,

Just what i needed

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