MDX and AutoIt with COM
Just upgraded to the new version of MDX with COM support. Awesome! Got Steering wheel controls working great with RR.
Now question #2, how do I control Fusion Brain from AutoIt using COM?
I'm guessing something like this:
And in the Fusion Config
$FB = ObjGet("","FusionCOM.FusionServer")
But of course it's not that simple. Anyone have any ideas?
<command id="usboff" minimum_delta_vote_time="100">
<do function="trigger output" functionTargetID="Digital Output 0" vote_opinion="off" vote_priority="medium"></do>
You shouldn't have logic (do_function) in the commands section.
Whatever your AutoIt COM name is:
Then your command and parameter (what AutoIt is being told by MDX)
<external_COM_id id="INSERT YOUR COME HERE">
You're have to find those values out an insert accordingly.
<command internal_id="command_xx" external_command="xx">
<parameter order="0" external_command_parameter="xx" />
Then for the logic
<do function="external command" functionTargetID="command_xx" vote_opinion="xx" vote_priority="Medium"></do>
stealin what you are describing is how you'd send commands to AutoIt FROM MDX. I'm talking about doing the reverse.
In that case you CAN have logic like do function in the commands section.
This whole thread is moot now. I was trying to do this as a workaround since I couldn't find a way to get RR to send commands successfully, but that has been resolved (See this thread)