Exemplo n.º 1
0
 static public MotionResult KeyboardPressCombined(
     this IHostToScript sanderling,
     IEnumerable <VirtualKeyCode> setKey) =>
 sanderling?.MotionExecute(setKey?.KeyboardPressCombined());
Exemplo n.º 2
0
 static public MotionResult MouseClick(
     this IHostToScript host,
     IUIElement destination,
     MouseButtonIdEnum mouseButton) =>
 host?.MotionExecute(destination.MouseClick(mouseButton));
Exemplo n.º 3
0
 static public MotionResult MouseDragAndDrop(
     this IHostToScript host,
     IUIElement elementToDrag,
     IUIElement destination,
     MouseButtonIdEnum mouseButton) =>
 host?.MotionExecute(elementToDrag?.MouseDragAndDropOn(destination, mouseButton));
Exemplo n.º 4
0
 static public MotionResult MouseMove(
     this IHostToScript host,
     IUIElement destination,
     MouseButtonIdEnum[] mouseButton = null) =>
 host?.MotionExecute(destination.MouseMove(mouseButton));