From iMacros
Jump to: navigation, search

Basic sample code for using iMacros with C#.

 private void cmdRun_Click(object sender, System.EventArgs e)
   m_app = new iMacros.App();
   iMacros.Status s;
   s = m_app.iimInit ("", true, "", "", "", 5);
   s = m_app.iimPlay("Salesforce-com1", m_timeout);
   s = m_app.iimExit(m_timeout);

Complete C# sample projects for Visual Studio 2003, 2005, 2008 and 2010 are included in the iMacros trial download.


Screenshot: C# iMacros Test Application (part of the demo projects that come with iMacros).