Page 1 of 1

about ruby

Posted: Sat Feb 02, 2008 3:49 am
by my2testing
I want to run wsh-submit-2-web.iim by first.rb.
How can I write first.rb.
Please help me.

Posted: Sun Feb 03, 2008 6:15 am
by my2testing
why I can't run a.rb?


Code: Select all

require 'win32ole'
iim1 ='InternetMacros.iim')
i = iim1.iimInit 
i = iim1.iimSet("-var1", "Tom Tester")
i = iim1.iimDisplay("This is a test")
i = iim1.iimPlay("myfirstmacro")

Posted: Sun Feb 03, 2008 7:24 am
by my2testing
With the help of my friends, I finally solved the problem. :D