Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

TCLers Unite! COM question


I was wondering;

Can I use COM package to do what I normally do with Javascript ?

Accessing objects, setting values etc. ?

a happy TCLer

O/H Mel :

> I was wondering;

> Can I use COM package to do what I normally do with Javascript ?

> Accessing objects, setting values etc. ?

> a happy TCLer

Of course. Just go to wiki.tcl.tk and perform a search about COM*, tcom*
or optcl*... (the star at the end means to also search on pages body and
not only titles...)

George

Mel <MelHer@gmail.com> writes:
>I was wondering;

>Can I use COM package to do what I normally do with Javascript ?

>Accessing objects, setting values etc. ?

package require tcom
set obj [tcom::ref createobject $ProgID]
$obj Method $param1 $param2
puts [$obj Property]
tcom::foreach thing $obj {
   DoSomething $thing

}

etc etc etc

--
Pat Thoyts                            http://www.patthoyts.tk/
To reply, rot13 the return address or read the X-Address header.
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc