about ruby

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
my2testing
Posts: 21
Joined: Tue Oct 30, 2007 6:57 am
Contact:

about ruby

Post by my2testing » Sat Feb 02, 2008 3:49 am

I want to run wsh-submit-2-web.iim by first.rb.
How can I write first.rb.
Please help me.
my2testing
Posts: 21
Joined: Tue Oct 30, 2007 6:57 am
Contact:

Post by my2testing » Sun Feb 03, 2008 6:15 am

why I can't run a.rb?

a.rb

Code: Select all

require 'win32ole'
iim1 = WIN32OLE.new('InternetMacros.iim')
i = iim1.iimInit 
i = iim1.iimSet("-var1", "Tom Tester")
i = iim1.iimDisplay("This is a test")
i = iim1.iimPlay("myfirstmacro")
my2testing
Posts: 21
Joined: Tue Oct 30, 2007 6:57 am
Contact:

Post by my2testing » Sun Feb 03, 2008 7:24 am

With the help of my friends, I finally solved the problem. :D
Post Reply