mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Chain export commands: no cwd; use the default export path, not open
This commit is contained in:
@@ -434,7 +434,7 @@ wxString BatchCommands::BuildCleanFileName(const wxString &fileName, const wxStr
|
|||||||
// double endTime = project->mTracks->GetEndTime();
|
// double endTime = project->mTracks->GetEndTime();
|
||||||
// double startTime = 0.0;
|
// double startTime = 0.0;
|
||||||
//OnSelectAll();
|
//OnSelectAll();
|
||||||
pathName = gPrefs->Read(wxT("/DefaultOpenPath"), ::wxGetCwd());
|
pathName = FileNames::FindDefaultPath(FileNames::Operation::Export);
|
||||||
::wxMessageBox(wxString::Format(_("Export recording to %s\n/%s/%s%s"),
|
::wxMessageBox(wxString::Format(_("Export recording to %s\n/%s/%s%s"),
|
||||||
pathName.c_str(), cleanedString.c_str(), justName.c_str(), extension.c_str()),
|
pathName.c_str(), cleanedString.c_str(), justName.c_str(), extension.c_str()),
|
||||||
_("Export recording"),
|
_("Export recording"),
|
||||||
|
|||||||
Reference in New Issue
Block a user