Invoke-UDEndpoint -id "someButton" -wait does not change the button to wait
Product: PowerShell Universal Version: 5.0.16
When using a button with -wait, the button turns into a “wait circle” and is disabled, until the action has finished. Great.
When invoking a “click” with Invoke-Endpoint, the button does not change.
So I need to manually disable the button before the invoke command, and enable it afterwards again. And no “wait circle” is possible.
Can that be changed, so that a programmatical “click” shows identical behavior like an actual click.
It could be changed to achieve this. I think the issue is that we would need to ensure that we let the button know that the endpoint is being invoked. Right now, that just happens in the backend, so the button doesn’t actually visually change. Feel free to open a feature request.
Adam Driscoll
PowerShell Expert and Developer at Devolutions