Jump to content

mouse clicking without MouseClick


Recommended Posts

hi, lets say i wantto click on the screen at 500,500 position

MouseClick("left", 500, 500, 1, 0) for instant

MouseClick("left", 500, 500, 1, 1) for fastest

if the mouse was at 100,100 position, after this commant mouse will move on to 500,500

now i wonder how can i click at 500,500 without using MouseClick...

plz dont say, after u complete it, MouseMove(100, 100, 0)

tnx for answering

TY.

Link to comment
Share on other sites

now i wonder how can i click at 500,500 without using MouseClick...

check help file it realy has alot of valuable info :)

[quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]

Link to comment
Share on other sites

then show me 1 :)

to gafrost thank you but i cant click at 500,500 using that command -.-

I suspect you can't get the control Id and your trying to click on some game coord without showing the mouse movement. Good Luck.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

ControlClick ( "title", "text", controlID [, button] [, clicks]] )

ControlClick("Untitled -", "", "MDIClient1")

how can i get the controlID?

and may i bother u if i want a mini example with ControlClick? :)

TY.

Link to comment
Share on other sites

ControlClick ( "title", "text", controlID [, button] [, clicks]] )

ControlClick("Untitled -", "", "MDIClient1")

how can i get the controlID?

and may i bother u if i want a mini example with ControlClick? :)

Use AutoIt Window Info to get the control ID

Support bacteria; it's the only culture most people have.LxP's Learning to Script with AutoIt 3 - Excellent starting placeVolly's Links Page - Links to cool and useful scriptsAutoIt Wrappers - Valuater's AutoIt Wrappers post. Lots of good stuff.Support AutoIt - Make a donation here; I did.[size="2"]#include <Guinness.pint>[/size]

Link to comment
Share on other sites

controlID is generally Edit1 right?

btw; if i run notepad.exe and say

ControlClick("Untitled -", "", "Edit1", "right")

then it right clicks on the center of notepad window, and puts it on top. thats ok

Posted Image

if i move (drag) the notepad window to the other side on the screen, again center of the window

Posted Image

it always clicks on the center of the window? or can i do the click operaion on a specific point?

TY.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...