Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keystroke



Yadvinder,

Generally a keystroke can be represented by the character the keystroke produces (e.g., "e" for keystroke e). There are some typographic effects whose effect is triggered by their key name (e.g., return for inserting a return, tab for inserting a tab). There are Unicode capabilities but that is a larger topic and information is available for it.

If you are entering text into an application two line of text might be:

"We twa hae run about the braes" & return & "And pou'd the gowans fine;" & return

If you are using the GUI scripting capabilities of Applescript, there are some example files included in your OS X install. These are located in '/Library/Scripts/UI Element Scripts/'. Open the Key Down-Up.applescript to see an example of suing keystrokes and their modifiers with GUI scripting.

Happy New Year
Craig Sutherland
On Dec 31, 2003, at 6:23 AM, email@hidden wrote:
What is the keystroke for "TAB" key
Any idea from where I can find the keystrokes for rest of the keys?
Or maybe Key Code
.snip<
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.