TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software’s can be used with TurboCAD.


Starting .exe with ruby
Read 3593 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