Post #2962:
St
📋 Metadata
- Author: roaoao
- Date: 2020-01-16 16:25:58
- Type:
answer - Quality Score: 8/10
- Reply to: post_02960
- Replies (1): post_02963
🏷️ Tags
macro scripting intermediate solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
StroBlend:
how I can restore the cursor (initial) position after this macro has finish ?
Add these 2 slots:
First slot:
x, y = E.mouse_x, E.mouse_y
Last slot:
C.window.cursor_warp(x, y)
❤️ 1 likes