Silvinho Posted February 15, 2008 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
Achilles Posted February 15, 2008 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]
Silvinho Posted February 15, 2008 Author 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
Silvinho Posted February 18, 2008 Author 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
BigDod Posted February 18, 2008 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
Silvinho Posted February 19, 2008 Author 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
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