I'm writing a python script in Windows that can control the mouse by using ctypes to call the SendInput function from User32.dll. The script is run as an elevated process, and generally it can interact with all windows, including those from other elevated processes.
However, it cannot click any of the contents of a "User Account Control" window. Note that in my User Account Control settings, I have it configured to not dim the desktop.
What do I need to do so that mouse events created by my script can control the UAC window?