Updated Screen Time Feature (markdown)

Namhyeon Go 2024-09-20 18:28:41 +09:00
parent 49649b00be
commit 3fa4396ad9

@ -5,7 +5,7 @@ This was introduced to enable integration with highly restrictive applications.
***This feature does not allow operation in the background.*** It only functions in `User Interactive` mode, where users can monitor the progress.
## How to Use
### How to Use
#### 1. **Configure the `settings.ini` file**
In the `settings.ini` file, configure the service settings by adding the following:
@ -30,6 +30,7 @@ This was introduced to enable integration with highly restrictive applications.
- To start the service, run the `startInteractiveService.bat` file. This will enable interactive processing of templates on the screen.
#### 4. **Handle template match events**
- **Note**: As of **WelsonJS version 0.2.7.37**, the `onServiceScreenTime()` event has been **renamed** to `onScreenTemplateMatched()`.
- When a template (image fragment) is matched, the `onScreenTemplateMatched()` event will be triggered.
- This event provides the matched template's name and the coordinates where it was found. You can use this information to perform actions based on the match.
- Example usage can be found in `defaultService.example.js`.