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
Macro wrapper for VB
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
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
I made one for everyone
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
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
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Re: Macro wrapper for VB
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