Post #2350: How would I make a button to toggle between 2 workspaces?

πŸ“‹ Metadata

  • Author: anphung
  • Date: 2019-05-26 10:43:30
  • Type: question
  • Quality Score: 6/10
  • Replies (1): post_02353

🏷️ Tags

macro hotkeys intermediate unsolved

  • Stack Key Editor
  • Macro Editor
  • Modal Editor

πŸ’¬ Content

How would I make a button to toggle between 2 workspaces?
Or between any 2 commands in general? Usually, I just use a Stack Key, but it doesn’t remember the current state/ value/ property.
Is there a general code for that? (so I just need to replace some parts for a new button)
Thank you
@roaoao


πŸ”— View on Blender Artists