Skip to content

Instantly share code, notes, and snippets.

Created July 17, 2013 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/6024543 to your computer and use it in GitHub Desktop.
Save anonymous/6024543 to your computer and use it in GitHub Desktop.
FileName := "default2.ahk"
FileRead, FileIn, %FileName%
Loop, Parse, FileIn, `n, `r
{
If (A_Index<2) || (A_Index>10)
Continue
If (A_LoopField = ) ; Test for "empty" line and skip it
Continue
lst .= A_LoopField "`r"
}
MsgBox, %lst%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment