Difference between revisions of "ISKernel:Press (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
Press -keylist|[-hold|-release] <key combination>
 
Press -keylist|[-hold|-release] <key combination>
  
== Description ==
+
== Forms ==
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.
+
*Press -keylist displays a list of keys available (based on Locale)
 
+
*Press <key combination> will hold down keys in order given then release them
Key names are given by your keyboard driver.  To see the full list of keys for your current input locale, use Press -keylist.
+
*Press -hold <key combination> will hold down the key combination
 +
*Press -release <key combination> will release the keys in key combination
  
 
== Examples ==
 
== Examples ==

Revision as of 19:04, 24 August 2005

Syntax

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

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

Forms

  • Press -keylist displays a list of keys available (based on Locale)
  • Press <key combination> will hold down keys in order given then release them
  • Press -hold <key combination> will hold down the key combination
  • Press -release <key combination> will release the keys in key combination

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