News:

Happy New Year!

Main Menu

ShapeSheet DOCMD() comands

Started by Thomas Winkel, September 13, 2024, 08:48:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Thomas Winkel

Here is a list of all Visio "DoCmd" commands:
https://learn.microsoft.com/en-us/office/vba/visio/concepts/docmd-docmd-commands

All of them can be used for automation (VBA).
But only a subset can also be used in the ShapeSheet.
In the attached Excel document the auto-filter can be used to find them quickly.

For example EventDrop = DOCMD(1052) will ungroup a group on drop.

Surrogate

#1
Many years ago I prepare web-based table
https://surrogate-tm.github.io/surrogate/DOCMD.htm
There you can also use filters and so on...

It's sad that the forum doesn't have the ability to embed such tables. As in this post at Russian Visio  forum.

Thomas Winkel

Ah, good to know. I didn't find that with Google. Having it online is of course better than downloading an Excel file.

In our VSTO AddIn I implemented many of these commands as MarkerEvent because I didn't know about this option :-[
Now, I change that to DOCMD() because this does not require the AddIn.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 187 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1043KB.
Tokens: post-login.
Cache hits: 13: 0.00195s for 26,602 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]