Post #3983: You can on windows but it shouldn’t be necessary, what you want most likely can

📋 Metadata

🏷️ Tags

hotkeys advanced solved

  • Macro Editor
  • Python Scripting

💬 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