📋 Metadata

💬 Content

You can on windows but it shouldn’t be necessary, what you want most likely can be done without needing the leftmouse click

This simulates the click on the command tab:

import ctypes; ctypes.windll.user32.mouse_event(0x2, 0,0,0,0); ctypes.windll.user32.mouse_event(0x4, 0,0,0,0)

🔗 View on Blender Artists