fenchai wrote:When I search a code like "22020" it shows me all other rows that do not contain "22020" in the row until I press Space it works!
I don't think so, when I do that, typing the last 0 already shows me the results with only 22020 it, unless you type very fast. It updates the listview with each character you type no need to press space to activate the search. If it happens often: there is a line "If (A_TickCount - StartTime >
250)" reduce the 250 to 100 or 50 and see if that helps.
fenchai wrote:what is mute check/uncheck for?
I have some very large CSV files to search, searching can take a few seconds and when it is actually ready it plays a sound. If you don't like the sound you can turn it off by ticking the mute check box.
fenchai wrote:Also when searching and multiple rows show up I try to select 1 from the many but it only copies cell 1,1 which makes it a bit useless for my use. I am pretty sure you know how to do make it work to select from the 1st column
Do you mean with the above example code for Enter I gave? It works here but you must use the keyboard so use the UP/DOWN arrows to highlight a row, press enter and it should get the info from that row (column 1) as it uses "SelItem := LV_GetNext()", the "1" in the LV_GetText line below it means Column 1. So it should get 3,1 if you highlighted Row 3. Nothing happens if you select a line with the mouse first and then press Enter because of the "IfEqual, CurrCtrl, Edit1" - the focus needs to be on the "find text" edit control (where you type) - you can try to remove that if you don't like it.
fenchai wrote:Also, can I increase font size? I am pretty I can mess with the code later but just asking here to see
Above the Gui, Add, Listview insert a line like "Gui, Font,
s15, Arial" to increase the font size of the listview.
fenchai wrote:btw how about directly opening the .csv file instead of selecting it all the time?
You can use the command line options, create a batch file with "csv.ahk myfile.csv" for example and start it. What you can also do (which is what I've done) is associate CSV files with CSVQF.AHK (or you could give the files you want to use with CSVQF another extension, myfile.CQF for example, if you double click it windows will ask which program, select CSVQF.AHK and from then on it will launch it.