Replies: 8 comments 14 replies
-
NVK is some ReaScript, right? Not sure how file dragging is done in ReaScript. Playtime supports file drag and drop from media explorer and normal file managers. I think ReaScript doesn't have real file dragging. E.g. the Gobal Sampler script is also not able to drag stuff to the file explorer (and therefore also not to Playtime). I will ask Justin what's necessary to receive ReaScript drags. |
Beta Was this translation helpful? Give feedback.
-
From the developer of NVK: **_Hi Stephen, For that to work, we'd probably both have to pass along some data to each other. There isn't a standard way to do this in Reaper. If you get in contact with the creator of Playtime and they are open to the idea, I'd be happy to work with them to add this feature. Cheers, Well he's certainly interested.._ Stephen |
Beta Was this translation helpful? Give feedback.
-
Here's a script you could have running to randomly set the state so you can test local file = 'FILEPATH_HERE'
function main()
r.DeleteExtState('nvk_CREATE', 'dnd_file', false)
if math.random() > 0.99 then
r.SetExtState('nvk_CREATE', 'dnd_file', file, false)
end
r.defer(main)
end
main() Then you could do something like this to accept and check for dnd function accept_dnd_file()
if r.HasExtState('nvk_CREATE', 'dnd_file') then
local file = r.GetExtState('nvk_CREATE', 'dnd_file')
r.DeleteExtState('nvk_CREATE', 'dnd_file', false) -- no other scripts can accept during the defer cycle
return file
end
end
if valid_dnd_bounds() then -- some kind of check that mouse in valid dnd location
r.SetExtState('nvk_CREATE', 'dnd_valid', '1', false) -- so I can change the cursor to show its a valid drop zone. I will clear this in my script once it's checked so no need to delete it (this will mean other scripts can access it without conflicts)
local file = accept_dnd_file()
if file and file ~= '' then
--handle file here
end
end |
Beta Was this translation helpful? Give feedback.
-
I don't expect miracles (and I'm sure you're both very busy), but I thought I'd see if there's any updates on this? thanks Stephen |
Beta Was this translation helpful? Give feedback.
-
Thought I'd see if there was any update on this |
Beta Was this translation helpful? Give feedback.
-
well hopefully soon |
Beta Was this translation helpful? Give feedback.
-
I will write here when there's an update. Working on new features is mostly paused until the final Playtime launch. |
Beta Was this translation helpful? Give feedback.
-
NVK.mov
So I'm wondering if I should talk to the developer of playtime, NVK, or both.
I'd like to be able to drag and drop from NVK_create into playtime, and it doesn't appear to
work.
Might there be an update for that functionality to work at some point?
thanks
Beta Was this translation helpful? Give feedback.
All reactions