Nino Posted September 4, 2004 Share Posted September 4, 2004 Hello, i've been fooling around in AutoIt for quite some time lately in the past few days, but I cannot understand how to get the writeini command to work with @hour @min @sec to work correct. IniWrite("C:\test.ini", "time", "minute", "executed at:", @MIN) It's basicaly being used as a log as you can tell. Any help is greatly appreciated. Cheers, Nino Link to comment Share on other sites More sharing options...
ezzetabi Posted September 4, 2004 Share Posted September 4, 2004 & is the symbol of concatenate. To you different type of data you have to concatenate them. E.g. $variable & @macro & 'Set text' The comma instead separe (if outside ' ) the parameters of the functions. in your case the solution is: niWrite("C:\test.ini", "time", "minute", "executed at:" & @MIN) Please, to anyone that make the helpfile. Lets make this 'concatenate' stuff more clear. It happens too often that a newbie not understand this! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now