DirCreateWS

Purpose

DirCreate helps a desktop user in creating many valid sub-directories using text segments from documents. It avoids the requirement of editing manually directory names in order to be compliant with the operating system and user policy. 

Description

Overview

DirCreate accepts a directory drop followed by untagged text drops. Upon activation, DirCreate will modify each dropped text into related valid directory name(s). The next action depends on the selected variant (see the Variants sub-section below).

A dropped text is modified as follows:

Variants

Note: The second and forth variants should not be part with the first variant under the same metascript; this is a poor design. The purpose of this metascript is purely educational only. Both, the metascripts and the scripts have been kept as simple as possible.

Tagged Drops

There is one tagged drop: the "destination" directory drop (identified as "A Dir")

Untagged Drops

The untagged text drops are identified as "Text drops". Each text drop will be modified, as necessary, for generating a valid directory name.

Clipboard Use

The clipboard is not used as input for any variant. However, for the variant "To_Clipbrd", the clipboard will contains the modified text of the last text drop.

Possible Metascript-Related Messages

Script-generated error messages. Here are the possibilities:

 

Other Considerations

An explicit Clear List command is required if an error is encountered. Otherwise, the list of drops is automatically cleared upon a successful operation.

Script Effects

For the default variant, DirCreate will create sub-directories.

Requirements

The requirements for DirCreatePy version of DirCreate.

Side Effects:

 

Instructions

See also the Purpose section above.

Tasks:

 

Creating sub-directories

Here are the detailed instructions for creating sub-directories with names based from displayed documents.

This is it.

 

Creating a sub-directory name

Here are the detailed instructions for creating a valid name for a sub-directory into your system clipboard.

This is it.

 

Source

Please, add authors and owners for each version of the matascript

Owner(s):

Author(s):