mirror of
https://github.com/Stone-Red-Code/ClipCMD.git
synced 2026-09-04 00:46:10 +02:00
9322e109133fd2084e5bea7d19629a0c261bdd47
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:
Macro script:Write-Output [email protected]
Macro script (alternative):"[email protected]"
Input:
_email_
Output:[email protected]
Usage
- Download one of the releases directly from GitHub or download it with HyperbolicDownloader
- Start
setup.exe - (Optional) Set the prefix and suffix for your commands
- 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
$argsarray.
- Format:
- There is one prebuilt macro named
list. This lists all of your macros. - Write
[suffix][macroName][preffix]somewhere, and then select it and pressCTRL+C
Preview