FNamer

 

Purpose

FNamer helps a desktop user to get a valid file/directory name into the system clipboard by selecting a text from a document. FNamer is especially useful to Web surfers. It avoids the requirement of manually editing such names in order to be Joliet compliant.

Note: This version is different from FNamerDrag; it can work with document browsers that do not provide the drag feature, such as the Windows Notepad, the DOS box and many dialog fields. Otherwise, FNamerDrag is faster and more convenient. Both metascripts, however, use exactly the same underlying script: FNamer.py.

Motivation

To save a Web page locally in your computer, using the Internet Explorer, you do the Save As menu command. A Save Web Page dialog appears with a default file name. The default value is often inappropriate for your use and liking. You often need to edit it manually.

You might use the System clipboard. You copy a text fragment from that viewed Web page with the intent of using this text as a more appropriate file name. You simply copy that text into the File name field of the Save Web Page dialog. The problem is that such text might contain invalid characters for a file name. Again, you need to edit it manually.

With D&Do however; it is as if you have an intelligent system clipboard. It will validate the proposed file name and correct it for you. If you have to provide validated names for hundreds of Web pages, D&Do can save you hours.

 

Description

Overview

A text fragment should be captured into the system clipboard. Once the target area is clicked, FNamer will modify the text into a valid Joliet compliant file name. It will then put it into the system clipboard. The variant specifies how the dropped text will be modified.

Variants

 

Tagged Drops

There is no tagged drop.

Untagged Drops

There is no untagged drop.

Clipboard Use

The clipboard is used as input for any variant. However, the content of the clipboard is changed once the script activity has started; it contains a Joliet compliant file/directory name.

Possible Metascript Messages

Other Considerations

An explicit Clear List command is not required

Script Effects

Script outputs to the system output only.

Requirements

Side Effects:

 

User Guide

See also the Purpose section above.

Tasks:

 

Generating a valid HTML file or a valid directory name from a text fragment

This is it. The system clipboard contains a valid name that can be pasted into a document or any file dialog.

 

Generating a valid file/directory name from a Web Page Address (URL)

This is it. The system clipboard contains a valid name that can be pasted into a document or any file dialog.

 

 

 Source

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

Owner(s):

Author(s):