<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fernando Guisbert Segales</title>
    <description>The latest articles on DEV Community by Fernando Guisbert Segales (@ferdunt).</description>
    <link>https://dev.to/ferdunt</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F466051%2F534903e6-320e-443b-b82f-e7ed49bf6408.jpg</url>
      <title>DEV Community: Fernando Guisbert Segales</title>
      <link>https://dev.to/ferdunt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ferdunt"/>
    <language>en</language>
    <item>
      <title>Microsoft PowerToys in 2023 🚀</title>
      <dc:creator>Fernando Guisbert Segales</dc:creator>
      <pubDate>Wed, 14 Dec 2022 15:28:43 +0000</pubDate>
      <link>https://dev.to/ferdunt/microsoft-powertoys-in-2023-262o</link>
      <guid>https://dev.to/ferdunt/microsoft-powertoys-in-2023-262o</guid>
      <description>&lt;p&gt;PowerToys are a set of utilities designer for Windows you can download it via Github or Microsoft Store.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0cubvr83t735zgreu4an.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0cubvr83t735zgreu4an.png" alt="Image description" width="800" height="320"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;PowerToys have a lot of tools but in this post I will show you the most useful ones that you should give it a try.&lt;/p&gt;




&lt;h2&gt;
  
  
  HOW TO INSTALL IT? 💻
&lt;/h2&gt;

&lt;p&gt;I highly recommend you install it via Github in the following link &lt;br&gt;
🔗&lt;a href="https://github.com/microsoft/PowerToys/releases/tag/v0.65.0" rel="noopener noreferrer"&gt;PowerToys Github v0.65.0 - 2022/12&lt;/a&gt; &lt;br&gt;
Go to the bottom and select the installer of your preference.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fslvpbwuy1yni30zikm86.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fslvpbwuy1yni30zikm86.png" alt="Image description" width="800" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But if you want more info like requirements you can check it here&lt;br&gt;
🔗&lt;a href="https://learn.microsoft.com/en-us/windows/powertoys/install" rel="noopener noreferrer"&gt;PowerToys Page&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  UTILITIES
&lt;/h2&gt;

&lt;p&gt;Now here are the best utilities that I found in PowerToys&lt;/p&gt;

&lt;h3&gt;
  
  
  1️⃣ ALWAYS ON TOP
&lt;/h3&gt;

&lt;p&gt;With this tool you can pin as the top of all the windows any app you want.&lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;Just go to any window or app you want to stay pinned then activate it with the shortcut 🔑 and it will have a blue line around it and It will be pinned until you turn in off.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔑 SHORTCUT
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;Win&lt;/code&gt; + &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;T&lt;/code&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg8lipe3b9um8s4p0i649.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg8lipe3b9um8s4p0i649.png" alt="Image description" width="489" height="773"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2️⃣ FANCYZONES
&lt;/h3&gt;

&lt;p&gt;With this tool you can arrange your different apps in your screen&lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;First press the shortcut 🔑 and a new window will be opened with different layouts just select the one you like or create a custom one.&lt;br&gt;
Second based on the first step select the window you want to arrange and just press &lt;code&gt;Shift&lt;/code&gt; so a blue layouts will be showed to you so you can put your window in any of them.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔑 SHORTCUT
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Select the layout =&amp;gt; &lt;code&gt;Win&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;strong&gt;`&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Arrange a window =&amp;gt; &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;Click on your window&lt;/code&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhz3mgtsefr5ffxuso3dl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhz3mgtsefr5ffxuso3dl.png" alt="Image description" width="800" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3️⃣ PREVIEW EXPLORER
&lt;/h3&gt;

&lt;p&gt;You can see the content of different files like&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SVG icons (.svg)&lt;/li&gt;
&lt;li&gt;Markdown files (.md)&lt;/li&gt;
&lt;li&gt;Source code files (.cs, .cpp, .rs, ...)&lt;/li&gt;
&lt;li&gt;PDF files (.pdf)&lt;/li&gt;
&lt;li&gt;G-code files (.gcode)&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;In this case open the PowerToys app &amp;gt; Select File Explorer add-ons utility and enable it.&lt;br&gt;
Then go to a File explorer &amp;gt; View &amp;gt; select Preview Pane.&lt;/p&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxoq58723aha5skxtempq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxoq58723aha5skxtempq.png" alt="Image description" width="800" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4️⃣ IMAGE RESIZER
&lt;/h3&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;First open it in the PowerToys settings and create custom sizes that you will use.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk5hlxsmvh5bbzk42kue5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk5hlxsmvh5bbzk42kue5.png" alt="Image description" width="800" height="814"&gt;&lt;/a&gt;&lt;br&gt;
Second select any image and right click and choose &lt;code&gt;Resize pictures&lt;/code&gt; then select the size and finally press &lt;code&gt;Resize&lt;/code&gt; button.&lt;br&gt;
It will create a new picture with the new size and keep the original too.&lt;/p&gt;

&lt;h3&gt;
  
  
  5️⃣ FIND MY MOUSE
&lt;/h3&gt;

&lt;p&gt;There are some times we cannot find our pointer or when we are explaining something we want to highlight something this tool help us a lot. &lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;Just press the shortcut and there is the magic but you can modify it in the PowerToys settings.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔑 SHORTCUT
&lt;/h4&gt;

&lt;p&gt;Double press on &lt;code&gt;Ctrl&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw63hb7kxuq6jq03tvwwq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw63hb7kxuq6jq03tvwwq.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6️⃣ RUN UTILITY
&lt;/h3&gt;

&lt;p&gt;It's a quick launcher like Mac OS or linux for Windows&lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;By default it's enabled on PowerToys settings and to use it just press the shortcut and type the file or app you want to open, search on the web even fast math calculations.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔑 SHORTCUT
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;Alt&lt;/code&gt; + &lt;code&gt;Space&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5xedjz1riyxp8vkcywn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5xedjz1riyxp8vkcywn.png" alt="Image description" width="685" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7️⃣ QUICK ACENT
&lt;/h3&gt;

&lt;p&gt;These tool will help you in these cases where you want to type a letter with accent for like ñ or ë, etc. We usually search these letters on the web or try to configure or keyboard for a specific country but not anymore.&lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;Press any letter combined with the key &lt;code&gt;space&lt;/code&gt; so at the top you will see a bar with the possible letters&lt;/p&gt;

&lt;h4&gt;
  
  
  💻 PREVIEW
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhx2fq9mce3r1bxazziwi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhx2fq9mce3r1bxazziwi.png" alt="Image description" width="501" height="71"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  8️⃣ TEXT EXTRACTOR
&lt;/h3&gt;

&lt;p&gt;There are sometimes you can to copy a text from an image or webpage but it's difficult because you need to rewrite it but with this tool it will simplify your work.&lt;/p&gt;

&lt;h4&gt;
  
  
  🤔 HOW TO USE IT
&lt;/h4&gt;

&lt;p&gt;Just type the shortcut and a pointer will be opened then select the image or section where you want to extract the text and go to any text editor and paste &lt;code&gt;Ctrl&lt;/code&gt; + &lt;code&gt;v&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  🔑 SHORTCUT
&lt;/h4&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;Win&lt;/code&gt; + &lt;code&gt;Shift&lt;/code&gt; + &lt;code&gt;T&lt;/code&gt;
&lt;/h2&gt;

&lt;h4&gt;
  
  
  These are just some tools you can find more useful ones there just give it a try 🚀
&lt;/h4&gt;




&lt;blockquote&gt;
&lt;p&gt;⚠ Don't forget to update the app and new releases&lt;br&gt;
⚠ Check the settings for each tool in order to check if it's activated or not&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>browser</category>
      <category>opensource</category>
      <category>linux</category>
    </item>
    <item>
      <title>Multiple Events to a Listener with JavaScript</title>
      <dc:creator>Fernando Guisbert Segales</dc:creator>
      <pubDate>Sun, 20 Sep 2020 08:36:00 +0000</pubDate>
      <link>https://dev.to/ferdunt/multiple-events-to-a-listener-with-javascript-2bj8</link>
      <guid>https://dev.to/ferdunt/multiple-events-to-a-listener-with-javascript-2bj8</guid>
      <description>&lt;p&gt;When we code we usually have one event for one listener but there are cases where we need to add more that one event for the same listener.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrong way
&lt;/h2&gt;

&lt;p&gt;The first thing that can come to our mind can be the next code:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F6xj6jkgfh8dx4a0cmbgg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F6xj6jkgfh8dx4a0cmbgg.png" alt="Fail"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But It’s not possible to add two different events for one listener like we did above, so we have different ways to achieve our goal and I will show you 3 ways to do it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Way 1
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;We can create 2 events listeners each one for the button element.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg2w1lvhh2qc2j02kp6jq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fg2w1lvhh2qc2j02kp6jq.png" alt="Code1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Way 2
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;We can create a variable &lt;strong&gt;&lt;em&gt;“myEvents”&lt;/em&gt;&lt;/strong&gt; to store the event listeners and split them and finally loop with a &lt;strong&gt;&lt;em&gt;forEach&lt;/em&gt;&lt;/strong&gt; and assign each event listener.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvq21cmjx3ve6fnj0kn2v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fvq21cmjx3ve6fnj0kn2v.png" alt="Code2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Way 3
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;We can store our event listeners into an array and loop with a &lt;strong&gt;forEach&lt;/strong&gt; and assign each event listener.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fn9dzzph4uqei25pmzxde.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fn9dzzph4uqei25pmzxde.png" alt="Code3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;p&gt;You can watch the results of the code we have seen above in the next image. If you want to test it you can download the code which is store in Github in the next link as a little project:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/ferdunt/Javascript-tutorials/tree/master/Multiple%20events%20to%20a%20listener" rel="noopener noreferrer"&gt;Link Github Project&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fq237hxgi87cqrpnon1j2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fq237hxgi87cqrpnon1j2.png" alt="Results"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;The “Way 3” is the best option so far if we want to add multiple events to a listener this way you can avoid rewrite the same code over and over again and remember “Don’t Repeat Yourself”.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>javascript</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
