Instead of risking a compromised "patch," you can use several reputable, free, or open-source automation tools that offer similar (or even more advanced) features:
Software license keys are cryptographically protected tokens used to verify that a user is entitled to premium features. mouse and keyboard recorder 3346 license key patched