Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expect to add support for the imacros API code
#23
Does the above code run without errors?
In any case, if iMacros not installed, it will fail. Use this code instead:

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

;If the above says "The type or namespace name 'iMacros' could not be found", use the following code.
;At first copy iimInterface.dll from iMacros folder to QM folder (or to QM-created exe folder).

CsScript x
x.SetOptions("references=iimInterface.dll") ;;maybe don't need ".dll", don't remember
x.Exec("")


#ret
//C# code
using System;

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)