Faking keypresses on Mac OS X
sims at ezpzapps.com
Wed Feb 27 14:45:10 EST 2008
On Feb 27, 2008, at 8:34 PM, Trevor DeVore wrote:
> 8 is the C Key. 9 is the V key which I think is what you are after
> (you are using virtual key codes, right?).
> Trevor DeVore
If field "z" contains this (could also use a Custom Property):
tell application "System Events"
key code 9 using command down
Then fake button for letter "A" is this:
set the clipboardData["text"] to "A"
do fld "z" as Applescript
Across Platforms - Code and Culture
More information about the Use-livecode