Difference between revisions of "Key"

From Wiki
Jump to: navigation, search
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{command header|client}}
== Key ==
+
{{body|key {key-specifier} [[ alt ] | [ ctrl ] | [ shift ]]|The key command sends a keystroke of your choice to the client.
'''Client'''
+
=== Synopsis ===
+
key {key-specifier} [[ alt ] | [ ctrl ] | [ shift ]]
+
  
=== Description ===
+
The key-specifier can either be A-Z, 0-9, F1-F12 and ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGDN, PGUP, END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK or SCROLLLOCK.}}
The key command sends a keystroke of your choice to the client.  
+
 
 +
 
 +
 
 +
{{Note|If you are running more than one client, the modifier key (alt, control, shift) can sometimes not work as its supposed to.}}
  
The key-specifier can either be A-Z, 0-9, F1-F12 and ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGDN, PGUP, END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK or SCROLLLOCK.
 
<br><br>
 
'''NOTE'''
 
*If you are running more than one client, the modifier key (alt, control, shift) can sometimes not work as its supposed to.
 
  
 
=== Example ===
 
=== Example ===
Line 19: Line 15:
 
</pre>
 
</pre>
  
----
+
=See Also=
{|
+
{{Client}}
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px |
+
[[Documentation#Client |Client ]]
+
|}
+

Latest revision as of 13:57, 13 October 2007

Synopsis

key {key-specifier} [[ alt ] | [ ctrl ] | [ shift ]]

Description

The key command sends a keystroke of your choice to the client.

The key-specifier can either be A-Z, 0-9, F1-F12 and ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGDN, PGUP, END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK or SCROLLLOCK.


Note: If you are running more than one client, the modifier key (alt, control, shift) can sometimes not work as its supposed to.


Example

; This will hold the ALT key down and press the F4 key.
key F4 ALT

See Also

Client

  • Client commands are used to send information to the Ultima Online client in order to perform an action or effect some change.
chooseSkill Reads the current skill value/lock status for a specific skill
click Clicks at a specific position in the UO client
cmpPix Compares a current pixel to a previously saved pixel
contPos Moves the active topmost gump to a new position
deleteJournal Forgets the contents of the journal buffer
findItem Finds items, monsters, players, NPCs based on object ID or object type
getShopInfo Retrieves information from the client about the currently shown top entry on a shopping gump
getUOTitle Gets the text on the title bar of the client
hideItem Removes an items graphic from the client
ignoreItem Removes items from the list searched by findItem
key Sends a key-stroke to the client
move Moves the character to a specified location
msg Sends a string to the client as keystrokes
nextCPos Denotes where the next opened container/gump will open
onHotKey Performs a line of code if a specific key is pressed
savePix Saves the color of a pixel in a specified location
setShopItem Sets the number of items to purchase given by ID
setUOTitle Sets the text on the title bar of the client
scanJournal Scans the users journal and stores the string for examination
sleep Waits a specified amount of time
target Waits for a target cursor to appear
terminate Terminates the current client
uoXL Start/manage clients
wait Waits a specified amount of time