Multiple export overwrite option
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
-
mickthefish
- Posts: 145
- Joined: Fri Jun 26, 2015 11:40 am
- Operating System: Windows XP
Multiple export overwrite option
when using (export multiple) in audacity,is there any way to permenantly untick the (overwrite existing file) box as i keep forgetting to unclick it.it would also save time as i use quite a lot--mickthefish.
Last edited by steve on Wed Jul 29, 2015 1:30 pm, edited 1 time in total.
Reason: Given topic a more relevant title
Reason: Given topic a more relevant title
Re: Multiple export overwrite option
No there isn't.
I'll move this to the "adding features" part of the forum.
I agree that it would be better if the user setting was retained, (and for safety, the default set to unchecked, don't overwrite).
I'll move this to the "adding features" part of the forum.
I agree that it would be better if the user setting was retained, (and for safety, the default set to unchecked, don't overwrite).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
waxcylinder
- Forum Staff
- Posts: 14685
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Multiple export overwrite option
+1 from me to thatsteve wrote:I agree that it would be better if the user setting was retained, (and for safety, the default set to unchecked, don't overwrite).
@Steve: do you have the skills to "make it so"
Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Multiple export overwrite option
+1 but I don't want to default to off unless the user's setting is retained. I think most users want to overwrite.waxcylinder wrote:+1 from me to thatsteve wrote:I agree that it would be better if the user setting was retained, (and for safety, the default set to unchecked, don't overwrite).
@Steve: do you have the skills to "make it so"![]()
Peter
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Multiple export overwrite option
It's a very simple change; currently (before the change to wxWidgets 3) the code looks like (in \src\export\ExportMultiple.cpp at or near line number 352):waxcylinder wrote:@Steve: do you have the skills to "make it so"
Code: Select all
S.StartHorizontalLay(wxEXPAND, false);
{
mOverwrite = S.Id(OverwriteID).AddCheckBox(_("Overwrite existing files"), wxT("true"));
}
S.EndHorizontalLay();
Code: Select all
S.StartHorizontalLay(wxEXPAND, false);
{
wxString overwriteExisting(wxT("true"));
gPrefs->Read(wxT("/Export/OverwriteExisting"), &overwriteExisting, wxT("true"));
mOverwrite = S.Id(OverwriteID).TieCheckBox(_("Overwrite existing files"), overwriteExisting, wxT("true"));
}
S.EndHorizontalLay();
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10
-
mickthefish
- Posts: 145
- Joined: Fri Jun 26, 2015 11:40 am
- Operating System: Windows XP
Re: Multiple export overwrite option
Hi Gale-I suppose it depends on what project your working on wether you prefer the checkbox (ticked or un-ticked)if as you say most people prefer it set to overwrite.not an easy FIX for me though!-mickthefish.
Re: Multiple export overwrite option
How about just:Edgar wrote:It's a very simple change; currently (before the change to wxWidgets 3) the code looks like (in \src\export\ExportMultiple.cpp at or near line number 352):waxcylinder wrote:@Steve: do you have the skills to "make it so"needs two additional statements:Code: Select all
S.StartHorizontalLay(wxEXPAND, false); { mOverwrite = S.Id(OverwriteID).AddCheckBox(_("Overwrite existing files"), wxT("true")); } S.EndHorizontalLay();and the changeover from a generic wxWidgets checkbox to a Preferences-aware TieCheckBox.Code: Select all
S.StartHorizontalLay(wxEXPAND, false); { wxString overwriteExisting(wxT("true")); gPrefs->Read(wxT("/Export/OverwriteExisting"), &overwriteExisting, wxT("true")); mOverwrite = S.Id(OverwriteID).TieCheckBox(_("Overwrite existing files"), overwriteExisting, wxT("true")); } S.EndHorizontalLay();
Code: Select all
{
mOverwrite = S.Id(OverwriteID).TieCheckBox(_("Overwrite existing files"),
wxT("/Export/OverwriteExisting"),
true);
}
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
Re: Multiple export overwrite option
Done in commit 246a8c
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
waxcylinder
- Forum Staff
- Posts: 14685
- Joined: Tue Jul 31, 2007 11:03 am
- Operating System: Windows 10
Re: Multiple export overwrite option
Just saw that on the commit list 
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *
Re: Multiple export overwrite option
I tried that first and got a compiler warning (maybe because "true" can be defined as a BOOL or as an INT depending on the OS and/or compiler). If you search the code for other instances where we use a TieCheckBox you will see that, historically, it is done the way I did it. FYI your way does not work on my system (Windows 7, MSVS 2010 & 2013, WxWidgets 2.8 - next week I should be on Windows 10, MSVS 2015 & wxWidgets 3.0).steve wrote: How about just:Code: Select all
{ mOverwrite = S.Id(OverwriteID).TieCheckBox(_("Overwrite existing files"), wxT("/Export/OverwriteExisting"), true); }
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10