Silvinho Posted February 15, 2008 Share Posted February 15, 2008 I need take the value of an inputbox, store in a variable and to type the value of this variable in a field. I need an example, who could help? thanks Link to comment Share on other sites More sharing options...
Achilles Posted February 15, 2008 Share Posted February 15, 2008 (edited) $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") WinActivate("Title of the program you want text sent to.") Send($temp);Type what was put in the inputbox Edited February 15, 2008 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Silvinho Posted February 15, 2008 Author Share Posted February 15, 2008 thank you X 100000000000....rs $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") WinActivate("Title of the program you want text sent to.") Send($temp);Type what was put in the inputbox Link to comment Share on other sites More sharing options...
Silvinho Posted February 18, 2008 Author Share Posted February 18, 2008 It does not function. You already it tried to make this? $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") WinActivate("Title of the program you want text sent to.") Send($temp);Type what was put in the inputbox Link to comment Share on other sites More sharing options...
BigDod Posted February 18, 2008 Share Posted February 18, 2008 This works $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") Run("Notepad.exe", "", @SW_MAXIMIZE) WinWaitActive("Untitled") Send($temp);Type what was put in the inputbox 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...
Silvinho Posted February 19, 2008 Author Share Posted February 19, 2008 Because do it to when type a value in the inputbox this value is inserted in my source code? thank $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") Send($temp) MsgBox(4096, "Test",$temp,1) 38641 ---->This value was inserted This works $temp = Inputbox("Input Box Text", "Enter text you want to be typed...") Run("Notepad.exe", "", @SW_MAXIMIZE) WinWaitActive("Untitled") Send($temp);Type what was put in the inputbox 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