i have a text file like:
192.168.1.13
192.168.1.14
192.168.1.15
192.168.1.16
i use the example to filereadline , but not work
can someone tell me what problem with below example script
filename := "C:\Users\user.user-PC\Desktop\ip.txt"
Loop
{
FileReadLine, line, %filename% , %A_Index%
if ErrorLevel
break
MsgBox, 4, , Line #%A_Index% is "%line%". Continue?
IfMsgBox, No
return
}
MsgBox, The end of the file has been reached or there was a problem.
return
filereadline not work please help
-
- Posts: 26
- Joined: 23 Dec 2018, 00:40
Re: filereadline not work please help
dont use loop+filereadline
use fileread+loopparse(on newlines)
use fileread+loopparse(on newlines)
-
- Posts: 26
- Joined: 23 Dec 2018, 00:40
Re: filereadline not work please help
https wyagd001.github.io /zh-cn/docs/commands/FileReadLine.htm Broken Link for safety
uh...........so it look like the document example have bug
thanks
uh...........so it look like the document example have bug
thanks
Who is online
Users browsing this forum: Bing [Bot], peter_ahk and 328 guests