Here is presented a way to make a custom button on a custom menu allocating a macro name in X5
How is possible to do that in X8. Should we follow the same logic?
Yes is the same logic
Thanks!
But where to find DRAWUIConfig.xml to firstly make a backup? Or its equivalent for X8... In Workspace folder does not exist any folder and any xml file. Should I neglect this recommendation and just start creating the recommended files in Addons folder? Is it safe?
you will find in %appdata%\Roaming\Corel\CorelDRAW Graphics Suite X8\Draw\Workspace folder in windows 7 or newers, you can acess the xml file changing the workspace extension of cdws to zip.
For test yours xslt file you will need reset workspace many times, you can add this line in post build events in visual studio for reset your workspace
RD /S /Q "%appdata%\corel\CorelDRAW Graphics Suite X8\Draw\Workspace"
Cool... I would never figured it up by myself. Where did you find such documentation saying something about this issue?
I was thinking to firstly create the files manually in Addons folder and in case it works, to write them by C# wouldn't be too difficult. But why is it necessary to (many times) reset workspace? What does that mean?
Should I update the workspace.xml file to refer my newly created files each time I check them? I thought corel will do that by itself at opening and finding something new in Addons folder... Like adding a docker. Is it something I am missing?
The link to the 'working example' for X5 doesn't work any more. Do you have such a working example for X8? Or for any version, if not X8?
Thanks in advance!
After any change in userui.xslt you will need reset the workspace to take the changes, Visual Studio can help write the basic stuffs in xslt files