Autohotkey FileReadLine命令系列

Autohotkey FileReadLine命令系列,autohotkey,Autohotkey,在文件中搜索某些代码行。我的第一行脚本: FileReadLine, OutputVar, C:\Files\prog.txt, 1 If (OutputVar = "FileRead, OutputVar, C:\Files\prog1.txt") MsgBox Code line found else MsgBox Code line not found 如何在某些区域使用此方法进行搜索?从50到250、205到551等的行使用文件解析循环: 这完全是代码。但是如何修改我的

在文件中搜索某些代码行。我的第一行脚本:

FileReadLine, OutputVar, C:\Files\prog.txt, 1
If (OutputVar = "FileRead, OutputVar, C:\Files\prog1.txt")
    MsgBox Code line found
else
    MsgBox Code line not found
如何在某些区域使用此方法进行搜索?从50到250、205到551等的行使用文件解析循环:


这完全是代码。但是如何修改我的代码呢?对于更多其他方法和目的,请使用。
Loop, read, C:\Files\prog.txt
{
    If (A_LoopReadLine = "FileRead, OutputVar, C:\Files\prog1.txt") {
        MsgBox, An interesting code line was found.
    } Else If (A_LoopReadLine = "blablabla") {
        MsgBox, An interesting code line was found.
    } Else If (A_LoopReadLine = "some other text line") {
        MsgBox, An interesting code line was found.
    ;} Else {
    ;    MsgBox, Nothing important was found
    ;}

}