contents.gifprev1.gifnext1.gif

SET(GLOBAL_SELECT_GRAB)

Description:

This sets the nu/TPU code to be executed whenever it grabs ownership of the primary selection. The second parameter is always SCREEN. The third parameter is the code to be executed. The keyword NONE deletes the current routine. This built-in is only used in a windowed environment.

Syntax:

SET(GLOBAL_SELECT_GRAB, SCREEN )

SET(GLOBAL_SELECT_GRAB, SCREEN, executable )

Valid executable types are: Buffer, Learn, Program, Range, String, or NONE

Example:

The following tells nu/TPU to use the code in the program igotit as the grabbed global selection sequence.

SET(GLOBAL_SELECT_GRAB, SCREEN, "igotit");

Related Builtins:

GET_INFO (SCREEN, "global_routine")