YuChan Posted January 16, 2021 Share Posted January 16, 2021 (edited) Hello, How to make for write this in one .ini file with for or while [CLAVIER] WRITE1=A WRITE2=B WRITE3=C WRITE4=D [END] Please help me. Edited January 16, 2021 by YuChan Link to comment Share on other sites More sharing options...
JockoDundee Posted January 16, 2021 Share Posted January 16, 2021 Maybe this?* For $n=1 To 4 $sKeyVal &= "WRITE" & $n & "=" & Chr($n+64) & @LF Next IniWriteSection("FILE.INI", "CLAVIER", $sKeyVal) IniWriteSection("FILE.INI", "END", "") *sans computer Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
YuChan Posted January 16, 2021 Author Share Posted January 16, 2021 (edited) Thx it's this. But for Letter it's not required to automate Thank you i try your code. EDIT : I have one sytem for register action for write in notepad, how to make loop and every typing register action (pressed key A B C ...) Edited January 16, 2021 by YuChan Link to comment Share on other sites More sharing options...
Developers Jos Posted January 16, 2021 Developers Share Posted January 16, 2021 (edited) 1 hour ago, YuChan said: how to make loop and every typing register action (pressed key A B C ...) @YuChan, Unfortunately the code you posted/requested is essentially a keylogger (and before you start I accept that is not what you intended, but that is what it was). Please read This Keyloggers Announcement before you post again and then you will understand why you will get no help and this thread will now be locked. Jos Edited January 16, 2021 by Jos FrancescoDiMuro 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts