Sign in to follow this  
Followers 0
alawoona

Controlsend Problem

4 posts in this topic

I have a script with the following lines of code:

WinWaitActive ( "Import", "", 5 )

AutoItSetOption ( "SendKeyDelay", 75 )

ControlSend ( "Import", "", "Edit1", $file)

Send("{ENTER}")

The window "Import" is an open file dialog from an application the script is controlling.

Edit1 is the edit box where the file name is entered.

$file = "C:\data.lst" is the file name.

More often than not the file name is entered as C;\data.lst rather than C:\data.lst which really screws things up. Running Win XP

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

ControlSetText certainly solved the problem. Forgot to mention am using AutoIt 3.0.91

Edited by alawoona

Share this post


Link to post
Share on other sites

I think Jon solved this problem in the latest unstable version (BTW very stable)

For me the complete accentuated letter is missing (I am French as you may know).

Only éèàù is working. ëêîô don't.

I am sure other speaking language will add more ñò ...

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