Sign in to follow this  
Followers 0

how controlsend to more than one application with same windows info!

2 posts in this topic

This is the first script I write in Autoit ... What I want this script do is just send a string to an application.

It works fine. Now I try to run the same application twice, how can I change this script to send this string to both application. Unfortunately both applications (actually one application, but run twice) have the same Title, Class, ControlID ...

If WinExists("Nordwin") Then

ControlSend("Nordwin", "", 3, "String")


I appreciate any help ....

Thank You

Active Windows Info


Press CTRL-ALT-F to freeze the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Nordwin

Class: MCSRT9

Size: X: 485 Y: 402 W: 644 H: 449

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 671 Y: 831

Cursor ID: 5

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xFFFFFF Dec: 16777215

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 16 Y: 407 W: 382 H: 31

Control ID: 3

ClassNameNN: MCSBOX1


Style: 0x54210044

ExStyle: 0x00000204

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<








>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<



Share this post

Link to post
Share on other sites

You have to use Winlist and Controlsend to the windows that match your title

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