Use Available Standard Commands

How to use the method in Available Standard Commands as shown?


You can call them like this (e.g. dialogOpen):

cmd = app.findCommand('dialogOpen')
cmd.execute('', False, '')

Do note that there are documented standard commands which do not work anymore on newest VC releases.


Thank you in advance for your reply!

But it doesn’t work when I use some methods, such as saveScreen.

The VC version I use is 4.1.0.

Yes some commands are from old releases (2012-2014) that are deprecated in 4.X but documentation just hasn’t been updated.