Skip to content

Register Shortcuts

TextGO supports drag-select, double-click, shift-click, and keyboard triggers. Each trigger has its own rules.

Add Shortcuts

Step 1: Access Shortcut Settings

  1. Click the TextGO icon in the macOS menu bar or Windows system tray
  2. Select "Manage Shortcuts"
  3. Click the "Register Shortcut" button in the upper right corner

Step 2: Select Shortcut Type

Choose a shortcut type from the dropdown list:

  • Drag-Select
  • Double-Click
  • Shift-Click
  • Keyboard

Mouse triggers use Toolbar Mode by default, while keyboard shortcuts use Quiet Mode by default. You can switch either mode after registration.

Step 3: Add Rules

In the rule list for the shortcut, click + to add a rule and configure the following:

1. Recognition Type

Choose a recognition type:

Skip Recognition

Matches all text without recognition.

Built-in Types

  • General: Common types such as email addresses, URLs, and paths
  • Text Case: Naming formats such as camelCase and snake_case
  • Natural Language: Languages such as English and Chinese
  • Programming Language: Code such as JavaScript and Python

Custom Types

  • Regular Expression: Match specific text using custom regular expressions
  • Classification Model: Classify text using trained machine learning models

2. Execute Action

Select the action to execute after text recognition:

Built-in Actions

  • Copy, Cut, and Paste: Perform clipboard operations
  • General: Common operations such as opening links and files
  • Convert Case: Convert between naming formats such as camelCase and snake_case
  • Text Processing: Operations such as trimming spaces

Custom Actions

  • Web Search: Search for selected text on a specified website
  • Script Execution: Execute custom JavaScript, Python, Shell, or PowerShell scripts
  • AI Conversation: Process text with local or cloud AI models

3. Advanced Options

Toolbar Display

  • Choose whether the toolbar shows an icon, a label, or both
  • Choose whether the toolbar shows execution results

Execution Result

  • Choose the output mode for results
    • Replace: Replaces the selected text with the result
    • Popup: Shows the result for further editing or copying
  • Choose whether to save results to history
  • Choose whether to copy results to the clipboard automatically

These options depend on the selected action. AI actions always use a popup, and actions without text results disable result-related options.

TextGO shortcut rule editor

Manage Shortcuts

Use the blacklist to prevent TextGO shortcuts from triggering in specified applications or websites:

TextGO blacklist dialog

Edit Rules

  1. Click the edit icon beside a rule to change its configuration
  2. Select a rule, then click the delete icon to remove it

Adjust Order

Select a rule, then use the up and down arrows to change its order:

  1. In quiet mode, rules are matched sequentially from top to bottom
  2. In toolbar mode, matching rules are displayed in the toolbar from top to bottom

Switch Execution Mode

TextGO provides two execution modes: Quiet Mode and Toolbar Mode.

Quiet Mode

When triggered after text selection, the action runs immediately.

Features:

  • Fast, uninterrupted workflow
  • Well suited to deterministic tasks
  • Skips the toolbar; configured popup output may still appear

Use Cases:

  • Simple conversions, such as changing naming styles
  • Direct actions, such as opening URLs or copying text
  • Repeated quick actions

Toolbar Mode

When triggered after text selection, a floating toolbar appears for choosing an action.

Features:

  • Intuitive visual interface
  • Offers multiple processing methods
  • Can preview supported action results as toolbar labels

Use Cases:

  • The same text may need different processing methods
  • You want to preview results before choosing
  • You are unsure which action to use

Released under the GPLv3 License.