News:

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

Main Menu

Starting .exe with ruby

Started by ibruethsch, July 15, 2011, 07:04:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibruethsch

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