Sorry for not posting any code but my program is very big.
I was hoping my description explained my problem enough to get a little help pointing me in the right direction.
Here is the action for my listview doubleclick
Code:
MyListView:
if A_GuiEvent = DoubleClick
{
LV_GetText(C1,A_EventInfo,1)
RN:=LV_GetNext("C")
RF:=LV_GetNext("F")
GC:=LV_GetCount()
;if txt file
gosub,LoadFile ;Open selected file into MainEdit
GuiControl, Choose, Systabcontrol321, 2 ; Change tab focus to tab 2
;if photo
run %C1% ;open in default photo viewer
}
return
LoadFile: ; Loads a selected file in the listview into the Clip Pad (MainEdit)
FileRead, FileToEdit, %C1%
GuiControlGet, Edit
GuiControl,,MainEdit, %MainEdit%`n%FileToEdit%
return
Any help appreciated with this. Just wondering if it can be done but my brain is frazzled so i may have to sleep on it or find an alternatve method?
Regards
Paul