Hi @ShaneLe147 ,
do you want to reset your applied workspace? So that it is in a defined order. The command to reset the active workspace is always available. We had a discussion about resetting the current workspace at startup some years ago at hilfdirselbst.ch. Gerald Singelmann contributed some working code for the German version of InDesign:
https://www.hilfdirselbst.ch/gforum/gforum.cgi?post=526503#526503
Note, that the substring "reset" or "Reset" is always localized. In German it's "zurücksetzen" at the end of the name of the menu item. In an English environment it could be at the start of the string capitalized.
Some years ago I wrote a version of the script that does not depend on a localized string and will reset the current workspace. Just tested with my German InDesign 2022 on Windows 10. Hope, it will work with your English InDesign as well:
// ResetCurrentWorkspace-v2.jsx
// Uwe Laubender
/**
* @@@BUILDINFO@@@ ResetCurrentWorkspace-v2.jsx !Version! Wed Mar 08 2017 00:20:35 GMT+0100
*/
/*
Locale independent!
See also:
Arbeitsplatzeinstellungen bei Start zurücksetzen [CS6/WIN 7 x64]
Gerald Singelmann 24. Apr 2014, 12:49 Beitrag #4 von 5
http://www.hilfdirselbst.ch/gforum/gforum.cgi?post=526503#526503
*/
var workspaceMenu =
app.menus.itemByName("Main").
menuElements.itemByName("$ID/&Window").
menuElements.itemByName("$ID/PW_Workspace");
var wsmItems = workspaceMenu.menuItems.everyItem().getElements();
var activeWorkspaceName = "";
for(var n=0;n<wsmItems.length;n++)
{
if(wsmItems[n].checked)
{
activeWorkspaceName = wsmItems[n].name.replace(/^\[/,"").replace(/\]$/,"");
};
if(activeWorkspaceName != "" && wsmItems[n].name.match(activeWorkspaceName))
{
wsmItems[n].associatedMenuAction.invoke();
}
};
Regards,
Uwe Laubender
( Adobe Community Professional )