UiPath Documentation
activities
latest
false
UI Automation アクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

マウス スクロール

UI Automation のコード化されたオートメーション API の MouseScroll: 指定した UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

アプリケーション内でマウス スクロール イベントを送信し、指定した UI 要素までのスクロールを可能にします。

この API は Open または Attach の後に追加する必要があります。

定義

名前空間: UiPath.UIAutomationNext.API.Models

アセンブリ: UiPath.UIAutomationNext.API.Models (in UiPath.UIAutomationNext.API.Models dll)

オーバー ロード

オーバーロード説明
MouseScroll(TargetAnchorableModel)TargetAnchorableModel オブジェクトによって識別された、指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(TargetAnchorableModel, String)TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、スクロール先のターゲットも指定します。
MouseScroll(IElementDescriptor, MouseScrollOptions)オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、マウス スクロール アクションをカスタマイズします。
MouseScroll(TargetAnchorableModel, MouseScrollOptions)マウス スクロール アクションをカスタマイズする際に、TargetAnchorableModel オブジェクトによって識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(String, MouseScrollOptions)マウス スクロール アクションをカスタマイズする際に、オブジェクト リポジトリの文字列で識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(RuntimeTarget, MouseScrollOptions)マウス スクロール アクションをカスタマイズする際に、オブジェクト リポジトリ要素のランタイム インスタンスによって識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(String, String, NScrollDirection, Int32)オブジェクト リポジトリの文字列で識別される、指定された UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、スクロール先のターゲット、スクロール方向、マウス ホイールの戻り止めの数を指定します。
MouseScroll(IElementDescriptor, IElementDescriptor, NScrollDirection, Int32)オブジェクト リポジトリの要素の記述子によって識別された指定の UI 要素に、スクロール先の要素記述子、スクロール方向、およびマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(String, NScrollDirection, Int32)オブジェクト リポジトリの文字列で識別された指定の UI 要素に、スクロールの方向とマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。
MouseScroll(IElementDescriptor, NScrollDirection, Int32)オブジェクト リポジトリの要素の記述子によって識別された指定の UI 要素に、スクロールの方向とマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(TargetAnchorableModel)

TargetAnchorableModel オブジェクトによって識別された、指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    TargetAnchorableModel target)
MouseScroll(
    TargetAnchorableModel target)

target TargetAnchorableModel: マウス スクロール イベントの送信先の UI 要素で、 TargetAnchorableModel オブジェクトで識別されます。

MouseScroll(TargetAnchorableModel, String)

TargetAnchorableModel オブジェクトによって識別される、指定した UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、スクロール先のターゲットも指定します。

MouseScroll(
    TargetAnchorableModel target,
    string searchedTarget)
MouseScroll(
    TargetAnchorableModel target,
    string searchedTarget)

target TargetAnchorableModel: マウス スクロール イベントの送信先の UI 要素で、 TargetAnchorableModel オブジェクトで識別されます。

searchedTarget String: スクロール先のターゲットです。オブジェクト リポジトリの文字列で識別されます。

MouseScroll(IElementDescriptor, MouseScrollOptions)

オブジェクト リポジトリの要素の記述子によって識別される、指定した UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、マウス スクロール アクションをカスタマイズします。

MouseScroll(
    IElementDescriptor elementDescriptor,
    MouseScrollOptions mouseScrollOptions)
MouseScroll(
    IElementDescriptor elementDescriptor,
    MouseScrollOptions mouseScrollOptions)

elementDescriptor IElementDescriptor: マウス スクロール イベントの送信先となる UI 要素で、オブジェクト リポジトリにある要素の記述子で識別されます。

mouseScrollOptions MouseScrollOptions: マウスのスクロール操作をカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.
* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.

MouseScroll(TargetAnchorableModel, MouseScrollOptions)

マウス スクロール アクションをカスタマイズする際に、TargetAnchorableModel オブジェクトによって識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    TargetAnchorableModel target,
    MouseScrollOptions mouseScrollOptions)
MouseScroll(
    TargetAnchorableModel target,
    MouseScrollOptions mouseScrollOptions)

target TargetAnchorableModel: マウス スクロール イベントの送信先の UI 要素で、 TargetAnchorableModel オブジェクトで識別されます。

mouseScrollOptions MouseScrollOptions: マウスのスクロール操作をカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.
* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.

MouseScroll(String, MouseScrollOptions)

マウス スクロール アクションをカスタマイズする際に、オブジェクト リポジトリの文字列で識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    string target,
    MouseScrollOptions mouseScrollOptions)
MouseScroll(
    string target,
    MouseScrollOptions mouseScrollOptions)

target String: マウス スクロール イベントの送信先の UI 要素で、オブジェクト リポジトリからの文字列で識別されます。

mouseScrollOptions MouseScrollOptions: マウスのスクロール操作をカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.
* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.

MouseScroll(RuntimeTarget, MouseScrollOptions)

マウス スクロール アクションをカスタマイズする際に、オブジェクト リポジトリ要素のランタイム インスタンスによって識別された指定の UI 要素にマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    RuntimeTarget target,
    MouseScrollOptions mouseScrollOptions)
MouseScroll(
    RuntimeTarget target,
    MouseScrollOptions mouseScrollOptions)

target RuntimeTarget: マウス スクロール イベントの送信先となる UI 要素で、オブジェクト リポジトリの要素のランタイム インスタンスで識別されます。

mouseScrollOptions MouseScrollOptions: マウスのスクロール操作をカスタマイズするための追加オプションです。次のカスタマイズを選択できます。

* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.
* `TargetOptions`:
  + **Timeout** - Specifies the amount of time (in seconds) to wait for the API to run before the `SelectorNotFoundException` error is thrown. The default value is 30 seconds.
  + **DelayAfter** - Delay time (in seconds) after executing the API. The default amount of time is 0.3 seconds (300 milliseconds).
  + **DelayBefore** - Delay time (in seconds) before the API begins performing any operations. The default amount of time is 0.2 seconds (200 milliseconds).
* `NChildInteractionMode` - The type of the interaction to use performing the actions.
* `CusorMotionType` - Specifies the type of motion performed by the mouse cursor. There are two available options:
  + **Instant** - The cursor jumps to the destination. By default, **Instant** is selected.
  + **Smooth** - The cursor moves gradually towards the destination.
* `NKeyModifiers` - Add one or more key modifiers to use in combination with the scroll. The following options are available: **None**, **Alt**, **Ctrl**, **Shift**, and **Win**. The default option is **None**.
* `NScrollDirection` - The direction in which you want the scroll to be performed. The following options are available:
  **Left**, **Up**, **Right**, **Down**.
* `MovementUnits` - The amount of mouse wheel detents you want to scroll. The default is set to 10.
* `SearchedElementOptions` - The indicated UI element that you want to scroll to.

MouseScroll(String, String, NScrollDirection, Int32)

オブジェクト リポジトリの文字列で識別される、指定された UI 要素にマウス スクロール イベントを送信することにより、アプリケーション内でのスクロールを可能にします。同時に、スクロール先のターゲット、スクロール方向、マウス ホイールの戻り止めの数を指定します。

MouseScroll(
    string target,
    string searchedTarget,
    [NScrollDirection direction],
    [int movementUnits])
MouseScroll(
    string target,
    string searchedTarget,
    [NScrollDirection direction],
    [int movementUnits])

target String: マウス スクロール イベントの送信先の UI 要素で、オブジェクト リポジトリからの文字列で識別されます。

searchedTarget String: スクロール先のターゲットです。オブジェクト リポジトリの文字列で識別されます。

direction NScrollDirection: スクロールを実行する方向です。使用できるオプションは、 です。

movementUnits Int32: スクロールするマウス ホイールの戻り止めの数です。既定では 10 に設定されています。

MouseScroll(IElementDescriptor, IElementDescriptor, NScrollDirection, Int32)

オブジェクト リポジトリの要素の記述子によって識別された指定の UI 要素に、スクロール先の要素記述子、スクロール方向、およびマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    IElementDescriptor elementDescriptor,
    IElementDescriptor searchedelementDescriptor,
    [NScrollDirection direction],
    [int movementUnits])
MouseScroll(
    IElementDescriptor elementDescriptor,
    IElementDescriptor searchedelementDescriptor,
    [NScrollDirection direction],
    [int movementUnits])

elementDescriptor IElementDescriptor: マウス スクロール イベントの送信先となる UI 要素で、オブジェクト リポジトリにある要素の記述子で識別されます。

searchedelementDescriptor IElementDescriptor: スクロール先の要素記述子です。

direction NScrollDirection: スクロールを実行する方向です。使用できるオプションは、 です。

movementUnits Int32: スクロールするマウス ホイールの戻り止めの数です。既定では 10 に設定されています。

MouseScroll(String, NScrollDirection, Int32)

オブジェクト リポジトリの文字列で識別された指定の UI 要素に、スクロールの方向とマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    string target,
    [NScrollDirection direction],
    [int movementUnits])
MouseScroll(
    string target,
    [NScrollDirection direction],
    [int movementUnits])

target String: マウス スクロール イベントの送信先の UI 要素で、オブジェクト リポジトリからの文字列で識別されます。

direction NScrollDirection: スクロールを実行する方向です。使用できるオプションは、 です。

movementUnits Int32: スクロールするマウス ホイールの戻り止めの数です。既定では 10 に設定されています。

MouseScroll(IElementDescriptor, NScrollDirection, Int32)

オブジェクト リポジトリの要素の記述子によって識別された指定の UI 要素に、スクロールの方向とマウス ホイールの戻り止めの数を指定したマウス スクロール イベントを送信して、アプリケーション内でのスクロールを可能にします。

MouseScroll(
    IElementDescriptor elementDescriptor,
    [NScrollDirection direction],
    [int movementUnits])
MouseScroll(
    IElementDescriptor elementDescriptor,
    [NScrollDirection direction],
    [int movementUnits])

elementDescriptor IElementDescriptor: マウス スクロール イベントの送信先となる UI 要素で、オブジェクト リポジトリにある要素の記述子で識別されます。

direction NScrollDirection: スクロールを実行する方向です。使用できるオプションは、 です。

movementUnits Int32: スクロールするマウス ホイールの戻り止めの数です。既定では 10 に設定されています。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得