16011988 Posted January 8, 2006 Share Posted January 8, 2006 HiI want to write a program that first starts a "InputBox" and then it writes the text, wich is beeing inserted at the InputBox, with the send function...does anybody know how I insert a variable in the Send funktion???Here the Script$answer = InputBox("text","text","","",-1,-1,0,0)sleep(1000)send(&$answer&)sleep(5000)exit 0 Link to comment Share on other sites More sharing options...
BigDod Posted January 8, 2006 Share Posted January 8, 2006 HiI want to write a program that first starts a "InputBox" and then it writes the text, wich is beeing inserted at the InputBox, with the send function...does anybody know how I insert a variable in the Send funktion???Here the Script$answer = InputBox("text","text","","",-1,-1,0,0)sleep(1000)send(&$answer&)sleep(5000)exit 0Should just be Send($answer) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted January 8, 2006 Share Posted January 8, 2006 bigdod wouldnt u need a guictrlread to read the input box? Link to comment Share on other sites More sharing options...
16011988 Posted January 8, 2006 Author Share Posted January 8, 2006 bigdod wouldnt u need a guictrlread to read the input box?Whats a "guictrlread"???????Sorry I started yesturday to learn the language... Link to comment Share on other sites More sharing options...
BigDod Posted January 8, 2006 Share Posted January 8, 2006 bigdod wouldnt u need a guictrlread to read the input box?No InputBox does not need it, see below $answer = InputBox("text","text","","",-1,-1,0,0) sleep(1000) MsgBox(0,"answer",$answer) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
16011988 Posted January 8, 2006 Author Share Posted January 8, 2006 Should just be Send($answer)Hey Thanks BigDog it works now I din't thought that it is so easy 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