Microsoft’s PowerToys recently received its most significant AI update on Windows 11 (and Windows 10). Windows users already love PowerToys for its collection of handy utilities, and the new update adds an “Advanced Paste” tool to the list, making things even better.
Advanced Paste is an AI-powered tool that can convert the code snippet copied from the clipboard into your preferred programming language. For example, if you have a code snippet in C++ that you want to convert into Python, Advanced Paste can do that for you.
Windows Latest was at the Build 2024 developer conference, where we noticed how Microsoft quickly converted XML into JSON using PowerToys. The company also revealed that using the more advanced version of the feature, it’s possible to convert any popular programming language to your preferred language, but there’s a catch.
PowerToys’ AI-powered copy-and-paste needs your OpenAI API key to function.
To use the feature, you’ll need to open PowerToys > Advanced Paste, turn on the feature, and then manually toggle the Paste with AI option.
This will open a new dialog with quick instructions on where to find the OpenAI API key for ChatGPT. After creating an account on OpenAI, you can enter the API key and save the changes.
Trying the Paste with AI feature in PowerToys
After adding the OpenAI key, you can try the AI-powered feature in Windows 11 by copying a code snippet and pressing the Windows key + Shift + V shortcut.
As shown in the above screenshot, this keyboard shortcut launches a preview pop-up with three default options: Paste as plain text (Ctrl+1), Paste as markdown (Ctrl+2), and Paste as JSON (Ctrl+3).
It will also let you…
read more www.windowslatest.com
Terms of use and third-party services. More here.
Soccer | NFL | NBA | Ads. Amazon
Sports Fan Rings | Sports Fan Football | Sports Fan Jerseys | Sports Fan T-Shirts | Sports Fan Shoes | Sports Fan Jewelry | Puffer Jackets |