DirCreatePyTmp

Purpose

DirCreatePyTmp helps a desktop user in creating a list of valid sub-directories names 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. 

This metascript and related script demonstrate the use of a temporary file (and the DTMP parameter) that will contain the list of untagged drops. This file is read by the script; it will create a directory name for each line and outputs it into the system output.

Description

Overview

DirCreatePyTmp accepts untagged text drops. Upon activation, It will modify each dropped text into related valid directory name(s). It will put them into the system clipboard (one name per line).

A dropped text is modified as follows:

Variants

 

Tagged Drops

There is no tagged drop.

Untagged 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, the clipboard will contains the modified text of the drops; one per line..

Possible Metascript-Related Messages

 

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

None.

Requirements

Side Effects:

 

Instructions

Creating sub-directory names

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

This is it.

 

Source

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

Owner(s):

Author(s):