In the “ToScriptExtension” file, all functions require “IHostToScript”
for example “MouseClick”
static public MotionResult MouseClick(
this IHostToScript host,
IUIElement destination,
MouseButtonIdEnum mouseButton) =>
host?.MotionExecute(destination.MouseClick(mouseButton));
can anybody write me the code to get “IHostToScript”