TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When replying to a specific statement be sure to quote the previous post.

Starting .exe with ruby
Read 2799 times
* July 15, 2011, 07:04:05 PM
Starting .exe with ruby

you need the
win32ole.so
which I found at google sketchup forum

As an example I  add the
del_paperspace.exe
which is created with vb6. (it delete paperspaces counting from the back)
(Starting this .exe from the internet-palette within TC I have to confirm 2 times that I want to start the file. )

ruby file
del_ps.rb

copy 3 files to the
RubyScripts
directory

launch the Ruby console
load the del_ps.rb
and evaluate
(next time you start TC the del_ps should be in the scriptlist)

best regards
Bernd

Logged