Post #3983: You can on windows but it shouldn’t be necessary, what you want most likely can
📋 Metadata
- Author: Motiomancer
- Date: 2021-08-09 15:59:31
- Type:
answer - Quality Score: 7/10
- Reply to: post_03981
🏷️ Tags
⚙️ Related PME Features
- 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)