PostKeyPro

External modules for 4D.
User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
PostKeyPro

Post by Info-Mac » July 2nd, 1993, 9:00 am

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.
Post Reply