To customize keyboard shortcuts, you need to place a file called "Menu.properties" into the folder where the CodonCode Aligner preference data are stored. On Mac OS X, this is is a folder called "CodonCode Aligner Preferences" inside the Library/Preferences folder in your home directory. On Windows, this is a folder called "CodonCode Aligner" inside the AppData/Roaming folder in your home directory (C:/Users/<username>/). Note that both the Finder on OS X likes to hide the "Library" folders, and Explorer on Windows likes to hide the "App Data" folder, so you may need to change the system preferences to show hidden files (if you are not sure where the preferences are stored, you can also see the location in the "Aligner_errorlog.txt" file in the "Logs" folder where CodonCode Aligner is installed).
Step-by-step:
- Locate where the CodonCode Aligner preferences are stored
- Download a Zip archive with the default "Menu.properties" file from
http://www.codoncode.com/support/MenuProperties.zip. - Extract the "Menu.properties" file from the downloaded archive and place it inside the preferences folder.
- Open the Menu.properties file with a text editor like NotePad or TextEdit.
- Locate the line with the action that you want to customize. For example, for "Delete to Sample end", find the line:
SampleDelStart.Accelerator= - Add the keyboard shortcut you want to use, for example shift-DELETE:
SampleDelEnd.Accelerator=shift DELETE
Make sure you do not use a shortcut that is already in use by another action! - Save the edited file (make sure to save it as a text file, not as a Word document or similar!)