COM/OLE Automation may not behave as desired in/after WordPerfect 2020
The WordPerfect.PerfectScript object is now a legacy object
The WordPerfect.PerfectScript2 object is largely drop-in compatible at the time of writing this article, however WordPerfect.PerfectScript is being maintained only for backward compatibility. Any new features will only be added to WordPerfect.PerfectScript2.
WordPerfect.PerfectScript2 now adds full enumeration lookup in Visual Studio and allows programmers to skip optional parameters where it was not possible with the older WordPerfect.PerfectScript object.