Macro wrapper for VB

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
smaxor
Posts: 31
Joined: Sun Jan 08, 2006 5:45 pm
Contact:

Macro wrapper for VB

Post by smaxor » Sun Jan 08, 2006 5:50 pm

Has anyone made a macro wrapper for VB yet that you can just drop in your macrocode and it will out put it in the proper format to drop into vb or vbs.

So:
VERSION BUILD=4310722
SET !REPLAYSPEED FAST
TAB T=1
TAB CLOSEALLOTHERS
SIZE X=876 Y=627
ONLOGIN USER={{RSLOGIN}} PASSWORD={{RSPASS}}
URL GOTO=http://{{RSDOMAIN}}:2086
TAB T=1

would return:
MyMacroCode = "CODE:"
MyMacroCode = MyMacroCode + "VERSION BUILD=5001027" + vbNewLine
MyMacroCode = MyMacroCode + "SET !REPLAYSPEED FAST" + vbNewLine
MyMacroCode = MyMacroCode + "TAB T=1" + vbNewLine
MyMacroCode = MyMacroCode + "TAB CLOSEALLOTHERS" + vbNewLine
MyMacroCode = MyMacroCode + "ONLOGIN USER={{RSLOGIN}} PASSWORD={{RSPASS}}" + vbNewLine
MyMacroCode = MyMacroCode + "URL GOTO=http://{{RSDOMAIN}}:2086" + vbNewLine
MyMacroCode = MyMacroCode + "TAB T=1"

By the way this features awsome so you can hide everything and don't have to give people your macros. If no one has I'll make one in vbs and throw is on a webpage somewhere.

Success,
Jason
frank1
Posts: 1
Joined: Mon Jan 09, 2006 9:08 pm

Post by frank1 » Mon Jan 09, 2006 9:09 pm

That sounds like are really good idea! If you create such a tool, please post the VBS code here :D

Thanks,
Frank
smaxor
Posts: 31
Joined: Sun Jan 08, 2006 5:45 pm
Contact:

I made one for everyone

Post by smaxor » Tue Jan 17, 2006 6:21 am

check out

www(dot)turboautomation(dot)com/files/VBMacroCodeWriter.zip

I built in help and code for creating your application in 30 seconds or less.

If you redistribute anything this is a must so people can't take your macro code. Let me know what you think.

Success,
Jason
addiktion
Posts: 29
Joined: Thu Mar 01, 2007 10:07 am

Post by addiktion » Fri Feb 01, 2008 10:05 am

Dead URL. We need this file :S
omarg
Posts: 1
Joined: Sat Apr 12, 2008 10:26 am

Re: Macro wrapper for VB

Post by omarg » Thu Apr 17, 2008 5:24 am

You can download the zip file directly from here:
http://tinyurl.com/5fbklo

Cheers,

Omar
der_hannes
Posts: 25
Joined: Sat Aug 01, 2009 11:18 am

Re: Macro wrapper for VB

Post by der_hannes » Sat Aug 01, 2009 6:22 pm

An old thread, I know. But you may stumble over this just like I did, and in this case, you may be interested in the following free and open source alternative to the iMacrosCodeWriter: http://forum.imacros.net/viewtopic.php?f=8&t=7561
Post Reply