Skip to content

Screen Time Feature

Namhyeon, Go edited this page Sep 2, 2024 · 26 revisions

Screen Time Feature

Starting from WelsonJS version 0.2.7.27, a feature called 'Screen Time' is supported.

This was introduced to enable integration with highly restrictive applications. It is useful in cases where integration methods like APIs are not supported, and the status can only be checked visually on the computer screen.

This feature does not allow operation in the background. It only functions in User Interactive mode, where users can monitor the progress.

Here’s the English translation:

How to Use

  1. Configure the settings.ini file as follows:

    [Service]
    DISABLE_SCREEN_TIME=false
    ; SCREEN_TIME_PARAMS=save

    The save parameter is used when you need to save screenshots. The save directory is located at app/assets/img/_captured.

  2. Place the template (image fragment) you want to match in PNG format in the app/assets/img/_templates directory. If you need to ignore color values (grayscale), prefix the file name with binary_.

  3. Run the service in User Interactive mode. Execute the startInteractiveService.bat file.

  4. Through the onServiceScreenTime() event, you can receive the name of the matched template (image fragment) and the coordinates where it was matched.

Any question?

Clone this wiki locally