Download: http://archive.info-mac.org/dev/db/a4d/ ... ys-ext.hqx
To: [email protected]
X-VMS-To: IN%"[email protected]"
Modkeys(Var1)
Var1 is of type Integer.
This external returns in Var1 the state of the 4 keyboard modifier keys when the external was called.
Be sure to initialize Var1 BEFORE using it in the external call!
256 - Command key down
512 - Shift key down
1024 - Caps lock key down
2048 - Option key down
(multiple keys will return additive results, eg. cmd+shift=256+512=768.)
To use, place in the During portion of the layout proc & call when you want to check the modifier keys.
