diff --git a/Screen-Time-Feature.md b/Screen-Time-Feature.md index ac69aa3..97ee13e 100644 --- a/Screen-Time-Feature.md +++ b/Screen-Time-Feature.md @@ -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`.