VoiceAttack

Profiles, Commands and Plugins => Plugin Discussions => Topic started by: alterNERDtive on August 20, 2020, 08:23:10 AM

Title: VA_StopCommand() is called on profile switching?
Post by: alterNERDtive on August 20, 2020, 08:23:10 AM
I’m happily hacking away, and all the method does in my plugin right now is run a stub that logs that it was run. I noticed that happens every time i switch profiles. So I have two questions:

Title: Re: VA_StopCommand() is called on profile switching?
Post by: Pfeil on August 20, 2020, 08:27:23 AM
Commands are stopped when profiles are switched, yes. That is intentional.

What happens when switching profiles isn't quite identical to stopping all commands manually using the action or other methods, as keyboard keys aren't released when doing the former.
Title: Re: VA_StopCommand() is called on profile switching?
Post by: alterNERDtive on August 20, 2020, 09:07:13 AM
Thanks, I must just never have noticed it. Also good to know about the keyboard thing.