View Single Post
Old 04-06-2016, 01:09 PM   #26
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Quote:
Originally Posted by cfillion View Post
EDIT: Ah, I see. I'm not much familiar with JSFX development so I didn't think about that, but some data files put in the Effects folder would actually be visible in REAPER's FX browser right?
I'll look into a solution for this, thanks!
We recently gained the ability to read any files we like in the effect folder but file sliders still point to the data folder...
Quote:
Originally Posted by http://reaper.fm/sdk/js/js.php#js_file
Another extended syntax is:
  • slider1:/some_path:default_value:slider description
In the above example, the /some_path specifies a subdirectory of the REAPER\Data path, which will be scanned for .wav, .txt, .ogg, or .raw files. default_value defines a default filename. If this is used, the script will generally use file_open(slider1) in the @serialize code section to read the contents of the selected file.
There are plenty of FX that use that system.
IXix is offline   Reply With Quote