| DXScript is actually an
SDPlugin in itself. But it's a very special SDPlugin in
that it allows DesktopX to access COM objects as if they
were existing DesktopX classes.
When a user has created a script, they can then
enable it by right clicking on their object and
choosing to enable. They can still access the DX
properties of that object by holding down the ctrl
key which will temporarily disable the script so that it
can be manipulated (moved, resized, modified).
Windows comes with hundreds of COM
objects already installed. One way to think of COM is as
Microsoft's own "plugin" format for third parties to
use. The advantage of having DesktopX able to use COM
objects is that software developers can not only create
potentially useful things with DesktopX but also help
their software careers since knowing COM and .NET are
skills heavily requested in the job market. This is a
big advantage over learning some proprietary scripting
or plugin format. Users interact with these COM objects
using the scripting language of their choice (i.e.
VBScript, Javascript or whatever other scripting
language is installed).
There are some drawbacks, however.
Unlike SDPlugins, COM objects are not easily
distributable. For instance, if your DesktopX object
makes use of the Microsoft Spreadsheet V10 COM object,
then it may not work on someone else's system since you
cannot guarantee that every system has Microsoft Office
XP installed. So when using DXScript, this is something
to be aware of if you plan to share your object with
other users.
But obviously, if you know VBScript or
JAVAScript, then DesktopX becomes a very powerful yet
easy way to build custom applications and custom
environments. |