Sign in to follow this  
Followers 0
Rigo

Input array data wrongly

4 posts in this topic

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



#2 ·  Posted (edited)

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

#3 ·  Posted (edited)

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                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

thx !!!

mfg Rigo

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