Sign in to follow this  
Followers 0
Zibit

Need Help with ControlClick

5 posts in this topic

k... my program doesnt controlclick.... need help... :D ive been messing around with it for day's...

Opt("MouseCoordMode", 0)
WinSetState("Test", "", @SW_HIDE)
WinActivate("Test")
sleep(500)
ControlClick("Test", "", "[X:50; Y:50;]")
WinSetState("Test", "", @SW_SHOW)

Share this post


Link to post
Share on other sites



I've never seen a control named [X:50; Y:50] before, you sure you got that part right?


For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com

Share this post


Link to post
Share on other sites

ID - The internal control ID. The Control ID is the internal numeric identifier that windows gives to each control. It is generally the best method of identifying controls. In addition to the AutoIt Window Info Tool, other applications such as screenreaders for the blind and Microsoft tools/APIs may allow you to get this Control ID 
TEXT - The text on a control, for example "&Next" on a button 
CLASS - The internal control classname such as "Edit" or "Button" 
CLASSNN - The ClassnameNN value as used in previous versions of AutoIt, such as "Edit1" 
NAME - The internal .NET Framework WinForms name (if available) 
REGEXPCLASS - Control classname using a regular expression 
X \ Y \ W \ H - The position and size of a control. 
INSTANCE - The 1-based instance when all given properties match.

well it doesnt matter how i do it it just has to be done hidden...

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