Skip to content

Commit bc91a10

Browse files
committed
Merged main into live
2 parents a244b73 + 68e2f0d commit bc91a10

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed
12.4 KB
Loading
19.5 KB
Loading

hub/powertoys/advanced-paste.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
22
title: PowerToys Advanced Paste for Windows
33
description: A tool that enables you to paste the text from your clipboard into any format needed. It can be enhanced with an AI-powered option that is 100% opt-in and requires an OpenAI key.
4-
ms.date: 12/13/2024
4+
ms.date: 02/28/2025
55
ms.topic: concept-article
66
no-loc: [PowerToys, Windows, Paste as Plain Text, Advanced Paste, Win]
77
# Customer intent: Learn how to use the Advanced Paste feature in PowerToys to paste text from your clipboard into any format needed.
88
---
99

1010
# Advanced Paste
1111

12-
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.
12+
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 or transcode audio or video from your clipboard to an .mp3 or .mp4 file. 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.
1313

1414
## Getting started
1515

@@ -37,8 +37,11 @@ From the Settings menu, the following options can be configured:
3737
| Paste as plain text directly shortcut | The customizable keyboard command to paste as plain text without opening the **Advanced Paste** window. |
3838
| Paste as Markdown directly shortcut | The customizable keyboard command to paste as Markdown without opening the **Advanced Paste** window. |
3939
| Paste as JSON directly shortcut | The customizable keyboard command to paste as JSON without opening the **Advanced Paste** window. |
40-
| Additional actions: Image to Text | Turn on/off the Image to text paste action and configure the customizable keyboard command. |
41-
| 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. |
40+
| Additional actions \| Image to Text | Turn on/off the Image to text paste action and configure the customizable keyboard command. |
41+
| 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. |
42+
| Additional actions \| Transcode audio / video | Turn on/off both the Transcode audio and video paste actions. The transcode settings are all enabled by default. |
43+
| Additional actions \| Transcode to .mp3 | Turn on/off the Transcode to .mp3 paste action and configure the customizable keyboard command to transcode audio or video on the clipboard without opening the **Advanced Paste** window. |
44+
| Additional actions \| Transcode to .mp4 (H.264/AAC) | Turn on/off the Transcode to .mp4 (H.264/AAC) paste action and configure the customizable keyboard command to transcode video on the clipboard without opening the **Advanced Paste** window. |
4245

4346
> [!IMPORTANT]
4447
> 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.
@@ -199,4 +202,33 @@ Advanced Paste includes several image-based paste options. These options are ava
199202
> [!NOTE]
200203
> Paste as .png file is a feature that runs locally and doesn't use AI.
201204
205+
## Transcode to audio / video
206+
207+
Two paste options that work with media files are available in the **Advanced Paste** window. 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. To the extent possible, quality settings (e.g. video dimensions, audio bitrate) from the source file are maintained, as is any container metadata (e.g. title, album).
208+
209+
Paste actions are also cancellable via a cancel (**X**) button:
210+
211+
:::image type="content" source="../images/pt-advanced-paste-cancel.png" alt-text="A screenshot of the PowerToys Advanced Paste window processing a transcode operation with an available cancel button.":::
212+
213+
This is useful for media transcoding but also for other potentially long-running actions such as the Paste with AI operations.
214+
215+
Paste actions for transcoding display their fractional progress via a progress-ring - this may be useful for other paste actions in future, but is for now only used by media transcoding.
216+
217+
The [Windows.Media.Transcoding](/uwp/api/windows.media.transcoding) APIs are used in transcoding the audio and video files. The list of supported codecs can be found [here](/windows/uwp/audio-video-camera/supported-codecs).
218+
219+
> [!NOTE]
220+
> The Transcode to audio / video features run locally and don't use AI.
221+
222+
### Transcode to .mp3
223+
224+
The Transcode to .mp3 feature works with both audio and video files. It extracts the audio channel from the media on the clipboard and saves it as an .mp3 file.
225+
226+
:::image type="content" source="../images/pt-advanced-paste-transcode.png" alt-text="A screenshot of the PowerToys Advanced Paste window with the Transcode to .mp3 and Transcode to .mp4 (H.264/AAC) options enabled.":::
227+
228+
This feature could be used to extract audio from combined audio/video files to save disk space and to work with audio-only apps and devices.
229+
230+
### Transcode to .mp4 (H.264/AAC)
231+
232+
The Transcode to .mp4 (H.264/AAC) feature transcodes video files to use the H.264 video codec and AAC audio codec (if audio is present) and saves the streams to an .mp4 file. This feature is useful for transcoding existing video files to a more widely supported format.
233+
202234
[!INCLUDE [install-powertoys.md](../includes/install-powertoys.md)]

hub/powertoys/run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ If the program plugin's option **Include in global result** is not selected, inc
169169
> [!IMPORTANT]
170170
> Please be aware of the different decimal and thousand delimiters supported by different locals.
171171
> The Calculator plugin respects the number format settings of your system. If you prefer the English (United States) number format, change the behavior for the query input and the result output in the [plugin manager](#plugin-manager).
172-
> If your system's number format uses the comma (`,`) as the decimal delimiter, you have to include a space between the number(s) and comma(s) on operations with multiple parameters. The input has to look like this: `min( 1,2 , 3 , 5,7)` or `min( 1.2 , 3 , 5.7)`.
172+
> If your system's number format uses the same character for the list separator and either the decimal or group separator, you have to include a space between the numbers and list separator(s) on operations with multiple arguments. The input has to look like this: `min(7,8 , 9 , 4,3)` or `min(123,456,789 , 4,321)`.
173173
174174
> [!TIP]
175175
> The Calculator plugin can handle some implied multiplications like `2(3+4)` and `(1+2)(3+4)` by inserting the multiplication operator where appropriate.

0 commit comments

Comments
 (0)