📋 Metadata
- Author: roaoao
- Date: 2019-05-26 21:22:17
- Type:
answer - Reply to: post_02350
- Replies (1): post_02355
💬 Content
anphung:
How would I make a button to toggle between 2 workspaces?
Add a Stack Key with 2+ slots. Eg 2 slots (Command tab):
C.window.workspace = D.workspaces['Default']
C.window.workspace = D.workspaces['Scripting']
anphung:
Or between any 2 commands in general?
Depends on the commands.
anphung:
Usually, I just use a Stack Key, but it doesn’t remember the current state/ value/ property.
Can you post an example? It should remember the state.
anphung:
How do I make buttons that switch between the tabs on the side here?
I don’t think that this is possible.