Jump to content

Recommended Posts

Posted (edited)

Hi i'm working on a Simple AutoLogin Program But I get stucked in the beginning. I've did the ini and I want to read it. I know there's the Iniread(...) command but how can i use the Filename + the @ScriptDir func? In my case:

$1 = IniRead(@ScriptDir "\Logindatas.ini", "Filling infos", "Username", "No Username")
MsgBox(4096, "Result", $1)

How can i solve it? There's any problem with the FIle path but I doN'T know how to do it well ;)

(I uploaded the ini File)

Thanks

Edited by Unc3nZureD
Posted (edited)

oooh, thanks i try

Dont Know why it say No username. (cant read the data)

and i forget the ini ;)

[can't upload so the simple contain of it:]

[Filling infos]

Username=The Name

Password=The Password

Edited by Unc3nZureD
Posted

Not sure...try changing IniRead to IniWrite as a test and see if the INI file is changed?

And as good practice, and maybe even might be a requirement, remove the space from [Filling Infos] and just make it [FillingInfos] or something without spaces.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...