mikeyww wrote: ↑11 Jan 2023, 08:07
Just a different idea for selecting the individual time.
Thank you for the reply ,
how ever what i am trying to do is actually a little different.
when i double click any where on the the time stamp it should copy it to clip board.
lets say if i click on timestamp 1 , it should only copy timestamp 1.
similarly if i click on timestamp 2 , it should only copy timestamp 2.
etc
this is what i came up with so far,
Code: Select all
^LButton::
if (A_PriorHotkey <> A_ThisHotkey Or A_TimeSincePriorHotkey > 400)
Return
Click
SendInput, {Shift Down}
loop,5
SendInput, {left}{Ctrl Down}{right}+{left}{Ctrl Up}
SendInput, {Shift up}
SendInput, {left}
SendInput, {Shift Down}
loop,5
SendInput, {right}{Ctrl Down}{left}+{right}{Ctrl Up}
SendInput, {Shift up}
lipbackup := ClipboardAll
Clipboard := ""
Send, ^c
ClipWait, 1, 1
hhmmss := Clipboard
RegExMatch(hhmmss, "(h*\d{1,2}(?:\.|:)\d{1,2}(?:\.|:)\d{1,2})|(h*\d{1,2}(?:\.|:)\d{1,2})",hhmmss)
return
but its slow in action
i think i will have to grab full line to clipboard then iterate each time stamp on a single line and based on my mouse position return desired time stamp ( something like that )