# Scroll Right IRIS

This is a pre-built action available under the **Captured Element** from the **Desktop Application** using the **IRIS method**. The functionality of this action in Avo Assure is to perform a horizontal scroll to the right on a captured IRIS object during debugging or execution. The result of the action is stored in the provided output variable.

### **Syntax**

**Input Value:** `<count>;<type(optional)>`

| Argument           | Description                                                                                                         |
| ------------------ | ------------------------------------------------------------------------------------------------------------------- |
| \<count>(Required) | Enter a numeric value representing how many times the screen should scroll right                                    |
| \<type>(Optional)  | Specified as **1**, sets the scroll thumb at the middle and scrolls right from the center the given number of times |

**Output Value**

| Argument                                                    | Description                                                                                                              |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This dynamic variable holds the status as **True** (if the scroll-right operation succeeded) or **False** (if it failed) |

**Example 1**

**Scrolls right within a scrollable element in the Desktop application by a specified number of steps**

The **Scroll Right IRIS** action takes the value from the Input Value column **(e.g., 4)**, where **4** represents the number of scroll steps. It scrolls the captured scrollable element to the right using the IRIS method.

<figure><img src="/files/hTcNMvaVlWarC9MsOX4B" alt=""><figcaption></figcaption></figure>

**Example 2**

**Scrolls right within a scrollable element in the Desktop application by a specified number of steps**

The **Scroll Right IRIS** action takes the value from the Input Value column **(e.g., 4;1)**, where **4** represents the number of scroll steps and **1** (optional type) sets the scroll thumb to the middle of the scroll bar, then scrolls right the specified number of times from that position. It performs the scroll using the IRIS method.

<figure><img src="/files/cSuY4zceCYirhqvPwxO6" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/desktop/iris/scroll/scroll-right-iris-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
