Post #1262: ![](https://blenderartists.org/user_avatar/blenderartists.org/roaoao/48/37600_2.

📋 Metadata

  • Author: MaxLenneper
  • Date: 2018-03-19 11:33:10
  • Type: discussion
  • Quality Score: 7/10
  • Reply to: post_01261

🏷️ Tags

scripting intermediate solved

  • Macro Editor
  • Python Scripting
  • Command tab

💬 Content

roaoao:

Hi, yes, you can use E variable to check key modifier’s state in Command tab. For example:

E.ctrl and message_box("Ctrl function") or E.shift and message_box("Shift function") or E.alt and message_box("Alt function")

I’ll add some easier way to create this button in the next version.

Ah, wow! thank you very much for the quick reply!
It’s greatly appreciated c:
Can’t wait to see what else you got in store for us - take care and have a good one!


❤️ 1 likes


🔗 View on Blender Artists