Changing the state of the Caps Lock key via a script

Hello all,

I’m looking for a way to change the state of the Caps Lock key via AppleScript in both OS X and OS 9. It can be 2 separate scripts (one for OS 9 and one for OS X).

This AppleScript would be called from within a FileMaker file/runtime.

I researched long and hard and can’t find a way to do it… any help is GREATLY appreciated.

Thanks

cin