Hum. Noob question, but it is to be sure : Can we convert an action from the SWS extensions into an EEL script ? or maybe the synthax is way too different, or they can't call the same function ? Thanks for listening !
---------- not every needs wings. 1991 525iA .. alpine white .. clear corners .. kenwood 7011cd receiver
You could probably rewrite some of the SWS actions in EEL as the source code is available, but definitely not all of them -there are things that you can do in the compiled languages (flavours of C, I presume) that aren't covered in EEL, and I'm led to believe that these actions have greater access to the REAPER API than EEL does in its restricted sandbox. That's not to say that you can't achieve complex things in EEL, but it is a simple scripting language. Was there something specific you were asking for? Did you want to take a specific action to pieces in EEL to change it? >
@planetnine Thank you for the answer ! Yes, there is two actions I want to tweak since a long time, and because I just succeed to mod my firsts EEL few days ago, I was confident about that. The fact is, that this is two different thing, but I wanted to tried anyway and I write a custom version of an action. Then I found that I needed to compile the whole thing to test it and for some reason, I can't install Microsoft Visual Studio Express 2013 Update 4 on my computer. So I thought "Maybe I can go back to EEL". EEL are easy to install and easily customizable ! I tried some rough conversion (not working), I did a bit of research, and then I asked my question :P But you confirmed what I thought (but was note sure). My action involves regions and SWS notes, and I didn't find anything about that in the Reaper Script API. EEL and C++ are not interchangeable (at least, not for every actions). Well, I guess I have to install Visual Studio on someone's else computer. :P
You can read and write to regions and markers quite easily with EEL. Do you want regions to be associated with a particular file or section of data? I've probably covered a chunk of that work already reading and writing data from markers (have a look at the Item Marker Tool in my sig). Let me know a little more of what is needed and the data structure and where it comes from in this auto-naming task and I'll see if I can help. >
@Banned That's make sense now. I'm on ! @planetnine I am pretty impressed by your Item Marker tool ! Are EEL capable of getting Regions Subtitles ? Thank you both of you for your help ! :)
It could possibly be done if we can get an SWS action to load up a marker/region set, I don't think I can call up or retrieve a set from the manager with an action or with EEL. If this was possible, it is easy to delete all currently shown markers and/or regions, so a compound action could be made where all regions are deleted and a particular set retrieved, eg: "delete all regions" & "Retrieve set 1", or "delete all regions" & "retrieve set 2". This would also help a requirement from user "GSun" too, he wants the same, but with marker sets. Can we maybe ask Breeder if it's possible to produce a "Retrieve named marker/region set" SWS action where the slots for retrieving names can be stored in the user configuration dialogue or similar? It's an idea that could facilitate swappable groups quite easily. >
@planetnine Sorry for the late answer The Delete/strore/retrieve is an idea, but is not as felxible as desired. take this example : 5 regions sets for a movie. For exemple : Scenes, Dialogs, Music. If I wanted to have all the combination possible. I could need to display Scenes Dialogs Music Scene + Dialog Scene + Music Dialog + Music Scene + Dialog + Music This represnts 7 regions sets. Add two type of regions (subtitles, render area), and you will get far more possibilities. So I guess it is not the ultimate solution. We need something more flexible :P ===== Meanwhile, I did succeed the first thing I wanna do with regions. Here is the . (#23) ===== Now I can think about an action that can set subtitles for all regions in the project, subtitles content being defined by the regions name (that was my FR1 in the ). This action could be called : "Create subtitles from all regions names". But I have to admit, this is is the next difficulty level.