Author Topic: Can you send command line options after Hal has started?  (Read 149 times)

knight2000

  • Full Member
  • ***
  • Posts: 127
    • View Profile
Can you send command line options after Hal has started?
« on: April 04, 2019, 01:31:46 pm »
I would like to control Hal's mic after Hal has started up using the command line. The following code works fine if Hal is not running

"C:\Program Files (x86)\Zabaware\Ultra Hal 7\UltraHal7.exe" <SHOWHAL><MICON>"

Hal i will start with his mic enabled

However if Hal is already running he ignores any command line arguments.

Is there a way around this?

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1373
    • View Profile
    • http://www.zabaware.com
Re: Can you send command line options after Hal has started?
« Reply #1 on: April 19, 2019, 02:01:37 pm »
Hal supports an outside program sending HalCommands using an old system called DDE ( https://en.wikipedia.org/wiki/Dynamic_Data_Exchange )

I could swear I made and posted an example of this over a decade ago on this forum, but I can't seem to find it currently.
Robert Medeksza