![]() |
#1 |
Human being with feelings
Join Date: Jan 2018
Posts: 4
|
![]()
It would be handy to be able to copy all of the data from the big clock to the system clipboard. I often work on audio books where the script needs to be marked up with region names, time code etc. I have to type out what I currently see in the big clock
![]() I'd normally script this but I can't see any kind of API to interact with the data from the big clock either. Thanks! |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: Jul 2009
Posts: 8,247
|
![]()
Possible, partial workaround:
pressing ctrl/cmd+J should open the 'jump to' window with the current edit cursor time selected. also this script might be adapted to get markers, regions or different time format Script: X-Raym_Export markers as YouTube timecode for video description.lua Some way to automatically get some or all info from the big clock would be nice to have though
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
|
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Jan 2018
Posts: 4
|
![]()
Nice cheers for sharing these!
The X-Raym script had an API i couldn't find for formatting the cursor position so I made a wee script for getting the current time code at least: Code:
local playState = reaper.GetPlayState() local playPositionSeconds = 0.0 if (playState & 1 == 1) or (playState & 4 == 4) then playPositionSeconds = reaper.GetPlayPosition() else playPositionSeconds = reaper.GetCursorPosition() end local timeCode = reaper.format_timestr_pos(playPositionSeconds, "", 5) reaper.CF_SetClipboard(timeCode) |
![]() |
![]() |
![]() |
Thread Tools | |
|
|