Files
ClipCMD/README.md
T

2.4 KiB

ClipCMD

A simple utility program to simplify your workflow

What is it?

ClipCMD is a Windows app that allows you to create macros and run them by copying them to the clipboard.
You write a macro anywhere, copy it to your clipboard, and it will be automatically replaced by the output of the specified macro script.
ClipCMD uses PowerShell as scripting language.

Example

Prefix: _
Suffix: _
Macro name: email
Macro script: Write-Output [email protected]
Macro script (alternative): "[email protected]"

Input: _email_
Output: [email protected]

Usage

  1. Download one of the releases or download it with HyperbolicDownloader
    Hash for HyperbolicDownloader: 995d9d3f4191f96d07bd9ec3fbabd2a8bde6a3936b85af2258a7c5914b4defbf24bdb0cf0f94e8fe985a4c37fa11ad581a5a49662070eefc41a61adc6a4667bd
  2. Start setup.exe
  3. (Optional) Set the prefix and suffix for your commands
  4. Specify some commands in the built-in text field
    • Format:
      [<command name(s) (separated by comma)>]
      <scriptText>
      <scriptText>
      <scriptText>
      ...
      [<command name(s) (separated by comma)>]
      <scriptText>
      <scriptText>
      <scriptText>
      ...
      
    • Strings between square brackets define macros.
    • You can define macro aliases by separating them by a comma [quit, exit, q]
    • Lines between a macro definition and the next macro (or the end of the file) is PowerShell code.
    • Everything you write to the output stream replaces the input macro.
    • You can pass parameters to the scripts by separating the parameters by space after the macro: _combine hi nope_
    • You can access the parameters by accessing the $args array.
  5. There is one prebuilt macro named list. This lists all of your macros.
  6. Write [suffix][macroName][preffix] somewhere, and then select it and press CTRL+C

Preview

image

Third party licences