Specifying the startup file and node
This can be done in one command by creating a Windows shortcut containing a command line such as:
C:\TreePadPLUS\treepadplus.exe C:\myfiles\start.tpd 428
where C:\TreePadPLUS\treepadplus.exe and C:\mywork\work.tpd are the filepaths of TreePad and work.tpd respectively, and 428 happens to be the ID number of the node at which you want the file to open. The syntax for this can be summarized as
[TreePad program path] [TreePad file path] [node ID]
Be sure to insert a space between each component of this command, as shown above.
If the paths of either the TreePad program or your TreePad file contain one or more spaces, the relevant filepath must be enclosed in double quotes to comply with the Windows long filenames (LFN) conventions, e.g.,
"C:\program files\TreePad\treepadplus.exe" C:\myfiles\start.tpd 428
Specifying the startup file will ensure that start.tpd is always opened by this particular program version (in this case, TreePad). If you always want another version of TreePad to open this file, specify that program's name and filepath instead of TreePad, or create a separate shortcut for it and click on that. See Handy Hint below.
If you want this shortcut to open your TreePad file at a particular node, first determine the node's ID number by selecting Main Menu ⁄ Tree ⁄ Subtree statistics, selecting Tree context menu ⁄ Node properties or pressing Ctrl+F2, when the tree pane has the focus, to display the Node properties window. If you do not specify a node ID, this will default to the Root node. This facility is useful as a form of bookmark.

Handy hint: To put an end to the problem of the last version of TreePad used becoming the default program for opening all further TreePad files, why not create an intermediary file named, say, start.tpd. This file simply contains a list of links to the main files you normally open with TreePad programs, in its root directory. Let's suppose these are usually addresses.tpd, work.tpd and interests.tpd. For the layout of such a file, see here.

Now, for each version of TreePad you use regularly, create a shortcut as described above to open start.tpd in that particular version. If you use TreePad, TreePad SAFE and TreePad Viewer, create three shortcuts as follows (right-click on the shortcut's Properties to enter Target details):
Name of shortcut Target
TreePad [path]\treepadplus.exe  [path]\start.tpd
TreePad SAFE [path]\treepadSAFE.exe  [path]\start.tpd
TreePad Viewer [path]\TreepadViewer.exe  [path]\start.tpd
Now, clicking on the shortcut will open the start.tpd file each time and from there you can jump to your main files.

  1. If you do this for TreePad Lite, the file and hyperlinks will need to be plain text.
  2. You can also do this from Windows itself by selecting Start menu ⁄ Run... and typing or pasting the filepaths of TreePad and the target file into the window. This may be an advantage if you do not wish to create a shortcut.
  3. You can also create a new Windows toolbar on the Windows taskbar to do this, or use one of many Windows menu programs available to launch your files.
  4. Some of these menu programs will allow you to open two or more instances of TreePad at once, each with a different TreePad file. Alternatively, you could write a simple MS-DOS batch file to do this.
Search ]     [ Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 410 of 563)

This page is created with TreePad