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

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-23-2024, 04:26 AM   #1
Human being with feelings
BartR's Avatar
Join Date: Oct 2014
Location: Somewhere in this universe or so.
Posts: 1,697
Default API issue: on Mac GetProjectPathEx() gets the wrong path

inconsistent output between Win and Mac

local pj_path = reaper.GetProjectPathEx(0 , '' ):gsub("(.*)\\.*$","%1")
I got

On Windows:
it returns the project path as expected
J:\Music Production\My Project
On Mac:
it returns the project path BUT it appends the path declared in Project Settings > tab MEDIA > field: Path to save media files
/Users/albv/Music Production/My Project/Audio files

NOTE: I didn't check on Linux. So please verify it on that environment as well
Reaper: always the most up-to-date.
O.S.: Windows 11 Pro
ReaPack (with bilingual Tutorials): https://bit.ly/ReaPack_Repository

Last edited by BartR; 02-23-2024 at 10:14 AM.
BartR is offline   Reply With Quote

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 04:19 PM.

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