ISendInputUnstableScriptingApi

ISendInputUnstableScriptingApi

This is the old input API name. In source revision 20fd3d4, the interface is hidden from ordinary browsing and only inherits the main interface:

csharp
namespace EyeAuras.Roxy.Api;

[System.ComponentModel.Browsable(false)]
public interface ISendInputUnstableScriptingApi : ISendInputScriptingApi
{
}

For a new C# Script, resolve the main interface. Open the intended application and leave it active before running:

csharp
using EyeAuras.Roxy.Api;
using System.Windows.Input;

var input = GetService<ISendInputScriptingApi>();
input.TargetWindow = null;
input.KeyPress(Key.F1);

Standard Windows Input sends F1 to the active application. A non-null TargetWindow requests activation; it does not promise background delivery. See ISendInputScriptingApi for target selection, controllers, delays and mouse operations. This requires an EyeAuras host; pass input explicitly to ordinary classes.

Source declaration. The inheritance relationship does not establish binary compatibility of arbitrary old packages with a current host.