ISKernel:Press (Command)

From Lavish Software Wiki
Revision as of 23:00, 25 May 2005 by Eleven (talk | contribs)
Jump to navigation Jump to search

Syntax

Command Difficulty Rating
Press
Usage Beginner
Level of Understanding Beginner
Computer Savvy Beginner
Logic Beginner

Press -keylist|[-hold|-release] <key combination>

Description

Press is used to emulate keystrokes. With no switches given, Press will first hold down each of the keys in the given order, and then release them. If -hold or -release switches are given, the keys will either only be held, or only be released -- which can be useful when an action requires holding a key or key combination while being performed.

Key names are given by your keyboard driver. To see the full list of keys for your current input locale, use Press -keylist.

Examples

  • Press -keylist
Lists all available keys
  • Press Ctrl+Alt+X
Presses and then releases Ctrl+Alt+X
  • Press -hold Shift
Presses and holds Shift
  • Press -release Shift
Releases shift, used after a Press -hold

See Also