Originally Posted By: Indigoseth
Anyone have a good link i could use to read up on the Obj commands?


That's a big subject.

Basic object support in a language like KiXtart is very simple. It doesn't really do a lot from your perspective apart from provide access to the objects and their method and properties.

In this regard it is exactly the same as any other language with "COM automation" object support, so you can read up on (say) using objects in VB to get the basic idea.

There are some major deficiences in object support with KiXtart, which means that you simply cannot use some features. Off the top of my head:
  • Events are not supported at all. There is a kind of work-around using event sinks, but I've never got it working properly.
  • Enumerations are not automatically populated or easily derived. You need to find them in documentation or by using an object browser and add them manually to your code.
  • Pass-by-reference variables are not supported.
  • Certain ways of coding properties in objects do not work with KiXtart, so you don't get the values returned. I'm not clear on the rules myself, but basically until you try it you won't know if it is going to work or not.
  • KiXtart does not support parameters when creating objects


As regards the objects themselves, there is no single good resource for them all. The Microsoft objects (Windows, AD, DHCP, DNS, WSUS etc) are all documented on the MS sites. Third party objects (like AutoIT) are documented by the supplier, though the quality and availability of the documentation varies hugely.

Once you become familiar with objects you will be able to use object browsing tools to identify capabilities, but often it is simpler to Google with a few choice terms to find example code that you can convert to KiXtart semantics.