CSharp

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);
   LogStatus(s);
 }

Complete C# sample projects for Visual Studio 2003 and 2005 are included in the iMacros download. If you develop 64-bit applications, a 64-bit version of the iMacros Scripting Interface is available in the Customer Resource area (free for all registered users).

Image:csharp-demo.png