Tuesday, March 11, 2008

Using comm components in jaws scripts

Hi friends, have u ever faced a situation that you can write code in some other language, but that is not possible using jaws scripts? We can actually solve problem but we can not always solve that problem using jaws script.

Here is the solution for that. If you know any language that supports comm compatebility then you can actually write some functions in that language and compile your code and also make it a comm dll, now you can register your comm component in windows using regsvr32 and start using functions written in that component. You can create objects of your comm component by using CreateObject function of jaws script engine and pass required parameters to them. Comm can give your scripts a great power which in some cases is not possible in jaws scripting.