04-05-2019, 07:29 AM | #1 |
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,993
|
Passing filename to editor in action window (FIXED)
Using an external editor (Sublime Text), I find if there are spaces in the filename it tries to open a file for each word. Is there a way Reaper can wrap it in double quotes or something to pass it the parameter for the filename ?
example: Script: edgemeal_Toggle envelope lanes for selected track.lua Thanks ! Windows 7, Reaper 5.974rc3/x64 |
04-05-2019, 07:34 AM | #2 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
Confirmed here using VS Code as external editor.
|
05-14-2019, 04:48 AM | #3 |
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,993
|
I can't even open Script: Mouse_position_dependant_actions.eel in sublime text without the same problem as op. grrrrr
|
05-14-2019, 08:26 AM | #4 |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
Same thing happens when making a new script via action list's ReaScript: New... button.
|
05-14-2019, 10:49 AM | #5 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,761
|
This looks like a simple enclosing if filename+path with quotes within Reaper would solve the problem.
It also seems like that Scripts stored in Scripts-folder might not be passed with full absolute path to Sublime/VS(the latter is speculation by me). What happens, when creating a new script, if you type the same filename plus absolute path, enclosed in quotes. Does this work?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
05-14-2019, 10:58 AM | #6 | |
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,993
|
Quote:
|
|
05-14-2019, 11:13 AM | #7 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,761
|
It wouldn't be a fix for the problem, but if creating one script that way leads to a "valid editable" file in Sublime, it would be a confirnation of my theory, surrounding the problem.
And suggesting the way to fix it. Can t test it myself right now, as I have no "Reaperable device" at hand Edit: according to FoxAsteria and Breeder, this problem doesn't happen with Lua-scripts. So maybe the problem lies somewhere else :/
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people Last edited by Meo-Ada Mespotine; 05-14-2019 at 11:53 AM. |
05-14-2019, 01:22 PM | #8 |
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,993
|
"ztest of spaces" gets extension not supported
|
05-14-2019, 01:44 PM | #9 | |
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,307
|
Quote:
__________________
me on Soundcloud (Beats Rap Reggae) Wikiloops - free online jams, check it out my ReaScripts SWS issue tracker Donations Last edited by nofish; 05-14-2019 at 01:56 PM. |
|
05-15-2019, 01:20 AM | #10 |
Human being with feelings
Join Date: Jun 2015
Posts: 685
|
Yeah happens here too whenever I try to open a script (lua or whatever, doesn't matter) using Code.exe as the editor.
|
05-17-2019, 02:43 AM | #11 |
Human being with feelings
Join Date: Oct 2010
Location: Charleston, SC
Posts: 12,993
|
Fixed in v5.978+dev0515 - May 15 2019
https://forum.cockos.com/showthread.php?t=220995 |
05-17-2019, 07:18 AM | #12 |
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,761
|
Nice
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper - ReaGirl - a GuiLib for guis working for blind people |
Thread Tools | |
Display Modes | |
|
|