Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating Com Object
#1
I'm trying to convert this AHK script to QM code. It mimics a Dragon voice command when the user presses a hotkey.

F1::
DgnEngine:= ComObjCreate("Dragon.DgnEngineControl")
DgnEngine.Register(0)
DgnEngine.RecognitionMimic("select next paragraph")

I know how to do the keyboard hook part and if I understand correctly I don't have to register DgnEngine in QM. So would the first line then be something like?:
Code:
Copy      Help
._create("Dragon.DgnEngineControl")

And what about the RecognitionMimic part, is there an equivalent to this in QM?

Thanks.


Messages In This Thread
Creating Com Object - by InterestedNewbie - 08-01-2018, 03:50 PM
RE: Creating Com Object - by Kevin - 08-01-2018, 04:24 PM
RE: Creating Com Object - by Gintaras - 08-01-2018, 06:05 PM
RE: Creating Com Object - by InterestedNewbie - 08-01-2018, 07:58 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)