This is an Add-In that allows the creation of new project modes by copying a selected existing mode. Once the copy is done the new mode, which will replicate all of the settings in the copied mode, can be edited as usual under the Pelles IDE to change whichever parameter(s) is/are required for the new mode. No need to worry that some parameter was overlooked when creating a mode from scratch.
The Add-in when copied to AddIns64 directory, and enabled, adds a Menu item under "Project" with an obvious name, and just above the "Project Options" menu item.
The Add-in is overloaded with error checking, and it creates a ppj backup file as part of the first task. Successive uses create sequentially numbered backups. The Add-in will not delete these.... highest number,or newest date, is most recent backup.
If nervous
create your own backup of the ppj file first
John Z
Project code, reasonably commented, is included as is a readme.txt with more information. The CopyMode.dll is ready to be copied into the AddIns64 subdirectory.
Update: New code release to address setting mode issue
Update 3/30/2023: Code pulled as this is now an intrinsic feature of Pelles C V12