It’s easy to enable a control using EnableWindow(Handle, True)
, which can be done from within an application or from an external application if you can determine the handle. This allows you to enable a disabled button and click on it if there is code in the OnClick
event. This doesn’t work if an action is attached to the button and the action is disabled.
Is there a way to enable an action in a similar way from an external application?