can I hotkey loading a specific workspace layout?
I have a multiscreen setup with floating docks on the outer monitors, when the machine wakes from hibernation it sometimes needs a moment to remember which screen is where and slam all the floating docks on main. As i usually have several instances open it's a bit of a hassle to load the layout for all of them again.
Any way to have "latest layout" on hotkey?

Comments
AFAIK, the closest you could get is to hotkey the Select layout popup.
Window>Workspace>Customize.
Under the Actions tab, the Select Layout is under the Workspace section.
It would probably be possible to use DzPaneMgr to apply a layout via script, and assign the script to a hotkey https://docs.daz3d.com/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/panemgr_dz
Haven't got the time to test it right now, to persist what Perplexity suggests I'll leave this here.
1. Script to load a named layout
Save this as a
.dsescript (for exampleLoadMyLayout.dse) in a folder that Daz Studio scans for scripts (e.g. a mapped content library underScripts). Replace"My Layout Name"with the exact name of your saved layout (what you see under Window → Workspace → Select Layout).DzPaneMgris the singleton that “manages layouts, activity layouts, pane groups, panes, and toolbars”, andApp.getPaneMgr()returns it in DAZ Script.If you want to mimic “latest layout” behavior, just always re‑load the layout you normally work in (the last one you saved), by using its name in the script.
2. Add the script to a menu or toolbar
In Daz Studio, go to
Window → Workspace → Customize….In the left tree, find your script under “Custom” or “Scripts” (depending on where you put it).
Drag it to a menu or toolbar on the right (e.g. under “Main Menu Bar → Window” or into a custom toolbar).
Now the script is an action that can receive a shortcut.
3. Assign a hotkey
Still in the Customize dialog, select the action you just added (your script) on the right side.
At the bottom, click in the “Keyboard Shortcuts” field, press the key combo you want (for example
Ctrl+Alt+L), and click “Accept”.Click “Apply” then “Accept” to close the dialog.
From now on, pressing that hotkey will call
DzPaneMgrvia the script and load the specified workspace layout in Daz Studio 4.Forum borked the code formatting:
// Load a specific workspace layout by name in Daz Studio 4
// Get the global pane manager
var paneMgr = App.getPaneMgr();
// Name of the layout as saved via Window > Workspace > Save Layout As…
var layoutName = "My Layout Name";
// Load that layout
paneMgr.loadLayout( layoutName );