Author Topic: [v1.8.5.7] Plugin "ProfileChanged" freeze when executing syncronous command  (Read 1678 times)

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
When the "ProfileChanged" event is handled by a plugin, and said plugin executes a command with the "WaitForReturn" parameter set to true, VoiceAttack will freeze (marked as "Not Responding", no response to voice or keyboard command triggers) if the target command contains certain actions.

I tested the "Set a Text Value", "Play a Sound", and "Get User Input - Text", "Make VoiceAttack Stop Listening" actions, all of which cause the issue.

The "Write a Value to the Event Log" action, however, does not have this effect.


This does not occur when the "WaitForReturn" parameter is set to "false".


Also applies to v1.8.5, and at least as far back as v1.7.8


As an aside, if a command using a "Get User Input" action is executed from a plugin's "VA_Init1" method, VoiceAttack's main window does not appear until the action's dialog window is closed.


EDIT: Fixed in v1.8.5.12
« Last Edit: June 04, 2020, 07:25:11 AM by Pfeil »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Hmmm -  Do you have a pared-down sample of the profile you are building that I could use to debug?