/ydcv.ps1

PowerShell version ydcv: a dictionary in console

Primary LanguagePowerShell

ydcv.ps1

PowerShell version ydcv

usage

Copy the ydcv module to $env:PSModulePath. Bellow is a example of directory layout

C:\Users\username\Documents\WindowsPowerShell
└───Modules
    ├───PsGet
    ├───PSReadLine
    │   └───en-US
    └───ydcv
    │   └───ydcv.psm1
    │   └───README

Use the module:

Import-Module ydcv

Or add this line to C:\Users\username\Documents\WindowsPowerShell\profile.ps1

Example screenshot:

ydcv

other commands

sw queryword    # query the word and speak it
speak word      # speak the word
ydcv -copyMode  # query word in clipboard

Balloon Notification

When you are in copy or select mode, the query result will show in the Windows Notification Area:

1fa30cd1

TODO

  • Add Collins English Dictionary
  • Add Collins/Shanbei mp3
  • fix bug