Skip to content

Commit 273815c

Browse files
committed
Merged main into live
2 parents c122cdb + 4f53f9e commit 273815c

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

hub/powertoys/advanced-paste.md

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ no-loc: [PowerToys, Windows, Paste as Plain Text, Advanced Paste, Win]
88

99
# Advanced Paste
1010

11-
PowerToys **Advanced Paste** is a tool that enables you to paste the text from your clipboard into any format needed. It can paste as plain text, markdown, or JSON directly with the UX or with a direct keystroke invoke. These actions are executed entirely on your local machine. Additionally, the tool has an AI-powered option that is 100% opt-in and requires entering an OpenAI key in settings.
11+
PowerToys **Advanced Paste** is a tool that enables you to paste the content from your clipboard into any format needed. It can paste as plain text, markdown, JSON, .txt file, .html file, or .png file directly with the UX or with a direct keystroke invoke. It can also extract and paste the text directly from an image in your clipboard. These actions are executed entirely on your local machine. Additionally, the tool has an AI-powered option that is 100% opt-in and requires entering an OpenAI key in settings.
1212

1313
## Getting started
1414

@@ -30,16 +30,20 @@ From the Settings menu, the following options can be configured:
3030
| Custom format preview | Enable to preview the output of the custom format before pasting. |
3131
| Clipboard history | Enable to automatically save clipboard history. |
3232
| Open Advanced Paste shortcut | The customizable keyboard command to open the **Advanced Paste** window. |
33+
| Automatically close the Advanced Paste window after it loses focus | Determines whether the Advanced Paste window will close after focus is lost from the window. |
34+
| Custom Actions | Create and manage advanced paste custom actions. (Requires Paste with AI to be enabled). |
3335
| Paste as plain text directly shortcut | The customizable keyboard command to paste as plain text without opening the **Advanced Paste** window. |
3436
| Paste as Markdown directly shortcut | The customizable keyboard command to paste as Markdown without opening the **Advanced Paste** window. |
3537
| Paste as JSON directly shortcut | The customizable keyboard command to paste as JSON without opening the **Advanced Paste** window. |
38+
| Additional actions: Image to Text | Turn on/off the Image to text paste action and configure the customizable keyboard command. |
39+
| Additional actions: Paste as file | Turn on/off the set of Paste as File actions which include Paste as .txt file, Paste as .png file, Paste as .html file. Optionally configure the customizable keyboard command for each of these actions.
3640

3741
> [!IMPORTANT]
3842
> It's possible to set <kbd>Ctrl</kbd>+<kbd>V</kbd> as an activation shortcut. This is not recommended, as overriding this shortcut may have unintended consequences.
3943
4044
## Advanced text paste
4145

42-
Advanced Paste includes several text-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can also paste as plain text, markdown, or JSON directly using the customizable keyboard commands.
46+
Advanced Paste includes several text-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can also use the customizable keyboard commands to directly invoke a paste action with quick keys.
4347

4448
:::image type="content" source="../images/pt-advanced-paste.png" alt-text="Advanced Paste screenshot":::
4549

@@ -100,6 +104,37 @@ Markdown output:
100104
> [!NOTE]
101105
> Paste as Markdown is a feature that runs locally and doesn't use AI.
102106
107+
### Paste as .txt file
108+
109+
**Paste as .txt file** enables you to paste text stored in your clipboard as a .txt file with an auto-generated file name. You can optionally set a quick key shortcut in settings.
110+
111+
Sample input:
112+
113+
```text
114+
Hello World!
115+
```
116+
If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .txt file action will take the input text and paste a .txt file.
117+
118+
### Paste as .html file
119+
120+
**Paste as .html file** enables you to paste text stored in your clipboard as a .html file with an auto-generated file name. You can optionally set a quick key shortcut in settings.
121+
122+
Sample input:
123+
124+
```html
125+
<!DOCTYPE html>
126+
<html>
127+
<head>
128+
<title>PowerToys</title>
129+
</head>
130+
<body>
131+
<h1>PowerToys</h1>
132+
<p>PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity.</p>
133+
</body>
134+
</html>
135+
```
136+
If pasting files is accepted within the application that you are using (e.g. File Explorer), then the paste as .html file action will take the input text and paste a .html file.
137+
103138
### Paste text with AI
104139

105140
When you paste text with AI, the text is analyzed and formatted based on the context of the text and the prompt provided to the OpenAI call. This feature requires that an OpenAI API key be provided in the PowerToys settings, and that you have available credits in your account.
@@ -128,4 +163,20 @@ AI output when prompting to "Format the text as if it were written by Mark Twain
128163
> [!NOTE]
129164
> As with any AI tool, the quality of the output is dependent on the quality of the input. The more context you provide, the better the AI will be able to understand and respond to your request. Be sure to carefully review the output before using it. Please see OpenAI's [privacy](https://openai.com/policies/privacy-policy) and [terms](https://openai.com/policies/terms-of-use) pages for more info on AI usage in this feature.
130165
166+
167+
## Advanced image paste
168+
169+
Advanced Paste includes several image-based paste options. These options are available in the **Advanced Paste** window, which can be opened using the activation shortcut. You can optionally set a quick key shortcut in settings.
170+
171+
### Paste Image to text
172+
173+
**Paste image to text** enables you to extract the text from an image in your clipboard and quickly paste the extracted text, using a quick key shortcut.
174+
175+
> [!NOTE]
176+
> Paste as Image to text is a feature that runs locally using local OCR.
177+
178+
### Paste as .png file
179+
180+
**Paste as .png file** enables you to quickly paste an image format, like a bitmap, to a .png file. You can optionally create a quick key shortcut to invoke this paste action.
181+
131182
[!INCLUDE [install-powertoys.md](../includes/install-powertoys.md)]

hub/powertoys/quick-accent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ You can limit the available characters by selecting a character set from the set
5656
* Slovenian
5757
* Spanish
5858
* Serbian
59+
* Serbian Cyrillic
5960
* Swedish
6061
* Turkish
6162
* Welsh

0 commit comments

Comments
 (0)