Jump to content

Recommended Posts

Posted

Hello!

This is a general question that I would love to get answered. I've been using Controlclick for various application, but some times I can't use it since there is not enough information about the controlID from the autoit spy tool. Some times the Control tab on the spy tool is just blank... Does that mean its a masked window? And is there a way to go around this?

 

So here is Usally how i use it:

$NameOfApplication =" X.X.X"

$ControlID = "X.X.X" ( I always use the advanced class as my controlid, maybe there is other controlid's i can use? and how?

$xCordinate

$yCordinate

 

Controlclick($NameOfApplication, "", "$ControlID", "left", 1 $xCoridnate, $yCordinate)

 

  • Moderators
Posted

The AutoIt Window Info Tool is not going to capture everything. Take a look at the IUIAutomation thread and the SimpleSpy tool in the examples forum. 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted
1 hour ago, JLogan3o13 said:

The AutoIt Window Info Tool is not going to capture everything. Take a look at the IUIAutomation thread and the SimpleSpy tool in the examples forum. 

Hello! I did download the Simlespy tool. I pressed CTRL + W and got quite some information. How can i pick out the "ControlID"?

Posted
1 hour ago, Jos said:

@Mandi, Any reason why you needed to create a new account? 

Jos

I prefer using this name insted. Maybe you can just change name? if so then you can delete this account.

  • Moderators
Posted

Regardless of the name you choose, my post in your last thread still stands - if you continue to ask questions and then not provide any information, expecting people to guess at what you're doing, you are going to receive any help.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

  • Developers
Posted
4 hours ago, Mandi said:

I prefer using this name insted. Maybe you can just change name? if so then you can delete this account.

Merged the 2 accounts and please next time just ask us to rename it.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
15 hours ago, Mandi said:

Hello! I did download the Simlespy tool. I pressed CTRL + W and got quite some information. How can i pick out the "ControlID"?

ControlID is not used in UI Automation code and normally you cannot get ControlID. ControlID is used in classic automation code.

If it's necessary to use UI Automation code to detect a control, then it's usually also necessary to use UI Automation code to automate the control. The control cannot be automated with classic code.

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
  • Recently Browsing   0 members

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