Created
January 18, 2018 18:30
-
-
Save SEVEZ/f9d2c4c2f994c3029e616fdb25a47be6 to your computer and use it in GitHub Desktop.
Toggle workspaces
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc wsToggle(){ | |
string $W,$W1,$W2; | |
$W1 = "Modeling - Standard"; | |
$W2 = "UV Editing"; | |
$W = `workspaceLayoutManager -q -current`; | |
if ($W == $W1) workspaceLayoutManager -setCurrent $W2; | |
else workspaceLayoutManager -setCurrent $W1; | |
} | |
wsToggle; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment