User Manual > The Library > WintextCom Reader > Advanced Features > Integration with the Workspace  >

The Project and Associated folders

Last updated: 24/10/2011 10:11:51 GMT
Print (Alt+1) Previous (Alt+P) Beginning of ChapterNext (Alt+N)

Whenever you issue a command in the WintextCom Reader that accesses the workspace folder associated with the document, the base association will be used unless the document has its own association set up.

 

In many situations, using the base association for multiple documents is adequate, because each document can be associated with its own file in that folder, as described later. If you only need the one associated file, which can be any file type from a plain text file to a publisher or database, there is no advantage in associating a specific folder with the document. However, in some cases, for larger projects, it might be expedient to associate a document with a folder of its own, or have all documents in a specific library folder associated with a corresponding workspace folder.

 

You can create a project folder corresponding to a document. The document is then associated either with that folder or a subfolder of it with the same name as the document without extension (just the primary filename). The project folder is defined as follows --

  1. If the document is in the library but not in a subfolder of the library (just in the base library folder), or the document is not in the library, the project folder is a subfolder of the base association named with the primary filename of the document.
  2. The project folder corresponding to documents that are in a subfolder of the library is a subfolder of the base association that bears the same relative path with respect to the base association as the document folder with respect to the library.

 

Press Control+Shift+K while reading a document to initially create its project folder. Once the folder is created, or if it already exists, it is displayed in File Manager. This is the project folder command, it always opens the project folder associated with the document in File Manager, and creates it if necessary.

 

The command Control+Alt+K is the associated folder command. It opens the specific document's associated folder in Windows Explorer. The associated folder for a document is defined as follows --

  1. If the document does not have a project folder associated with it, the associated folder is the base association.
  2. If the document does have a project folder, and the project folder does not contain a subfolder named with the primary filename of the document, the project folder is the associated folder.
  3. Otherwise, the associated folder is the subfolder of the project folder named with the primary filename of the document.

 

The associated folder command (Control+Alt+K) displays the above-defined folder in Windows Explorer. Only the base association will be created if it does not exist. The associated folder is determined by the existence of the hierarchy as described. If the associated folder contains an associated document, it is selected, otherwise there is no initial selection and the primary filename of the document is made available on the Windows clipboard.

 

The availability of the document's primary name on the clipboard if an associated document is not present enables you to easily create one, or use the document's primary filename to create another subfolder to be associated with the document. Note that only the first subfolder in the project folder named with the document's primary filename is used as the associated folder, if it exists, deeper level subfolders are not taken into account, even if they bear he document's primary name. You can use Windows Explorer's "new" command to create a new folder or file item, and paste the document's primary filename into the name field.

 

To summarise the folder commands --

 

Control+K, th associated document command, is used to create and subsequently access the associated document, and is described in the relevant section of this documentation.

 


Page url: http://wtcmanual.wintextware.com/index.html?wl_project_and_associated_folders.htm