Open Source iMacros Scripting Code Creator

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++.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Open Source iMacros Scripting Code Creator

by der_hannes on Sat Aug 01, 2009 11:02 am

-----
Update (2011-09-26): This project is discontinued, cf. http://forum.iopus.com/viewtopic.php?f=8&t=7561&p=41230#p41230
-----


The iMacros Script Code Creator converts your iMacros macros into some scripting/programming language's code and vice versa.

iMacros Code Creator (v.0.0.16).png
iMacros Code Creator v.0.0.16 on Win7


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 1:43 am, edited 13 times in total.
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Version 0.0.4 released

by der_hannes on Sun Aug 02, 2009 1:01 am

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/project-id/269370/rss
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Version 0.0.5 released

by der_hannes on Mon Aug 03, 2009 1:36 pm

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]
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Version 0.0.6 released (with Java support)

by der_hannes on Tue Aug 04, 2009 12:02 am

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/
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Stable version 0.0.7 released (enhanced user interface)

by der_hannes on Wed Aug 05, 2009 8:05 am

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/imacros-codegen/wiki/WikiStart
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Stable version 0.0.8 releases (UI changes)

by der_hannes on Sat Aug 15, 2009 1:32 am

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/imacros-codegen/wiki/WikiStart

[Edit: 2009.09.17 - Removed screenshot]
Last edited by der_hannes on Thu Sep 17, 2009 12:25 am, edited 1 time in total.
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Stable version 0.0.10 released (Php support)

by der_hannes on Thu Sep 17, 2009 12:24 am

Download at http://sourceforge.net/projects/imacros-codegen/files/

New:
- Php string support
- UI shows selected codestyle

icc-win.png
iMacros Script Code Creator on Windows System
icc-win.png (15 KIB) Viewed 26044 times


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
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Re: Open Source iMacros Scripting Code Creator

by ABooth on Fri Sep 18, 2009 7:17 am

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: -

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


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.
iMacros for Firefox supports JavaScript Macros (Scripting)
JavaScript supports Java via LiveConnect

Therefore: You can write powerful macros with iMacros for Firefox. Have a look at this one

Post feature requests here. Maybe one day, they'll pin it?
ABooth
 
Posts: 223
Joined: Mon Aug 10, 2009 9:25 am

Re: Open Source iMacros Scripting Code Creator

by der_hannes on Tue Jan 19, 2010 1:59 am

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.)
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Stable version 0.0.11 released (utilities tabs)

by der_hannes on Tue Jan 19, 2010 2:17 am

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>

icc-win.png
iMacros Scripting Code Creator v0.0.11 running on Windows 7
icc-win.png (39.4 KIB) Viewed 25235 times


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
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Stable version 0.0.12 released (online update check)

by der_hannes on Sat Jan 23, 2010 5:57 am

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
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

New Stable release 0.0.13 (instant conversion)

by der_hannes on Wed Mar 24, 2010 12:50 pm

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
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

New Stable release 0.0.14 (URL encoding)

by der_hannes on Wed Jun 16, 2010 11:48 pm

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 http://sourceforge.net/apps/trac/imacros-codegen
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Re: Open Source iMacros Scripting Code Creator

by potatoer on Tue Jul 20, 2010 10:07 am

I find it very useful. Thanks for sharing :D
potatoer
 
Posts: 20
Joined: Sat Mar 20, 2010 9:28 pm

Re: Open Source iMacros Scripting Code Creator

by der_hannes on Tue Jul 20, 2010 10:16 pm

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/imacros-codegen/newticket
der_hannes
 
Posts: 25
Joined: Sat Aug 01, 2009 4:18 am

Next

Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 2 guests

-->