Sign in to follow this  
Followers 0
Silvinho

I need take the value of an inputbox

6 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Piano_Man

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0