Lucas Jones Lucas Jones - 1 year ago 142
Python Question

Change keyboard locks in Python

Is there any way, in Python, to programmatically change the CAPS LOCK/NUM LOCK/SCROLL LOCK states?

This isn't really a joke question - more like a real question for a joke program. I intend to use it for making the lights do funny things...

Answer Source

If you're using windows you can use SendKeys for this I believe.

import SendKeys

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download