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

knight2000

  • Full Member
  • ***
  • Posts: 155
    • 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: 1469
    • 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

pactive1

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can you send command line options after Hal has started?
« Reply #2 on: August 25, 2019, 08:41:38 pm »
See post  https://www.ultrahal.com/community/index.php?topic=4101.msg22452#msg22452

Mic on, Mic off and Mic toggle

Assuming they still work