Jump to content
Sign in to follow this  
Rigo

Input array data wrongly

Recommended Posts

Rigo

Hello, I gets somehow from the input field only one number instead of that worth that therein stands.

That is the input field:

$inp_accountusername_connect = GUISetControl("input", $user, 120, 100, 150, 20)

And here it is to actually write the value into the Ini.

Case $msg = $btn_accountspeichern_connect
    IniWrite("evo.ini", "Account", "Username", $inp_accountusername_connect)

Why I get there no correct worth back. To me wrong does which I asks, but I am absolute beginner.

thx

Share this post


Link to post
Share on other sites
SlimShady

Hello, I gets somehow from the input field only one number instead of that worth that therein stands.

That is the input field:

$inp_accountusername_connect = GUISetControl("input", $user, 120, 100, 150, 20)

And here it is to actually write the value into the Ini.

Case $msg = $btn_accountspeichern_connect
    IniWrite("evo.ini", "Account", "Username", $inp_accountusername_connect)

Why I get there no correct worth back.  To me wrong does which I asks, but I am absolute beginner.

thx

You didn't show us the complete script.

So I'll try to give you a solution.

Case $msg = $btn_accountspeichern_connect
   IniWrite("evo.ini", "Account", "Username", GUIRead($inp_accountusername_connect))
Edited by SlimShady

Share this post


Link to post
Share on other sites
Jos

The $inp_accountusername_connect is the handle for this field.

After a guishow() and GUIMSG() you can read the value from the field by doing a:

GUIREAD($inp_accountusername_connect)

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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.