Nino 0 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 Share this post Link to post Share on other sites
ezzetabi 3 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! Share this post Link to post Share on other sites