Jump to content
Sign in to follow this  
heryisme

Input, in InputBox use Send command

Recommended Posts

heryisme

Send("{CTRLDOWN}")

Send("{C}")

Send("{CTRLUP}")

Sleep(50)

$1=InputBox("On Hand", "Avaliabel On Hand")

Send("{CTRLDOWN}")

Send("{V}")

Send("{CTRLUP}")

;I want to save a Value from variable $1 in script, so I can use it later

;Returns the string that was entered

;Thanks for the Answer

Share this post


Link to post
Share on other sites
heryisme

Please Help me,

I Want to know the Solution,

I Have report this as A bug,

But He said this is not a bug(no ticket is #44)

So ,plese help me,

Thanks

Share this post


Link to post
Share on other sites
SteveO

Send("{CTRLDOWN}")

Send("{C}")

Send("{CTRLUP}")

Sleep(50)

$1=InputBox("On Hand", "Avaliabel On Hand")

Send("{CTRLDOWN}")

Send("{V}")

Send("{CTRLUP}")

;I want to save a Value from variable $1 in script, so I can use it later

;Returns the string that was entered

;Thanks for the Answer

Use GUICtrlRead to read the Input Box.

$1 = GUICtrlRead($Input1)

Share this post


Link to post
Share on other sites
heryisme

Use GUICtrlRead to read the Input Box.

$1 = GUICtrlRead($Input1)
Thankyou for your Answer,

But, what I mean It's Simple,

I just copying a number from another program,

and I wanna insert that number into 'inputbox'

automatically,

fyi,this number used to moving on

Thank for the Answer

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.