Jump to content
Sign in to follow this  
Nevalopo

MouseMove inside Application?

Recommended Posts

Nevalopo

Kinda like title says.. Is it possible to use MouseMove like ControlSend? Right now im using

MouseClick("left", 651, 76)

Is it possible to do this without having the Application open?

Thanks in advance

Share this post


Link to post
Share on other sites
somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Nevalopo

How do i find out the control id? Is it like.. The id for mouse or something? :/

Share this post


Link to post
Share on other sites
Nevalopo

Ok thanks.. So it should look something like this?

ControlClick ( "SSSS", "SSSS", [iD:15] [, left [, 1 [, 651 [, 76 ]]]] )

Edit:

I get this error when i start it

ControlClick ( "SSSS", "SSSS", [iD:15] [, left [, 1 [, 651 [, 76 ]]]] )

ControlClick ( "SSSS", "SSSS", [iD^ ERROR

Edit2: I don't understand.. I can't seem to get the Control Id correct.. What if i want to click in the center of Notepad while having it minimized?

Edited by Nevalopo

Share this post


Link to post
Share on other sites
somdcomputerguy

Take out the square brackets.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Nevalopo

Take out the square brackets.

all of them or just some? Mind giving me an example?

Should it be like this?

ControlClick ( "SSSS", "SSSS", ID:15 , left , 1 , 651 , 76 )

Or this?

ControlClick ( "SSSS", "SSSS", ID:15 [, left [, 1 [, 651 [, 76 ]]]] )

Or maybe this? :blink:

ControlClick ( "SSSS", "SSSS", "ID:15" [, "left" [, 1 [, 651 [, 76 ]]]] )

Share this post


Link to post
Share on other sites
somdcomputerguy

Ok thanks.. So it should look something like this?

ControlClick ( "SSSS", "SSSS", [iD:15] [, left [, 1 [, 651 [, 76 ]]]] )

No, probably like this: ControlClick("SSSS", "SSSS", "15", "left", 1, 651, 76)

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Nevalopo

No, probably like this: ControlClick("SSSS", "SSSS", "15", "left", 1, 651, 76)

Hmm.. never left clicks on 651 76 :/

Share this post


Link to post
Share on other sites
somdcomputerguy

Sorry, I might have gotten the syntax wrong this time, try this, ControlClick("SSSS", "SSSS", 15, "left", 1, 651, 76)


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
Nevalopo

Sorry, I might have gotten the syntax wrong this time, try this, ControlClick("SSSS", "SSSS", 15, "left", 1, 651, 76)

Hmm.. Still doesnt seem to click

ControlSend("SSSS", "", "", "{F4}")

Sleep(200)

ControlClick("SSSS", "SSSS", 15, "left", 1, 651, 76)

Sleep(200)

I am using this.. It clicks F4 but doesnt click in the middle of notepad~~

Share this post


Link to post
Share on other sites
Nevalopo

Bump. Still could use some help here :blink:

Share this post


Link to post
Share on other sites
Nevalopo

Bump agian! need help to click f4 and click inside notepad in the middle basically.. without having the window open

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  

×