moe987 Posted November 27, 2007 Share Posted November 27, 2007 (edited) First of all, to get things straight.. im pretty much a newb wen it comes to autoit, so don't criticize me if you think this question is retarded lol: Does anyone know how to send text or command to an inputbox, i mean such as Inputbox("Example","Enter _____") Send("a{enter}") or anything. Everytime i try to do it, it wouldn't send anything, but once i press ok then it sends the commands, any suggestions? Edited November 27, 2007 by moe987 Link to comment Share on other sites More sharing options...
MerkurAlex Posted November 27, 2007 Share Posted November 27, 2007 First of all, to get things straight.. im pretty much a newb wen it comes to autoit, so don't criticize me if you think this question is retarded lol: Does anyone know how to send text or command to an inputbox, i mean such as Inputbox("Example","Enter _____") Send("a{enter}") or anything. Everytime i try to do it, it wouldn't send anything, but once i press ok then it sends the commands, any suggestions?Well tell me why you want to do this and maybe i can come up with a better way to do it. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
zfisherdrums Posted November 27, 2007 Share Posted November 27, 2007 Hello moe987, First, welcome to the forums! Second, the reason why it won't send info is because the script is paused while the InputBox exists. When you click 'OK', the dialog disappears and the script resumes. One workaround is to place the InputBox in a separate script. Then run a separate script that interacts with it. Zach... Identify .NET controls by their design time namesLazyReader© could have read all this for you. Unit Testing for AutoItFolder WatcherWord Doc ComparisonThis here blog... Link to comment Share on other sites More sharing options...
JustinReno Posted November 27, 2007 Share Posted November 27, 2007 Why not just set the Inputbox data with what you want to send? I don't get it. Link to comment Share on other sites More sharing options...
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