Opening and reopening a file
There are several ways to open an existing TreePad file for editing:
Opening a file from within TreePad
- Use Main menu ⁄ File ⁄ Open, or press Ctrl+O.
- Use Main menu ⁄ File ⁄ Reopen, if you recently opened the file. This will display a drop-down list of the seven most recently opened files, from which you can choose one. Pressing the keyboard shortcut Ctrl+Alt+R closes the current file and Reopens the previous file opened (the one at the top of the Reopen drop-down list). This shortcut is very handy if you are switching back and forth between two files in the same instance of TreePad. You will see this shortcut displayed on the drop-down list against the top file. (Note: if you enable saving the tree state, TreePad will return you to the last node you were at when you closed that file.)
- Create a hyperlink to it from an article in the currently opened file, then activate the hyperlink (Ctrl+H). See Activating (following) hyperlinks. You can select (via the Options menu) whether the file which is the target of the hyperlink should be opened in the same or a new instance of TreePad. All other methods listed here open the file in the same instance.
- Open it from the Favorite TreePad files list if it has been already added.
Note that if you are already running this file in another instance of TreePad, you will not be able to open a second copy. Instead, TreePad gracefully opens with no file selected, enabling you to choose an alternative file.
Starting TreePad and having it open the file
- Set TreePad to automatically reopen the last file closed when you start the program. See Startup options.
- Set TreePad to open a specific file and node each time it starts.
Opening the file directly from Microsoft Windows
- Double-click the file name in Windows Explorer and it will open in a separate instance of TreePad. This is also known as auto-starting a file.
- Create a shortcut to this file and double-click the shortcut. You can copy or paste shortcuts to your most frequently-accessed files in a folder off the Windows Start Menu.
- Clicking (Windows) Start ⁄ Documents ⁄ [filename] is another quick way to reopen a TreePad (or any other) file. This is handy to remember should you have performed an action that reset the Main menu ⁄ File ⁄ Reopen list, such as deleted and reinstalled TreePad.
Opening a file from Windows Explorer is fine if you intend to use only one version of TreePad. However, if you plan to use more than one version in your work, please note that each time you run any version of TreePad (including TreePad Viewer), it becomes the version used by default to open the next TreePad file you double-click (in Windows Explorer) to open, so that you cannot guarantee that the version you need will be the one that opens it. This issue is discussed more fully in Using different program versions. To avoid this problem, specify the startup file.
If you try to open, reopen or auto-start a TreePad file that is already open in TreePad or another program, TreePad will display a message advising that the file is in use by another program.