The example in this section illustrates a more comprehensive application of the library-workspace integration than the examples mentioned so far. It demonstrates how document associations can be used to simplify work on projects.
Suppose you are conducting research on animals and have so far collected some haphazard information in 3 files, "cats.txt", "dogs.txt", and "rabbits.txt". You want to consolidate this information into organised data in a word processor document.
You could have collected the information initially from the worldwide web by visiting appropriate web pages and using WintextCom read document command to snap the information to the library. The first time you saved some information for your animals project, you created a new library folder called "animals" in which to save the current and all subsequent information. If you subsequently find more information on the same animal, WintextCom allows you to append it to the existing file without changing your current bookmark.
Suppose you want to work with the cats information first. Open "cats.txt" in the WintextCom Reader and press Control+Shift+K (project folder command). This will create a corresponding folder called "animals" in the workspace, a subfolder of the base association that is associated with all documents unless they have their own association set up. This command sets up an association for your animals files, and then displays the folder (empty at the moment) in File Manager, which you can close by pressing Escape. Once you have done this, all documents in the library "animals" folder have their own associated workspace folder, "animals".
Press Control+Alt+K to create a document associated with "cats.txt". The associated folder ("animals") is displayed in Windows Explorer, and the primary name of the library document ("cats") becomes available on the Windows clipboard. The workspace folder is still empty. Select the "New" command in Windows Explorer, and choose new document for whatever word processor you use. Select the primary part of the name suggested and press Control+V to overwrite it with the name of your library document ("cats"). Press ENTER to accept the new document. You now have a document called "cats.doc" in the workspace that is associated with "cats.txt" in the library. You are still in Windows Explorer, so you could open it immediately to initialise it by creating the cats section, as required.
Once the associated document, "cats.doc", has been created, you can open it by pressing Control+K while reading "cats.txt". When you have finished with "cats.txt" and want to move onto "dogs.txt", first press Control+Alt+K with "cats.txt" open in the WintextCom Reader. This will select "cats.doc" in th workspace folder with Windows Explorer. Rename the file to "dogs.doc". From then on, until you rename the document again, you can open "dogs.doc" by pressing Control+K while "dogs.txt" is open in the WintextCom Reader.
In this way, you can move through all the library files in "animals", and from each one, be able to open the document in which you want to build a proper database from the information, or open the "animals" workspace folder. You can open the workspace folder from any document in the corresponding library folder, but if you open it from the document that currently has the associated document's primary name, the associated document is selected for you to perform any operation upon it. When you have finished the project, you can give the document its permanent name and move it to a different location, or anything else.
The associated folder can contain other files as well as the associated document. This allows you to work with more complex projects that involve additional modules such as graphics or spreadsheets. These documents can be accessed from any one of the associated library documents using the associated folder command to display the workspace folder in Windows Explorer, or by pressing Alt+K to display it in File Manager.
Page url: http://wtcmanual.wintextware.com/index.html?wl_project_example.htm