Anybody know how to collapse or hide the docker window using macro?
Why would you need a macro to perform something that takes one click with your mouse? Unless you are not explaining your question well.
Sherron
Luis: Anybody know how to collapse or hide the docker window using macro?
Here ya go..
http://forum.oberonplace.com/showthread.php?t=6830&highlight=dockers
-John
"The best thing about learning is that it never stops, and the rabbit hole will go as deep as you let it."~Johnwww.gdgmacros.com
Thank you for responding. I have written a macro that I use in X3, X4 and free trial X5. When the docker is open especially the Object manager the docker uses a lot of the resources. The macro runs slow when the status of the objects in the layers of the Object Manager display are being updated. Consequently the resource runs out when I run the macro several times. Eventually both the macro and CorelDraw will crash and becomes unresponsive. The only way I can recover from it is by ending the process through Windows Task Manager. The macro and CorelDraw work fine if the docker is collapsed/hidden. So if there is a way to collapse/hide the docker in macro I can then incorporate the code in my macro. I know about using the mouse to click and collapse/hide the docker but I tend to forget when I run the macro.
Luis
Hi John,
Thank you very much. Thats just what the doctor ordered. I have been banging my head against the wall trying to figure it out. I ran of patience going throught the VBA/Macro help menu.
I will try it. You have been a great help.
John,
Do you know where to get the list of docker names asscociated with hex numbers? What I am looking for is to be able to hide the docker window itself. Not just the tools in the docker.
Thank you.
Hi.
Thanks to a good friend for providing me with this info a while ago.
You can find docker GUIDs in the DRAWUIConfig.xml file.
The file is in C:\Users\RunFlaFlyer\AppData\Roaming\Corel\CorelDRAW Graphics Suite X4\User Workspace\CorelDRAW\_default
The way I usually find the GUID for the docker I need is by doing a search for the word "visible". The dockers you have open will be set to visible=true.
You may have to play with it for a while unitl you find the one you need.
Hope this helps.
Thank you John.
NP.
I got some real cool ideas for custom dockers too.
Just not enough time in the day....but I'll get to em eventually.
Later.