docServerUserLandCom picture
Contents
Frontier Site

kb.shiftKey

Syntax kb.shiftKey ()

Params None required.

Action Determines whether the Shift key is now being pressed.

Returns True if the Shift key is being pressed, false otherwise.

Examples Locate a script called example.WatchKeys. Copy it. Now use the UserLand menu's Agents sub-menu to Open Agents Table. Now paste the script using the Paste option from the Edit menu or by typing Command-V. If background processes are turned on, you
will now be told every time Frontier detects you pressing the Shift key.
When you are done experimenting, be sure to delete system.agents.WatchKeys; otherwise, you'll find yourself being interrupted often when you are using Frontier.


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.