Info-Mac Archive Downloads: dev/db/a4d/ext/

Back to dev/db/a4d/ext/

PostKeyPro (post-key-pro-ext.hqx)

Download post-key-pro-ext.hqx (2,152 KB)


From Rdatasys.COM!peter@rdatasys.com Fri Jun 25 15:14:30 1993
Date: Fri, 25 Jun 93 10:41:47 PDT
From: peter@Rdatasys.COM (Peter Amiri)
Subject: PostKeyPro

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.