Thanks, I checked. Yes, I'm pointing to the correct dll. I think.
I did a complete reinstall to make sure I had just one such DLL. This one has the version I noted, and yields 0 as result regardless of the button state. Also, I can't control buttons anymore.
By the way, during install, the installer splash screen shows Windows 10, while I am on Windows 11... is it just a splash screen or some indication?
Edit: I added some code to use the registry entry, and this gives the same result (does not work).
Suggestions are welcome.
Bug in the 3.2.0.5 API?
-
- Site Admin
- Posts: 2121
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Bug in the 3.2.0.5 API?
the vmr_client.exe from 2021 (in Voicemeeter Remote API package) works with latest version x.1.1.9, so you may try it and check the source code to see what you are doing wrong: https://github.com/vburel2018/Voicemeet ... n/example0
Re: Bug in the 3.2.0.5 API?
Ah yes... more insights.
Thanks for the great help, your tool was a great idea, it showed me I did read the proper value - then I found this:
It's just like the commands under "Request For Initial State" do not run anymore at Macro Button startup. Or, too early and get overwritten after.
If I put this in:
This does not get done. State and color are unchanged*. This did work in an earlier version. When this isn't done, my script which depends on this, can't do what I want and appears to fail. But the reason is not the script nor the API, it's that request initial state that seems to not work, or at least, has unexpected behaviour.
Again your ideas are highly appreciated.
* = This version of Macro Buttons does partially remember button states, which the earlier versions did not do. Colors are not remembered until the mark to "Store Last Button State" is checked. Major differences, in my opinion..... breaking functionality.
Thanks for the great help, your tool was a great idea, it showed me I did read the proper value - then I found this:
It's just like the commands under "Request For Initial State" do not run anymore at Macro Button startup. Or, too early and get overwritten after.
If I put this in:
This does not get done. State and color are unchanged*. This did work in an earlier version. When this isn't done, my script which depends on this, can't do what I want and appears to fail. But the reason is not the script nor the API, it's that request initial state that seems to not work, or at least, has unexpected behaviour.
Again your ideas are highly appreciated.
* = This version of Macro Buttons does partially remember button states, which the earlier versions did not do. Colors are not remembered until the mark to "Store Last Button State" is checked. Major differences, in my opinion..... breaking functionality.
Last edited by stoepie on Sat Jan 11, 2025 7:55 pm, edited 3 times in total.
Re: Bug in the 3.2.0.5 API?
The fix is easy.
Request For Initial State must start with some delay, otherwise setting button state and color is not done (or done but gets overwritten with the new function in Macro Buttons that partially remembers the states of buttons).
I found that 100ms works, I will use 1000ms.
Can I query if app startup is done? I hate using timeouts..
Or, can Macro Buttons first finish initializing and then launch the Request for initial state?
Request For Initial State must start with some delay, otherwise setting button state and color is not done (or done but gets overwritten with the new function in Macro Buttons that partially remembers the states of buttons).
I found that 100ms works, I will use 1000ms.
Can I query if app startup is done? I hate using timeouts..
Or, can Macro Buttons first finish initializing and then launch the Request for initial state?
-
- Site Admin
- Posts: 2121
- Joined: Sun Jan 17, 2010 12:01 pm
Re: Bug in the 3.2.0.5 API?
Thanks for your great support and tips that pointed me in the right direction. I would not have found it by myself.
Also thanks for taking a fix in consideration.
Do you have a 'buy me a beer'-button?
-David
Also thanks for taking a fix in consideration.
Do you have a 'buy me a beer'-button?
-David