Jump to content

Recommended Posts

Posted

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.

Posted

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]

Posted

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

then show me 1 :)

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

TY.

Posted

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.

Posted

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]

Posted

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.

Posted

just use the x y coords

ControlClick("Untitled -", "", "Edit1", "right", 1, 50, 20)
C:\Program Files\AutoIt3\Examplesmy\zzz2.au3 (12) : ==> Incorrect number of parameters in function call.:

:) if it works on u, then maybe my auoto it isnt up to date?

TY.

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
×
×
  • Create New...