Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- Gui,Add,ListView,w300 h400 x305 y0 vListView Checked hwndHLV , File Name|type|hoho|test
- LV_Insert(1,"+check","col1 text")
- LV_Insert(2,"+check","row2 col1 text")
- LV_Insert(3,"+check","row3 col1 text")
- LV_ModifyCol()
- Gui,Show
- global array := []
- i := 1
- RowNumber := 0
- RowNumber := LV_GetNext(RowNumber,"C") ; Resume the search at the row after that found by the previous iteration.
- LV_GetText(Text1, RowNumber,1)
- LV_GetText(Text2, RowNumber,2)
- LV_GetText(Text3, RowNumber,3)
- LV_GetText(Text4, RowNumber,4)
- RowNumber := 1
- loop,3
- {
- RowNumber := LV_GetNext(RowNumber,"C")
- LV_GetText(col__nr1,RowNumber,1)
- array[1,1] := col__nr1
- i++
- }
- ;}
- for index in array
- msgbox % array[index][1] " " array[index][2] " " array[index][3] " " array[index][4] "`n"
- return
- GuiClose:
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement