AUTOPASTE Mnemonic - Allow Automatic Copy and Paste of a Single Word (SysConsole/SysWindow)

Syntax

'autopaste'("off")

'autopaste'("on")

Description

In BBj 11.0 and higher, the 'AUTOPASTE' mnemonic allows automatic copying and pasting of a single word that is selected by double-clicking with the left mouse button. The mnemonic has no effect whatsoever unless Ctrl+C copy mode is activated via the SysWindow ‘Edit’ menu or the 'ctrlccopy'("on")mnemonic.

When set to ‘off’, double-clicking on a word in the SysWindow screen selects the word with reverse video highlighting. The text of the selected word is not automatically copied or pasted.

When set to ‘on’, double-clicking on a word in the SysWindow screen automatically triggers the following actions:

  1. The word is selected.
  2. A newline character ('\n') is appended to the end of the word.
  3. The text of the word, including the newline character at the end, is placed in the system copy clipboard.
  4. The text is pasted into the currently active input field of the SysWindow, which may be the READY> prompt, or an INPUT, READ, or READ RECORD, INPUTE or INPUTN field.

Because a newline character is appended to the end of the selected word, the input field receiving it may immediately consider input to be completed and forward the text to the BBj interpreter. For this reason turning on the automatic paste feature with the 'autopaste'("on") mnemonic is probably catastrophically inappropriate in most situations.

The status of automatic pasting cannot be set either “on” or “off” unless Ctrl+C copy mode is active. Therefore, the 'autopaste' mnemonic is totally ineffective unless preceded by the 'ctrlccopy'("on") mnemonic, or unless the user has already enabled Ctrl+C copy mode via the SysWindow’s ‘Edit’ menu.

Parameter

Description

"off"

Turns off the automatic copy/paste feature, provided Ctrl+C copy mode is active.

"on"

Turns on the automatic copy/paste feature, provided Ctrl+C copy mode is active.


See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing