Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expect to add support for the imacros API code
#18
iMacros exports C# code that uses its .NET library. It is not Selenium code.

QM can run C# code, but need to know the .NET dll path and the namespace.
Don't need the dll path if the dll is installed in the .NET assembly cache; then need just the namespace name, to add code line 'using Namespace;'. You can find it in iMacros C# samples.
QM code can be:

Macro Scripting C#, run Main function, args2
Code:
Copy      Help
CsExec("")


#ret
//C# code
using System;
using System.Windows.Forms;
using iMacros; //need this. Replace iMacros with the real namespace name.

class Test
{
static void Main()
{
,//add the exported C# code here
}
}


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)