Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 02-09-2022, 11:23 AM   #1
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,404
Default ReaScript loading wrong script file (FIXED)

EDIT: Fixed in v6.48! THANKS!

If I have same named script file on root drive (M:\) of portable install, then that script file is open instead of the one the action is actually pointing to in Actions list ("M:\Reaper Portable\Scripts").

Win10_x64/REAPER v6.46, Not sure what version this started happening or if its always been this way but if not careful you could edit the wrong script file!

Last edited by Edgemeal; 02-20-2022 at 11:13 AM. Reason: FIXED
Edgemeal is offline   Reply With Quote
Old 02-09-2022, 11:29 AM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,015
Default

What happens, if you change lastcwd in reaper.ini to another folder before starting Reaper. Does it still do it?
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-09-2022, 11:38 AM   #3
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,404
Default

Ya lastcwd was set to root path (M:\), if I change it to some other path it works as expected.

I guess all I can do then is put copies of scripts somewhere else other then what lastcwd is set to.
Edgemeal is offline   Reply With Quote
Old 02-09-2022, 11:47 AM   #4
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,015
Default

Yup, I once had a similar problem, that was influenced by lastcwd. There's somewhere a bugreport about that, IIRC.
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-10-2022, 08:30 AM   #5
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,404
Default

REAPER should at least try and load the script from the path it displays in the Actions list ReaScript path column first if anything, they way works now is just silly! $0.02
Edgemeal is offline   Reply With Quote
Old 02-10-2022, 09:11 AM   #6
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,015
Default

+1. I think, I have requested it somewhere some time ago.

Edit:
Here it is(in too many words XD):

https://forum.cockos.com/showthread.php?t=221655
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-11-2022, 03:58 PM   #7
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,090
Default

Looking into this, thanks!
Justin is offline   Reply With Quote
Old 02-11-2022, 05:29 PM   #8
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,015
Default

thanks
__________________
Use you/she/her.Ultraschall-Api Lua Api4Reaper
Bugreports&Docs notes please do here:https://github.com/Ultraschall/ultra...-reaper/issues - Donate, if you wish
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-11-2022, 07:52 PM   #9
dsyrock
Human being with feelings
 
dsyrock's Avatar
 
Join Date: Sep 2018
Location: China
Posts: 526
Default

This is a bug that exists for a long time, I came into it several times. I didn't know what happen until today.
dsyrock is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:18 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.