[AmigaOS / ApolloOS Command Reference\FKey] 
 

FKEY

Format: FKEY [CX_PRIORITY <priority>) [CX_POPKEY <key>] [CX_POPUP <yes|no>] Template: CX_PRIORITY/N/K, CX_POPKEY/K, CX_POPUP/K, Purpose: To assign text to function and shifted function keys. Path: Extras:Tools/Commodities/FKey Specification: FKEY allows you to assign functions to keys, eliminating the need for repetitive typing. FKEY lets you assign any of eight commands to any key sequence that you can enter. The Defined Keys scrolling list shows all the currently defined key sequences. The New Key and Delete Key gadgets let you add and remove key sequences. The Command cycle gadget lets you pick a command for the current key sequence. The possible commands are the following:

Cycle Windows

Brings the rearmost application window on the Workbench screen to the front of the display and activates it. This only affects application windows opened by tools or projects, such as Clock. Disk and drawer windows are not affected.

Cycle Screens

Brings the rearmost screen to the front of the display.

Enlarge Window

Enlarges the active window to its maximum size, taking into account the edges of the screen.

Shrink Window

Shrinks the active window to its minimum size.

Toggle Window

SizeZooms the active window just as if you had selected the window's zoom gadget. It also works on windows that only have a zoom gadget and no sizing gadgets.

Insert Text

When the key sequence is entered, the specified string is inserted instead. The string to insert is specified in the Command Parameters gadget.

Run Program

Lets you run a program by pressing any key sequence. The program name and its arguments are specified in the Command Parameters gadget.

Run ARexx Script

Lets you run an ARexx script by pressing any key sequence. A script name and its arguments are specified in the Command Parameters gadget. Putting quotes around the script name turns it into an ARexx script.