> ## Documentation Index
> Fetch the complete documentation index at: https://docs.profy.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Desktop Automation

> Expert controls desktop applications to complete tasks

Desktop Automation is a capability exclusive to Profy Desktop — Expert can operate desktop applications just like you do: moving the mouse, clicking buttons, typing text, and reading screen content to help you automate repetitive work on the desktop.

<Note>
  Desktop Automation is only available in the **Profy Desktop client** and currently supports **macOS**. This capability is not available in the web version.
</Note>

## Core Capabilities

<CardGroup cols={2}>
  <Card title="Mouse Control" icon="computer-mouse">
    Move the cursor, single-click, double-click, right-click, drag — Expert can precisely operate any visible element on the desktop.
  </Card>

  <Card title="Keyboard Input" icon="keyboard">
    Type text in any application, execute keyboard shortcuts, and switch input methods.
  </Card>

  <Card title="Screen Understanding" icon="display">
    Expert can "see" your screen content, understand the interface layout and current state, and make operation decisions accordingly.
  </Card>

  <Card title="Cross-Application Coordination" icon="window-restore">
    Switch between multiple desktop applications — copy files from Finder to an email client, or extract data from a browser and paste it into a spreadsheet application.
  </Card>
</CardGroup>

## How to Use

<Steps>
  <Step title="Open Profy Desktop">
    Make sure you're using the Profy Desktop client (not the web version).
  </Step>

  <Step title="Describe the Task">
    Tell Expert in the conversation what you'd like to accomplish on the desktop. For example: "Open System Preferences, find the Display options, and change the resolution to default."
  </Step>

  <Step title="Observe and Confirm">
    Expert will begin operating your desktop. You can watch the mouse movement and operation process in real time. If a step requires your confirmation, Expert will pause and ask.
  </Step>

  <Step title="Get Results">
    Once the task is complete, Expert will report the results in the conversation.
  </Step>
</Steps>

## Typical Use Cases

<AccordionGroup>
  <Accordion title="Batch File Operations">
    Rename a batch of files, organize folders by rules, or batch-modify file properties — tell Expert the rules and it will execute them one by one.
  </Accordion>

  <Accordion title="Application Settings">
    Have Expert complete complex configuration changes in system settings or application preferences, saving you the time of navigating menus.
  </Accordion>

  <Accordion title="Data Transfer">
    Extract data from one application, convert the format, and input it into another — for example, copying table data from a PDF reader to Excel.
  </Accordion>

  <Accordion title="Repetitive Task Automation">
    Any mouse-and-keyboard operation sequence that you need to perform repeatedly can be delegated to Expert.
  </Accordion>

  <Accordion title="Learning Application Operations">
    Unfamiliar with how a desktop application works? Have Expert demonstrate while explaining each step in the conversation.
  </Accordion>
</AccordionGroup>

## Security

<Warning>
  Desktop Automation runs within a secure sandbox environment with the following protections:

  * **Sandbox Isolation**: Expert's operations are restricted by a system-level sandbox (Seatbelt), preventing access to sensitive system areas
  * **Visible Operations**: All operations are visible on your screen in real time, and you can interrupt at any point
  * **Limited Permissions**: Expert cannot access Keychain, password managers, or other security-sensitive areas
</Warning>

## Recommendations

<Tip>
  * **Keep the screen clean**: Expert "sees" the screen to understand its targets — too many elements on the interface can increase recognition difficulty
  * **Specify the target application**: Tell Expert exactly which application to operate rather than letting it search
  * **Close obstructing windows**: Make sure the target application's window is not blocked by other windows
  * **Guide step by step**: Break complex operation flows into step-by-step instructions and confirm each step before continuing
</Tip>

## Browser Automation vs. Desktop Automation

| Comparison       | Browser Automation            | Desktop Automation                                |
| ---------------- | ----------------------------- | ------------------------------------------------- |
| **Environment**  | Sandboxed browser (cloud)     | Local desktop (macOS)                             |
| **Scope**        | Web content only              | Any desktop application                           |
| **Availability** | Both web and desktop versions | Profy Desktop only                                |
| **Best For**     | Web scraping, form filling    | Cross-application operations, local file handling |

These two capabilities complement each other — use Browser Automation for web-related tasks and Desktop Automation for local application operations.

## Billing

Credit consumption for Desktop Automation primarily comes from model calls and screenshot analysis in the conversation. The operations themselves incur no additional charges.
