Okay so in one of my projects each letter has it's own macro. For example the "s" macro has the command "write s" and to do it as a capital you hold shift and the command is "write S". Unusual I know but I can tell you that this is required. The issue I have is that this method doesn't take into account caps-lock and I can't capture the caps-lock key as a macro.

Any ideas how I can do this? Thanks.
I don't think there's a way to check if caps lock is active or not. (maybe only Javascript but that'll be slow)
In response to Zaoshi
Okay, I'll just make a custom caps-lock key then.