Paton Posted June 24, 2005 Posted June 24, 2005 I was using some older version of AutoIt for quite some time and switched to 3.1 like 6-7 weeks ago. I like the new GUI and got some questions about it and about the Send command. 1. The Send command does send text to slow I made a simple script like: Send("hello{ENTER}") Sleep(2000) Send("test test{ENTER}") Sleep(2000) Send("test test test{ENTER}") I let this run for example in notepad window and the String gets sent to slow, letter by letter.. I even have set SendKeyDelay to 1, but it didnt help. I want that each line gets sent instantly quick. Is there a way to achieve this ? 2. GUIs: Can i run a GUI, active another window, run a script there and reopen the GUI ? 3. GUIs: Can I run a GUI and keep it on the top, while i active another window and let a script run there ? 4. If 2. and 3. is possible, could someone point me to the right functions to use for that ? I will find out myself how to do it Thanks for all the help in advance.
buzz44 Posted June 24, 2005 Posted June 24, 2005 (edited) A1. Put the string into the clip board first .ClipPut("hello") Send(ClipGet() & "{ENTER}") Sleep(2000) ClipPut("test test") Send(ClipGet() & "{ENTER}") Sleep(2000) ClipPut("test test test") Send(ClipGet() & "{ENTER}")A2& 3. Not sure what you meant but mabye trying look and WinActive() > Win Activate() > GUISetState().A4. Above. Edited June 24, 2005 by Burrup qq
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now