Ahk + IniRead
Posted: 17 Mar 2018, 14:44
Good evening!
I have a small problem...
Test.ini
Test.ahk
The problem is the next:
When I write the correct name from Test.ini, the script need to create a .ini file with the written name.
I need to know next:
1. What I need to do to use Stefania or Cristina + other name if I add in Test.ini
2. I need, when I enter a name, to correspond with a name from Test.ini.
Sorry for my bad english, and thank you for your help and accorded time!
I have a small problem...
Test.ini
Code: Select all
[Users]
Stefania
Cristina
Code: Select all
IniRead, TestName, Test.ini, Users
inputbox, UserName, Enter a name:, What is your name?
if (UserName = TestName)
{
fileappend, [Username]`n%UserName%, %UserName%.ini
}
When I write the correct name from Test.ini, the script need to create a .ini file with the written name.
I need to know next:
1. What I need to do to use Stefania or Cristina + other name if I add in Test.ini
2. I need, when I enter a name, to correspond with a name from Test.ini.
Sorry for my bad english, and thank you for your help and accorded time!