on ‎2019 Sep 18 12:38 PM
I can use in the JScript code of IRPA the embedded class ctx.wscript.shell. Here an example with the available methods.

Also I can use WScript.Shell class directly. Here an example with the available methods.

The wscript.js library reveal us that the method expandEnvString from the ctx.wscript.shell class is nothing more than a wrapper around ExpandEnvironmentStrings method from WScript.Shell class.

What is the benefit of using the ctx.wscript.shell class in comparisation to WScript.Shell? If I use WScript.Shell directly, I even have many more possibilities as at ctx.wscript.shell.
Thanks for tips and hints.
Best regards
Stefan
Request clarification before answering.
Hi
Yes some functions in our SDK are wrapper on activeX objects.
Most of the users don't know how to use activeX objects and how to find the documentation on it. With this we provide in our SDK a set of functionalities.
If the functions provided by the SDK aren't enough you can use activeX objects directly. But keep in mind that we maintain and support only our SDK function, not the activeX objects themself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.