Open Source iMacros Scripting Code Creator
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
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Open Source iMacros Scripting Code Creator
-----
Update (2011-09-26): This project is discontinued, cf. http://forum.imacros.net/viewtopic.php?f= ... 230#p41230
-----
The iMacros Script Code Creator converts your iMacros macros into some scripting/programming language's code and vice versa.
Supported macro-to-code conversions (both by-click and while-you-type):
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string
Additional utilities
- New! Convert macros and Javascript to URL for iMacros' Social Scripting feature
- iMacros string converter (replace blank spaces by <SP> and newlines by <BR>)
- code samples + links to online samples
- online update check: check for new releases by a single click
Feel invited to
- download the iMacros Scripting Code Creator from SourceForge
- view/get the sources from our Git repository
- send your comments / bug reports / patches via the project's Trac system
[Edit:2009/09/17: Completely rewritten, screenshot updated]
[Edit:2009/09/14: Screenshot updated]
[Edit 2009/08/15: Added screenshot]
[Edit 2009/08/02: Changed Subject]
[Edit:2010/01/19: Screenshot updates to 0.0.11]
[Edit:2010/01/23: Description + screenshot updated to 0.0.12]
[Edit:2010/03/24: Description + screenshot updated to 0.0.13]
[Edit:2010/06/16: Descripting + screenshot updated to 0.0.14]
[Edit:2010/09/28: Screenshot now 0.0.16]
[Edit:2011/09/26: Discontinuation notice]
Update (2011-09-26): This project is discontinued, cf. http://forum.imacros.net/viewtopic.php?f= ... 230#p41230
-----
The iMacros Script Code Creator converts your iMacros macros into some scripting/programming language's code and vice versa.
Supported macro-to-code conversions (both by-click and while-you-type):
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string
Additional utilities
- New! Convert macros and Javascript to URL for iMacros' Social Scripting feature
- iMacros string converter (replace blank spaces by <SP> and newlines by <BR>)
- code samples + links to online samples
- online update check: check for new releases by a single click
Feel invited to
- download the iMacros Scripting Code Creator from SourceForge
- view/get the sources from our Git repository
- send your comments / bug reports / patches via the project's Trac system
[Edit:2009/09/17: Completely rewritten, screenshot updated]
[Edit:2009/09/14: Screenshot updated]
[Edit 2009/08/15: Added screenshot]
[Edit 2009/08/02: Changed Subject]
[Edit:2010/01/19: Screenshot updates to 0.0.11]
[Edit:2010/01/23: Description + screenshot updated to 0.0.12]
[Edit:2010/03/24: Description + screenshot updated to 0.0.13]
[Edit:2010/06/16: Descripting + screenshot updated to 0.0.14]
[Edit:2010/09/28: Screenshot now 0.0.16]
[Edit:2011/09/26: Discontinuation notice]
Last edited by der_hannes on Mon Sep 26, 2011 8:43 am, edited 13 times in total.
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Version 0.0.4 released
New release 0.0.4 now supports converting macros to and from:
- VBS string
- VB function
- JavaScript string (NEW! Useful for Firefox scripting under Windows and Linux)
Download here: http://sourceforge.net/projects/imacros-codegen/files/
P.S.: If you are interested in new releases, you may either subscribe to this thread ("SUBSCRIBE TOPIC" below), or add the SourceForge file-release RSS feed to your news reader: http://sourceforge.net/api/file/index/p ... 269370/rss
- VBS string
- VB function
- JavaScript string (NEW! Useful for Firefox scripting under Windows and Linux)
Download here: http://sourceforge.net/projects/imacros-codegen/files/
P.S.: If you are interested in new releases, you may either subscribe to this thread ("SUBSCRIBE TOPIC" below), or add the SourceForge file-release RSS feed to your news reader: http://sourceforge.net/api/file/index/p ... 269370/rss
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Version 0.0.5 released
New release 0.0.5 now supports converting macros to and from:
- VBS string
- VB function
- JavaScript string (Useful for Firefox scripting)
- C# string (New!)
Download at: http://sourceforge.net/projects/imacros-codegen/files/
[Edit: Added download link]
- VBS string
- VB function
- JavaScript string (Useful for Firefox scripting)
- C# string (New!)
Download at: http://sourceforge.net/projects/imacros-codegen/files/
[Edit: Added download link]
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Version 0.0.6 released (with Java support)
New release 0.0.6 supports the following code conversions
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string (NEW!)
Download at: http://sourceforge.net/projects/imacros-codegen/files/
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string (NEW!)
Download at: http://sourceforge.net/projects/imacros-codegen/files/
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Stable version 0.0.7 released (enhanced user interface)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New:
- Enhanced UI that allows resizing the window
- VBS code sample
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacro ... /WikiStart
New:
- Enhanced UI that allows resizing the window
- VBS code sample
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacro ... /WikiStart
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Stable version 0.0.8 releases (UI changes)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New:
- Moved conversion buttons to corresponding text fields (misclicking should now be avoided)
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacro ... /WikiStart
[Edit: 2009.09.17 - Removed screenshot]
New:
- Moved conversion buttons to corresponding text fields (misclicking should now be avoided)
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacro ... /WikiStart
[Edit: 2009.09.17 - Removed screenshot]
Last edited by der_hannes on Thu Sep 17, 2009 7:25 am, edited 1 time in total.
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Stable version 0.0.10 released (Php support)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New:
- Php string support
- UI shows selected codestyle
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string (new!)
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
New:
- Php string support
- UI shows selected codestyle
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string (new!)
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
Re: Open Source iMacros Scripting Code Creator
Not to be critical of your work (I'm sure it's a great time saver), but wouldn't it be more efficient to create a framework component to act like an API, rather than parsing to text?
In other words, something like this: -
This example uses a COM (Interop) object and each method call executes a 1 line macro script. As a user, you wouldn't care what the imacro syntax is and you wouldn't need to generate a static script, parsed into VB strings.
Just a thought.
In other words, something like this: -
Code: Select all
'Declare variables
Dim scriptApi, messageOfTheDay
'Create a COM object instance
Set scriptApi = CreateObject("imacros.ScriptGenerator")
scriptApi.GoToUrl "www.google.com"
scriptApi.Wait 5
If scriptApi.setValue("username", "MyUserAccountId", scriptApi.Entities.TextBox) Then
scriptApi.Click "submit", scriptApi.Entities.Button
messageOfTheDay = scriptApi.GetValue("message", scriptApi.Attributes.Value)
If "" <> messageOfTheDay Then
MsgBox "The message of the day is: '" + messageOfTheDay
End If
Else
MsgBox "Couldn't log in"
End If
Just a thought.
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Re: Open Source iMacros Scripting Code Creator
I'm sorry, but I don't get the point.
The "translation software" would be put into a COM object, and then ... I'm lost.
You directly access that COM object in your scripts? Is that the point?
(Did not get a notification on this topic, so I did not see your post more early, sorry.)
The "translation software" would be put into a COM object, and then ... I'm lost.
You directly access that COM object in your scripts? Is that the point?
(Did not get a notification on this topic, so I did not see your post more early, sorry.)
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Stable version 0.0.11 released (utilities tabs)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New: Utilities tabs
- sample code
- links to online samples
- string converter replacing blanks by <SP> and newlines by <BR>
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
New: Utilities tabs
- sample code
- links to online samples
- string converter replacing blanks by <SP> and newlines by <BR>
Supported conversions:
- Macro <--> VBS string
- Macro <--> VB function
- Macro <--> JavaScript string (Useful for Firefox scripting)
- Macro <--> C# string
- Macro <--> Java string
- Macro <--> Php string
Please post your comments / bug reports / feature requests in the project's Trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Stable version 0.0.12 released (online update check)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New feature:
- online update check: check for new releases by a single click
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
New feature:
- online update check: check for new releases by a single click
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
New Stable release 0.0.13 (instant conversion)
Download at http://sourceforge.net/projects/imacros-codegen/files/
New feature:
- Instant Conversion: code is converted right while you're typing (if enabled). Both, macro to code and code to macro.
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
New feature:
- Instant Conversion: code is converted right while you're typing (if enabled). Both, macro to code and code to macro.
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at http://sourceforge.net/apps/trac/imacros-codegen
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
New Stable release 0.0.14 (URL encoding)
New feature:
- URL encoding: convert your macro or Javascript to a (base64 encoded) URL that others can simply copy and paste (or click) to run your macro. iMacros calls this Social Scripting.
Download at http://sourceforge.net/projects/imacros-codegen/files/
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at h[url]ttp://sourceforge.net/apps/trac/imacros-codegen[/url]
- URL encoding: convert your macro or Javascript to a (base64 encoded) URL that others can simply copy and paste (or click) to run your macro. iMacros calls this Social Scripting.
Download at http://sourceforge.net/projects/imacros-codegen/files/
Get more information or post your comments / bug reports / feature requests in the project's trac ticket system at h[url]ttp://sourceforge.net/apps/trac/imacros-codegen[/url]
Re: Open Source iMacros Scripting Code Creator
I find it very useful. Thanks for sharing
-
- Posts: 25
- Joined: Sat Aug 01, 2009 11:18 am
Re: Open Source iMacros Scripting Code Creator
Thank you for the feedback!
If you have any feature proposals, bug reports, or anything else related to the code creator, don't hesitate to tell us at http://sourceforge.net/apps/trac/imacro ... /newticket
If you have any feature proposals, bug reports, or anything else related to the code creator, don't hesitate to tell us at http://sourceforge.net/apps/trac/imacro ... /newticket