Page 1 of 1

PostKeyPro

Posted: July 2nd, 1993, 9:00 am
by Info-Mac
Download: http://archive.info-mac.org/dev/db/a4d/ ... ro-ext.hqx

Business Network, Inc.
Michael Morehead
A cleaner version than others.
Parameters:
1: ASCII code of the key to post
2: Modifiers to press

PostKeyPro(Ascii("I");256)

Modifier codes:
cmdKey - 256
shiftKey - 512
alphaLock - 1024
optionKey - 2048
controlKey - 4096

----------------
I believe the modifier keys are cumulative i.e. for command-shift you would
pass as your second argument 768 = 256+512.