Apparency is a scriptable application, which means that you can automate it using AppleScript. The Apparency scripting dictionary is thoroughly documented, and contains many bits of sample code. You can open the scripting dictionary directly from Script Editor, of course; or from Apparency, use Help > Open Scripting Dictionary.
