Jump to content

Could I handle a lot of Controllers on a program?


jangiloh
 Share

Go to solution Solved by jangiloh,

Recommended Posts

What is the program?

 

Hello 
 
the program is not open program. 
 
the program based on .net 4.0 framework.
 
I run the sample autoit script.
I can see the activated program by autoit.
although I would like to send a message to a text box controller and send a event to other controller , I can't do.
because I don't know I can access a controller of a program by which function.
 
my script for example
I would like to make a login script for a program
 
the script work like below.
1. autoit run the program.
2. autoit check the program activated
3. autoit send id to A text box controller.
4. autoit send password to B text box controller.
5. autoit send event to C Button Controller.
 
Step 1 :I can run the program by Manually. It's OK.
Step 2 :I already checked
Step 3 :I don't know how to focus to the A controller and send the ID message.
 
Could you help me?
Link to comment
Share on other sites

In general case the forum do not giving a lot of help without a view of your program

Can you provide us screenshot or more info ?

 

You can also check in the helpfile in the index : "control"

and you will learn how to work with controls

Edited by caramen

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

.Net programs can be problematic, and these type of guessing threads are many.

Since this is a secret app, the onus is on you to try code, and post it along with the results.

First off "Step 3 :I don't know how to focus to the A controller and send the ID message"

Look at ControlSetText in help file and try it.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

  • Solution

.Net programs can be problematic, and these type of guessing threads are many.

Since this is a secret app, the onus is on you to try code, and post it along with the results.

First off "Step 3 :I don't know how to focus to the A controller and send the ID message"

Look at ControlSetText in help file and try it.

 

Thank you for your reply.

I will try to do the function.

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...