Coder Social home page Coder Social logo

powershell-slack-greeter's Introduction

powershell-slack-greeter

Slackでの挨拶を肩代わりしてくれる人(PowerShellでSelenium使用)

設定ファイル

config.xmlを各自で設定してください。

プロパティ名 説明
slackURL コメント対象のチャンネルのURL
slackEmail Slack登録アカウントのEmail
slackPassword Slack登録アカウントのパスワード

実行方法

PowerShellでgreet.ps1を実行してください。 実行時引数として挨拶の文言を指定できます。未指定の場合は「こんにちは!」です。

$ cd powershell-slack-greeter
$ .\greet.ps1 おはようございます!

ショートカット

あらかじめ下記ショートカットを用意しています。

ショートカット名 挨拶 目的
hello しゅっしゃ 会社に出社したことを伝える
lunch おひる 今からお昼ご飯に行くことを伝える
bey かえる 退社することを伝える

ショートカットの作成

独自で作成可能です。下記のようにリンク先を指定してください。

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -File  greet.ps1のパス 挨拶の言葉
  • greet.ps1のパスは各自で修正してください。
  • 挨拶の言葉なので自分の好きな文言に修正してください。

powershell-slack-greeter's People

Contributors

takumon avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.