Skip to content

Latest commit

 

History

History
176 lines (101 loc) · 6.47 KB

README.md

File metadata and controls

176 lines (101 loc) · 6.47 KB

This section contains commands which can be executed with global/system shortcut (even when the main application window is not active).

Copies (Ctrl+C) from current window without storing or showing the data in GUI.

Copies currently selected text and opens selection menu to search the text on some well-known websites. New search queries can be easily defined.

Takes screenshot of selected part of the screen and tries to recognize text.

Requires GraphicsMagick and Tesseract.

Pops up the main window (if the shortcut is pressed once), cycles through items (if the shortcut is pressed again) and pastes selected item when the shortcut is released.

See: hluk/CopyQ#1948

Like Cycle Items command but previews items to copy in popups without showing the main window.

Disables clipboard monitoring permanently, i.e. the state is restored when clipboard changes even after application is restarted.

Following command allows to edit current clipboard text before pasting it.

If the editing is canceled the text won't be pasted.

Copies current date/time text to clipboard and pastes to current window on global shortcut Win+Alt+T.

Copies current date/time in ISO8601 format to clipboard, adds it to the clipboard history, and then pastes it to the current window.

Generates a new RFC4122 version 4 compliant UUID, adds it to the clipboard history, copies it to the clipboard and pastes it to the current window. Full credit for UUID generation code goes to Jeff Ward (jcward.com), link: https://stackoverflow.com/a/21963136/11820711

A global shortcut to copy selected text/HTML/image as a new top item in "Stack" tab and another shortcut to paste the top item and remove it from the tab.

See: hluk/CopyQ#597

Quickly pops up notification with text in clipboard using Win+Alt+C system shortcut.

Take screenshot of the screen.

Take screenshot of selected part of the screen.

Quick shortcuts to activate items 0 to 9 (copy, move to top and paste depending on preferences in History configuration tab).

Paste items 1-9 in history using ctrl+1 through ctrl+9 shortcuts.

Shows notification with current clipboard content (text or image).

Shows dialog with snippets to paste.

Snippets are loaded from "Snippets" tab. Item notes are used as snippet name.

Items can contain placeholders like:

  • ${Name} (default text is empty),
  • ${Name:value} (default text is "value"),
  • ${Name:value1,value2,value3} (default text is "value1"; allows to select from multiple values),
  • ${Name:\n} (multi-line text field).

When such snippet is selected, user is prompted to replace these placeholders with custom content.

To create your first snippet:

  1. create "Snippets" tab (Ctrl+T),

  2. add new item (Ctrl+N) with a snippet:

    You picked ${Fruit:apples,oranges,pears}!

  3. set optional snippet name (Ctrl+F2), e.g. "Fruit".

Triggering the Snippets command (with a global shortcut) will show a simple dialog where you can pick the snippet by its name.

To pick different tab name, you have to change the command's code.

var snippetsTabName = '&Snippets'

Restarts stopwatch and copies elapsed time since last started.

Toggles clipboard storing/monitoring with global shortcut or from menu/toolbar.

E.g. changes "Do androids dream of electric sheep?" to "Do Androids Dream of Electric Sheep?".

Toggles between upper- and lower-case letters in selected text.

Compares two clipboard history items with your preferred diff tool.

The latest two items get compared when the command is run as a global command. You can also run the command on any two items selected in the main window.

By default, this command launches Beyond Compare 4 for doing the comparison. You can find examples of launching other tools like WinMerge directly in the command's source code.

Converts text written in Markdown syntax to desired format, which can be for example:

  • HTML
  • Jira markup
  • JSON (AST) (JSON representation of the parsed text; useful rather for contributors than users)
  • LaTeX

The command can be run on any text selection via a global shortcut or over items selected in the main window.

Installation

This script relies on the mistletoe project to do the actual Markdown parsing and conversion. This in turn requires that Python is installed on the user computer.

See mistletoe's page linked above for the various possibilities of its installation.

For output format "HTML + code highlighting", an additional Python package needs to be installed:

pip3 install pygments

Shows Unicode code info for the first characters of any text. An example of how this looks like:

Show Character Code Dialog