Page 1 of 1

PrimalScript showing custom vbscript custom class

Posted: Sun Feb 14, 2010 8:22 am
by mors
I have a vbscript custom class in it's own vbs file that I use for some VBscripts. By adding the file into a wsf tag I can access the class from the vbscript code fine. However I haven't found a way to be able to see the class object under the PrimalScript ide. I don't want to turn this into a full COM object and need to have it registered. Can I get Primalscript to show the class and available properties/methods in the object browser or some other side screen listing? I can open the vbs in the workspace and scroll through the code looking for the identifiers but would like something a little easier.

Thanksmors2010-02-14 16:06:34

PrimalScript showing custom vbscript custom class

Posted: Mon Feb 15, 2010 6:52 am
by Alexander Riedel
If you open a WSF file in PrimalScript you should see both PrimalSense and class information.


Assuming your WSF files contains a file called "includes.vbs" (the name doesn't matter) with a class as shown here:


PrimalSense should show up when using the class:


Likewise the class browser should display information about your classes and its members:


Please note that you must open the WSF file in workspace mode
for this to work.


PrimalScript showing custom vbscript custom class

Posted: Mon Feb 15, 2010 7:32 am
by mors
Thanks. Class browser was what I was missing. Once I opened that window I saw what I was looking for.
mors2010-02-15 14:32:51