Jun 28, 2012

[iMacros Program] iMacros Script Code Creator

iMacros Script Code Creator

About the Software

The iMacros Code Creator is a simple tool to convert iMacros macros into a scripting language's code fragment that contains the very same macro e.g. in a string variable, cf. screenshot below. The other way round (script -> macro), conversion is supported, too, which makes the software very useful for developers that want to script the iMacros software.
Here's how the iMacros Code Creator looks like on Windows 7:


Features

Currently supported code styles

  • VBS string
  • VB function
  • Javascript string (useful for Firefox scripting)
  • C# string
  • Java string
  • Php string

Utilities

  • New! Convert macros and Javascript to single URLs (for iMacros' Social Scripting feature)
  • Sample code (VBS only)
  • Links to online code samples
  • iMacros string conversion ("My Documents" --> "My<SP>Documents")
  • Check for updates online

Contact

Please submit bugs, feature requests and all other questions by creating a ticket.

Popularity

Find the download stats here

  

image and content from http://sourceforge.net/apps/trac/imacros-codegen

Jun 23, 2012

[iMacros Script] Remove All Notes From Facebook Notes

Remove All Notes From Facebook Notes
***Change the value. The red.***
/*                                              Save File As .js   (javascript file)       
                                                    Start Script

*/

var jsLF="\n";
var header,macro;
Remove_Drafts = 0;
Your_Note_Link    = 'http://www.facebook.com/pages/XXXXX/999999999999999?sk=notes';



for (i = 1;i<100;i++){
    macro = "CODE:";
    macro += "SET !ERRORIGNORE YES" + jsLF;
    macro += "SET !ERRORCONTINUE YES" + jsLF;
    if (Remove_Drafts != 1){
        macro += "URL GOTO="+ Your_Note_Link + jsLF;
        macro += "TAG POS=1 TYPE=A ATTR=HREF:/note*"    + jsLF;   
        macro += "WAIT SECONDS=1"    + jsLF;   
        macro += "TAG POS=1 TYPE=I ATTR=CLASS:mrs<SP>img<SP>*"    + jsLF;
        macro += "WAIT SECONDS=1"    + jsLF;       
        macro += "TAG POS=1 TYPE=SPAN ATTR=TXT:Delete"    + jsLF;   
    }else{
        macro += "URL GOTO=" + Your_Note_Link + '_drafts' + jsLF;
        macro += "TAG POS=1 TYPE=A ATTR=TXT:Discard"    + jsLF;       
    }
    macro += "WAIT SECONDS=1"    + jsLF;   
    macro += "TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:confirm&&VALUE:Confirm"    + jsLF;   
    iimPlay(macro);
}
iimPlay(macro);

/*                                                   End Script
*/