Skip to content

cubic9com/Send-MailWhenDetectSpecifiedColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview / 概要

A PowerShell script which sends an email when the pixel pointed by the mouse pointer turn the specified color.
This script could be used, for example, to send an email to your smartphone when the progress bar value reaches about 100% during building an app in a game engine.

マウスポインターが指すピクセルが指定された色に変わったときにメールを送信するPowerShellスクリプト。
このスクリプトは、例えば、ゲームエンジンでアプリをビルドする際にプログレスバーの値が100%程度になったら、スマートフォンにメールを送信するような使い方ができるかもしれません。

How to use / 使用方法

  1. Assign values to variables in config.ps1.
    • The color to detect
    • SMTP server and its credential
    • Mail message
  2. Run the main script.
  3. Move the mouse pointer to the target position within 3 seconds.

  1. config.ps1の変数に値を割り当てる。
    • 検知する色
    • SMTPサーバーと認証情報
    • メールのメッセージ
  2. メインスクリプトを実行する。
  3. 3秒以内にマウスポインターを目的の位置に移動させる。

References / 参考

LICENSE / ライセンス

Copyright (C) 2022, cubic9com All rights reserved.

This code is licensed under the MIT license.

See file LICENSE for more information.

About

A PowerShell script which sends an email when the pixel pointed by the mouse cursor turn the specified color.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published