4 messages in org.codehaus.groovy.dev[ANN] Scriptom: COM Scripting in Groovy
FromSent OnAttachments
Guillaume LaforgeDec 30, 2004 10:14 am 
Dierk KoenigJan 3, 2005 7:01 am 
Guillaume LaforgeJan 3, 2005 7:15 am 
Dierk KoenigJan 3, 2005 7:47 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ANN] Scriptom: COM Scripting in GroovyActions...
From:Guillaume Laforge (glaf@codehaus.org)
Date:Dec 30, 2004 10:14:56 am
List:org.codehaus.groovy.dev

Hello all, particularly Windows users,

Here is a new toy--a late Christmas gift--for you to play with. Scriptom is targeted exclusively at the users working under Windows.

Scriptom is a new module that allows you to use Groovy to script COM or ActiveX components, while still leveraging all the java libraries available!

To learn more about Scriptom, how to get it, to install it, and to play with a few examples, I've written some extensive documentation on Confluence:

http://groovy.codehaus.org/COM+Scripting

Just to give you a little taste of what you can do, here is a small example on how to script Internet Explorer from Groovy:

import org.codehaus.groovy.scriptom.ActiveXProxy explorer = new ActiveXProxy("InternetExplorer.Application") explorer.Visible = true explorer.AddressBar = true explorer.Navigate("http://glaforge.free.fr/weblog")

You can even use the ScriptControl component to mix VBScript code and Groovy! A somewhat alien alliance, but Scriptom can be pretty useful ;-)

Enjoy!