Home

 

Examples

 

Technical

 TextMaestro

 

2003 TextMaestro Technologies

 

  Examples

  Example 1

  Example 2

  Example 3

  Example 4

  Example 5

  Example 6

  Example 7

  Example 8

  Example 9

  Example 10

  Example 11

  Example 12

  Example 13

  Example 14

  Example 15

  Example 16

  Example 17

  Example 18

  Example 19

  Example 20

  Example 21

 

 

Example 3: Work with Directories

Working with directories in TextMaestro is different from conventional directories. The idea of basket will clarify the situation here. Note, the top list is dedicated for baskets, while the bottom for files. Baskets are just user-defined names. They do not reflect the directory tree structure. However, you could choose names for baskets such that they represent corresponding directories, just like Directories contains Files as to Basket contains File-items. See the analogy below:

Basket

Directory

Test

C:\TMT-WorkFiles\Test

Test\Debug

C:\TMT-WorkFiles\Test\Debug

Test\Debug\Supp

C:\TMT-WorkFiles\Test\Debug\Supp

In a way a Basket is a virtual directory.

When you drag-and-drop directories to the file-list, some additional information is required in order to give you some options on how to maintain the tree structure. Consider the following two examples.

 

Example 3.a: Drag-and-drop local directory

Example 3.b: Add remote directory

 

 

Example 3.a: Drag-and-drop local directory         Top

Open TextMaestro

Drag src folder onto the File-items area above.

Note src folder has many levels of sub-folders inside it as shown below:

 

Since you are dropping a directory, by default, TextMaestro queries on further information and this box on left will appear.

 

Item 1: TextMaestro performs a recursive navigation into the directory. For each file it finds, it will assign a remote path derived from the file's local path, only if you select Derive Remote directories based on local paths.

 

At this point you have two options:

(a) Auto-create baskets based on directory tree to show virtual directory view.

 

(b) Flatten the tree view to place all files in one list.

If you choose Option (a), which is also referred to as preserving the tree, we get the following:

Note that for each sub-folder inside src directory, a Basket is created on top list. If you click on a Basket, its files would be displayed on the bottom list. Since Baskets are created in parallel to the tree structure, we call this scenario preserving the tree.

 

In addition, the following dialog will appear at the end of the drag-and-drop process.

Since remote paths were derived from corresponding local paths (assuming /public_html/Test/ as root directory), (because we had checked Derive Remote directories based on local paths), TextMaestro offers you a chance to create all those remote directories in one step. If you plan to transfer these files to emote areas, you want to choose Yes above.

 

On the other hand, if you choose Option (b), which is referred to as flattening the tree, as shown here, then we will get the following scenario.

 

 

 

 

Example 3.b: Add remote directory         Top

Adding a remote directory and its contents to the session is similar to what we discussed above. Below is short description of the steps.

After you open TextMaestro, use Browse button to browse remote system. As an example the following dialog will appear:

 

Use Add a directory button (see red arrow above) to add examples directory.

 

With the setup as shown here, we will obtain the following.

 

Note that, after the files are mapped, you can FTP them from remote to local area.

 

During that process, for a given file, the local directory will be automatically created on your computer, if it does not exist.

 

Caution: Keep in mind that based on the contents and depths of the selected directory, the navigation process may take several minutes.

 

Top