Post #924: Wa

πŸ“‹ Metadata

  • Author: roaoao
  • Date: 2017-09-19 11:07:20
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_00923

🏷️ Tags

pie-menu hotkeys advanced solved

  • Pie Menu Editor
  • Custom Python Scripting
  • Hotkey Configuration
  • Modal Editor

πŸ’¬ Content

Way2Close:

roaoao, Just wondering would it be possible to hold a hotkey (shift left mouse) and have a pie stay open so you could press multiple buttons? Just a thought :stuck_out_tongue: Oh and great work on the update.

No, but you can reopen the pie. Try this code in Custom tab:

lo = pme.context.last_operator; operator(L, "pme.exec", "Shift+LMB to Reopen", cmd="print('Hello world'); E.shift and (C.window.cursor_warp(%d, %d), open_menu('%s'))" % (E.mouse_x, E.mouse_y, lo.pie_menu_name))

You can replace print(β€˜Hello world’) with your command.


πŸ”— View on Blender Artists