How Can I Toggle Hide Dockers Like in Photopaint but in Coreldraw? Is VBA a solution?
I have a blog post that has something about hiding and showing specific dockers using VBA:
#7: Macros for Quick Access to Dockers.
It requires knowing the GUID of the docker in question.
Can I ask for how to find and use GUID ? for anyone to find and use this solution easier
In your "user" space, there is a folder where workspace files (.cdws) are stored, e.g.,
C:\Users\[your user name]\AppData\Roaming\Corel\CorelDRAW Graphics Suite 2024\Draw\Workspace.
A .cdws file is a Zip archive, so you can open it in a suitable program, e.g., 7-Zip.
In that archive, in the content folder, there is a text file, workspace.xml. That xml file is where a lot of the information about that specific workspace - including customization - is stored.
One way to find a GUID for a command in CorelDRAW is something like this, using CorelDRAW workspace customization.
After finding the GUID, you can search on that to see other places where it is present in the xml file. By doing some of this, you can identify different toolbars and menus in the UI, and from that, figure out the identities of other commands in those toolbars or menus, because the commands are in the same order in the file as they are in the toolbar or menu.
I think that other people have shared more elegant ways of doing that, but I don't have any notes about it.