TaranVH / 2nd-keyboard

ALL of Taran's scripts - not just for the 2nd keyboard.
https://www.youtube.com/watch?v=O6ERELse_QY
1.66k stars 534 forks source link

Send to clipboard the current playhead position (timecode) on the timeline? #63

Open becauseim opened 6 years ago

becauseim commented 6 years ago

Help in writing such a script on AHK please.

Matesaktesak commented 5 years ago

Ok, so first you have to do: prFocus("timeline") ; if you are using Tarans scripts

then mouse over to the position of the timecode box and click (I didn't found any other way...) so something like: MouseClick, L, x, y, 1, 0;

and then: SendInput, {Shift Down}{Shift Up} sleep 10 SendInput, {Ctrl Down}{c Down} ;

this is a MUCH more robust way of using the keyboard shortcuts to COPY, rather than just using "Send ^c" sleep 5 SendInput, {c Up}{Ctrl Up} sleep 20

And that should be all!

I'll attach the whole file

Matesaktesak commented 5 years ago

You will need to change the file's suffix to .ahk ... (github doesn't allow it) And you will need to edit the timecode box positions copy timecode.txt