# Automation script

#### Points center

> After connecting the personal wallet, you can purchase corresponding points and execute the script

1. **Wallet connection**

* Entrance: Settings - Automation Script - Points Center - Connect wallet
* Select your favorite wallet to connect
* Account details will be displayed after a successful connection

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FzioGgydNHoa4cAzafYtq%2Fimage.png?alt=media&#x26;token=69467ff2-7411-4715-8242-6bfc337fd438" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2Flkfyio6pjM47LVPSJNho%2Fimage.png?alt=media&#x26;token=11d66ef6-d271-4623-8613-882386ca562b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2F4kMAUgnhNaynlHnXjE97%2Fimage.png?alt=media&#x26;token=b7e17cc3-eb8b-4220-ae0e-4d27546aeceb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FWmb7mDtRorOmYxf7a6vI%2Fimage.png?alt=media&#x26;token=c7c3156f-765f-4895-9f3c-50d5c44e8cf2" alt=""><figcaption></figcaption></figure>

2. **Points purchase**

* Entrance: Settings - Automation Scripts - Points Center
* Click the points recharge button, select the corresponding package, payment network, and payment currency
* Click "Go to Pay", select link payment or scan code payment on the payment page, and confirm the payment address before payment
* After the payment is successful, copy the transaction hash, fill in the \[transaction ID], and click \[Payment completed] to complete the payment.

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FBty845sd2jWlUgd8vppf%2Fimage.png?alt=media&#x26;token=5aab428d-fba3-41ab-be99-b2d7b63b44a3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2F4l0cHOVpkrCJE13MARzK%2Fimage.png?alt=media&#x26;token=a4fb28aa-ebd7-4ee8-bd30-62cda1e0ea56" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2F6VdQej0FxgjpX6yauMtr%2Fimage.png?alt=media&#x26;token=2c4ea665-a3e2-44b1-8c2a-67cfd53e5667" alt=""><figcaption></figcaption></figure>

#### Script Center

> Provide automation scripts, users can choose the corresponding script download according to task requirements, and perform multi-window batch automation execution

1. **Script Store**

* Entrance: Settings - Automation Scripts - Script Center - Script Store
* Select the corresponding script and click the "Download" button to download the entire script
* Download single subtask: Click Script Details, check the required subtask, and click the \[Download] button to download.
* After the download is complete, you can perform the settings in the "My Scripts" module

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2F67mOMsVUdb2Znp0NTrh3%2Fimage.png?alt=media&#x26;token=e9acb720-5f82-49c4-8a84-6b2bd41fd2a2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FOIwBzExTOzUyztc5AXdR%2Fimage.png?alt=media&#x26;token=cbc7ee63-54ae-4afd-8308-21f4e7f674e3" alt=""><figcaption></figcaption></figure>

2. **My script**

* Entry: Settings - Automation Scripts - Script Center - My Script
* Select the corresponding script and click "Execute Settings" to set the script content.
  * Execution device: Select which devices the current script needs to be executed on, and support custom device selection.
  * Execution time interval: refers to the time interval after a window completes a task and opens the next window for execution
  * Randomly execute: After opening, the execution order of the window will be disrupted and will not be executed according to the device order.
  * Concurrent execution: supports opening multiple windows to execute tasks at the same time, but supports up to 5 windows to execute at the same time.
  * Terminate in case of error: If a device executes an error after being turned on, its interaction will be automatically terminated (currently not supported to turn off).

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FdbTOP7bYUxGD8TslFEaK%2Fimage.png?alt=media&#x26;token=dcfb55a5-7813-455e-b4d4-e264343bce34" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FQNdMaT3CsDUKUMZitXNx%2Fimage.png?alt=media&#x26;token=80a7e8e0-1a49-45c9-98d7-3cdaeb0f9b10" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FgTwuzQVfmJcEOXUBtsM4%2Fimage.png?alt=media&#x26;token=2dba613f-a1f9-4a92-9b85-5d3685455ad9" alt=""><figcaption></figcaption></figure>

#### Local script

1. **Upload script**

* Entry: Settings - Automation Scripting - Local Scripting
* Operating steps
  * Click "Upload Script" in the upper right corner of the page.
  * Enter the pop-up window for script upload, enter the script name, upload the script file, and fill in the script description (optional).
  * After filling in, click the \[Confirm] button in the upper right corner of the pop-up window to upload successfully.
* Remarks
  * You can click the "Upload Specification" button in the upper right corner of the page to view the relevant specifications.

2. **Script execution**

* Click on the local script list, select the script to be executed, and click \[Execution Settings].
* Fill in the relevant information and data on the execution settings page, and click the \[Execute] button in the upper right corner to execute the script.

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2FbvKaiegYjRNscA568WrY%2Fimage.png?alt=media&#x26;token=ed969a8e-905b-4d7f-b5e6-99a7a7d3b264" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3426074292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F061pCruejUrkRxT8V34e%2Fuploads%2F24Fii1ddRLQPqLnLl9ov%2Fimage.png?alt=media&#x26;token=b239422d-3dfa-47f7-8d6c-6e50f575ad8c" alt=""><figcaption></figcaption></figure>

3. Script editing

* Entry: Script List - Script Editing
* Click to enter the editor to edit, save, and download the script to the local operation.
* Note: Only scripts that have been successfully uploaded can be edited.
