View Single Post
Old 01-07-2019, 05:58 AM   #71
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Quote:
Originally Posted by amagalma View Post
Oh, I forgot that part, because I have "install new packages when synchronizing" enabled here, which is not the default setting. I will add the missing code. Thanks!

@cfillion & juliansader: I tried to improve the code and automate the js_ReaScriptAPI installation as much as possible, but found several difficulties (for example I cannot get the PackageEntry entry). So, I kindly ask you, if you have the time, could you provide the optimal code that looks if the js_ReaScriptAPI v0.961 and higher is installed and if not, to install it with as little user intervention as possible?
This code would be extremely helpful for any scripter making scripts that use this extension, and could incorporate it to his/her scripts. Alternatively, it could be a script on its own that any scripter could import to his/her script with dofile. Another possibility, would be to install said extension by default with ReaPack.


Thanks!
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)
amagalma is offline   Reply With Quote