GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - groovy/Scriptom: Scriptom project, offering a access to Windows / COM / Ole components from Groovy

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
archived-stuff
archived-stuff
 
 
gradle/wrapper
gradle/wrapper
 
 
oddsnends/typelib
oddsnends/typelib
 
 
scriptom-all-assembly
scriptom-all-assembly
 
 
scriptom-ie-6
scriptom-ie-6
 
 
scriptom-office-2k3
scriptom-office-2k3
 
 
scriptom-office-2k7
scriptom-office-2k7
 
 
scriptom-sapi
scriptom-sapi
 
 
scriptom-scripting
scriptom-scripting
 
 
scriptom-wbem
scriptom-wbem
 
 
scriptom-wsh
scriptom-wsh
 
 
scriptom
scriptom
 
 
.gitignore
.gitignore
 
 
README.adoc
README.adoc
 
 
appveyor.yml
appveyor.yml
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

What is Scriptom

Note: Scriptom is not actively maintained.

Scriptom provides a simple yet powerful COM library for Groovy. It is implemented as a thin layer around [JACOB (Java COM Bridge)](https://sourceforge.net/projects/jacob-project/). JACOB is a mature open-source library for Java that supports communicating with COM libraries and automation servers on Microsoft Windows.

Scriptom attempts to mirror all the functionality of JACOB, but in a "groovy" way. Here is a quick example that uses Scripting.FileSystemObject to list the paths to all active rooted drives on your system (italics show COM methods and properties):

  new ActiveXObject('Scripting.FileSystemObject').Drives.findAll{it.IsReady}.each{println it.Path}       `

Visual Basic was never this easy!

Supported Variant Types and Translation Notes

Variant-Type Supported? Java VB6/VBA Comments

Empty

Yes

null

Variant.Empty

Null

Yes

VariantNull

Variant.Null

Don’t be confused. Variant.Null is not the same as null. This is by design.

Short

Yes

Short

Integer

An Integer in VB6 represents a 16-bit signed value.

Int

Yes

Integer

Long

A Long in VB6 represents a 32-bit signed value.

Long

Yes

Long/BigInteger

A 64-bit signed value. Supported by .NET. BigInteger supports arbitrary-precision integers, so there may be errors associated with converting a BigInteger to a 64-bit integer.

About

Scriptom project, offering a access to Windows / COM / Ole components from Groovy

Resources

Readme
Activity
Custom properties

Stars

23 stars

Watchers

8 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.