Cockos Incorporated Forums
>
REAPER Forums
>
REAPER Bug Reports
reaper.GetProjectPath returns path + RECORD_PATH from project file
User Name
Remember Me?
Password
Register
Search
Today's Posts
Mark Forums Read
Thread Tools
Display Modes
03-25-2017, 01:36 PM
#
1
amagalma
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
reaper.GetProjectPath returns path + RECORD_PATH from project file
It should return the project path only without retrieving the recording path saved into the project. Or the API should be renamed to GetProjectRecordingPath
test project
test code:
Code:
path = reaper.GetProjectPath(0) reaper.ShowConsoleMsg(path)
__________________
Most of my scripts can be found in
ReaPack
.
If you find them useful,
a donation would be greatly appreciated!
Thank you! :)
Last edited by amagalma; 03-25-2017 at
01:45 PM
.
amagalma
View Public Profile
Send a private message to amagalma
Find More Posts by amagalma
03-25-2017, 01:48 PM
#
2
Lokasenna
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
+1
The expected behavior, given that there's no explanatory documentation, is that it should spit out a path to the .rpp.
Ideally it would include a parameter to choose the project path, recording path, or secondary recording path.
__________________
I'm no longer using Reaper or working on scripts for it. Sorry. :(
Default 5.0 Nitpicky Edition
/
GUI library for Lua scripts
/
Theory Helper
/
Radial Menu
/
Donate
Lokasenna
View Public Profile
Send a private message to Lokasenna
Visit Lokasenna's homepage!
Find More Posts by Lokasenna
03-25-2017, 02:25 PM
#
3
amagalma
Human being with feelings
Join Date: Apr 2011
Posts: 3,451
Quote:
Originally Posted by
Lokasenna
Ideally it would include a parameter to choose the project path, recording path, or secondary recording path.
Great idea!
__________________
Most of my scripts can be found in
ReaPack
.
If you find them useful,
a donation would be greatly appreciated!
Thank you! :)
amagalma
View Public Profile
Send a private message to amagalma
Find More Posts by amagalma
01-23-2018, 09:59 AM
#
4
modraw
Human being with feelings
Join Date: Oct 2017
Posts: 27
+1 as well - Can we get the recording or media path somehow ? cheers !
modraw
View Public Profile
Send a private message to modraw
Find More Posts by modraw
01-23-2018, 11:33 AM
#
5
nofish
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,096
Similar behaviour with the <Project Directory> shortcut in Media Explorer:
https://forum.cockos.com/showthread.php?t=189884
(which was classified as not a bug but I wouldn't fully agree)
__________________
me on Soundcloud (Beats Rap Reggae)
Wikiloops - free online jams, check it out
my ReaScripts
SWS issue tracker
Donations
nofish
View Public Profile
Send a private message to nofish
Visit nofish's homepage!
Find More Posts by nofish
01-25-2018, 08:32 AM
#
6
Meo-Ada Mespotine
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,621
+1
It should return all three paths as three returnvalues.
Always annoyed me..
Meo-Ada Mespotine
View Public Profile
Send a private message to Meo-Ada Mespotine
Visit Meo-Ada Mespotine's homepage!
Find More Posts by Meo-Ada Mespotine
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Switch to Linear Mode
Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
REAPER Forums
REAPER General Discussion Forum
newbieland
REAPER Q&A, Tips, Tricks and Howto
Recording Technologies and Techniques
REAPER Compatibility
REAPER Color Themes and Icon Sets
MIDI Hardware, Control Surfaces, and OSC
REAPER Non-English Speaking User Forums
Forum de REAPER en français
Foro de REAPER en Español
Fórum do REAPER em português
Forum di REAPER in italiano
Deutschsprachiges REAPER Userforum
Pyccкоязычный фopyм REAPER
REAPER Bug Reports
REAPER Feature Requests
Dstruct's Casa De Nitpicks
REAPER for Live Use
REAPER for Video Editing/Mangling
REAPER for Spatial Audio
ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum
REAPER for macOS
REAPER for Linux
REAPER Pre-Release Discussion
REAPER Music/Collaboration Discussion
NINJAM Discussion
NINJAM User Discussion
NINJAM Developer Discussion
Other Software Discussion
WDL users forum
LICEcap Discussion
OSCII-bot forum
Old Cockos Products Forum
All times are GMT -7. The time now is
06:38 PM
.
-- Cockos
---- REAPER 5
---- Reaper 3
---- Reaper 2
---- Reaper 1
Contact Us
-
Çockos Incorporated
-
Archive
-
Top
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.