I've been looking through the help file but I can't find it: Is there a way to switch workspace from a script?
I'm trying to write a script that will let me use the workspaces as "panel layouts" - the panel layout changes, but the file window remains focused on the same file(s) / category - by storing the selection, switching workspace, and then restoring the selection.
There is no such function and I don't plan to add one. Much to complicated and prone to errors. Loading a workspace basically closes and re-opens the IMatch user interface, and this can badly interact with running scripts, in many ways...