<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stream Deck &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/tag/stream-deck/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Wed, 12 Jul 2023 18:22:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>Stream Deck &#8211; About Things | A Hans Scharler Blog</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>Control PowerPoint with AutoHotkey v2</title>
		<link>https://nothans.com/control-powerpoint-with-autohotkey-v2</link>
					<comments>https://nothans.com/control-powerpoint-with-autohotkey-v2#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 12 Jul 2023 17:38:27 +0000</pubDate>
				<category><![CDATA[Marketing]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AutoHotkey]]></category>
		<category><![CDATA[NORWII]]></category>
		<category><![CDATA[PowerPoint]]></category>
		<category><![CDATA[Stream Deck]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3925</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I am on a mission to master the control of PowerPoint during my presentations. I&nbsp;<em>Zoom</em>,&nbsp;<em>Teams</em>, and share my screen a lot. I often communicate business ideas via slides and love being able to give effective presentations. My biggest issue in a multi monitor setup is flipping back and forth from Zoom or Teams to PowerPoint and having my presentation lose focus. I then go to advance the slides and nothing happens. I then Alt+Tab to find my slideshow and try again. I want to advance my slides no matter what window is in focus. My solution involves a wireless presenter remote and the AutoHotkey v2 utility for Windows. You can reproduce this configuration with any HID device like a footswitch or even an Arduino or an Elgato Stream Deck.</p>



<p>My previous attempts worked out well, but I recently found out that  <a rel="noreferrer noopener" href="https://www.autohotkey.com/docs/v2/" target="_blank">AutoHotkey</a> has changed their configuration files and the project now defaults to AutoHotkey v2 with AutoHotkey v1/v1.1 being deprecated. I have updated my tutorial to AutoHotkey v2.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="3926" data-permalink="https://nothans.com/control-powerpoint-with-autohotkey-v2/image-14-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?fit=752%2C999&amp;ssl=1" data-orig-size="752,999" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Controlling PowerPoint with AUtohotkey v2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?fit=750%2C996&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?resize=376%2C500&#038;ssl=1" alt="" class="wp-image-3926" width="376" height="500" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?w=752&amp;ssl=1 752w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?resize=226%2C300&amp;ssl=1 226w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-14.png?resize=750%2C996&amp;ssl=1 750w" sizes="(max-width: 376px) 100vw, 376px" /><figcaption class="wp-element-caption">Norwii Presenter Remote for PowerPoint</figcaption></figure>
</div>


<p><strong>Big picture.&nbsp;</strong>We are going to install the Norwii Presenter software, configure the buttons on the presenter remote, and create a custom AutoHotkey v2 script to intercept the button presses and send them to PowerPoint. If you don’t do this, the presenter remote will only work when PowerPoint is in focus. That works well in some situations, but it doesn’t work as well for online meetings where you are moving around your desktop to monitor the chat, look a response, or find a document.</p>



<p><strong>Buy a <a href="https://www.amazon.com/gp/product/B081SY17DC?ie=UTF8&amp;psc=1&amp;linkCode=ll1&amp;tag=nothans&amp;linkId=0a6df5e48328214a75b2e5953b14db79&amp;language=en_US&amp;ref_=as_li_ss_tl">Norwii Presenter Remote</a>&nbsp;on Amazon.</strong>&nbsp;I like the Norwii N28 model with its not easy to miss big button for advancing slides, but the other models are lovely too. The N28 is wireless and most buttons are customizable. I also like this model since it uses a AAA battery instead of a rechargeable battery. The rechargeable model sounds like a good idea, but I have found out that it is always dead when you want to use it. With the replaceable battery model, you just replace the battery if it is dead. From my experience and usage, the AAA battery lasts almost a year.</p>



<p><strong>Install the&nbsp;<a rel="noreferrer noopener" href="https://www.norwii.com/downloaden/26-en.html" target="_blank">Norwii Presenter Utility</a>&nbsp;for Windows.</strong>&nbsp;This software has the driver for the wireless dongle and also a tool for remapping the buttons of your remote to new buttons. You can remap all of the buttons (except the laser pointer button). The software is not necessarily easy to use, but it gets the job done. Other presentation remotes lack the ability to be reprogrammed. This is why I love the Norwii models.</p>



<p><strong>Customize the Norwii Presenter buttons.</strong>&nbsp;Click on the Customize tab in the utility and make sure N28 (M) is selected as the model. Under each key configure the short press function for each mapping that you have in AutoHotkey (more on that in a moment). The big yellow button is known as the “Page down” key. I use Shift + F12 to advance my slides in PowerPoint. you can do the other buttons if you like. I have experimented with programing all of the buttons to advance the slides. That way I don’t have to fumble around trying to pick the right button in the heat of the moment. But, I have expanded this to backing up a slide (page up key) and exiting the presentation with the enter key. I practiced a few times to get this right. Let me know in the comments what works for you.</p>



<figure class="wp-block-image"><img data-recalc-dims="1" decoding="async" width="750" height="533" data-attachment-id="2777" data-permalink="https://nothans.com/next-level-powerpoint-control-for-online-meetings-norwii-presenter-remote-autohotkey/norwii-presenter-config" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?fit=1350%2C960&amp;ssl=1" data-orig-size="1350,960" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="norwii-presenter-config" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?fit=750%2C533&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?resize=750%2C533&#038;ssl=1" alt="" class="wp-image-2777" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?resize=1024%2C728&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?resize=300%2C213&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?resize=768%2C546&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-presenter-config.png?w=1350&amp;ssl=1 1350w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Norwii Presenter Software Configuration</figcaption></figure>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" decoding="async" width="750" height="347" data-attachment-id="3927" data-permalink="https://nothans.com/control-powerpoint-with-autohotkey-v2/image-15-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?fit=841%2C389&amp;ssl=1" data-orig-size="841,389" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-15" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?fit=750%2C347&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?resize=750%2C347&#038;ssl=1" alt="" class="wp-image-3927" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?w=841&amp;ssl=1 841w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?resize=300%2C139&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?resize=768%2C355&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-15.png?resize=750%2C347&amp;ssl=1 750w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Norwii Presenter Button Configuration Mapped to Key Bindings</figcaption></figure>
</div>


<p>Also, make sure that the Norwii Presenter Utility starts up with Windows. This will make sure that the utility is running in the background after you reboot to install Windows updates. Click the Setup tab and select, “Start Norwii Presenter after Windows startup.”</p>



<figure class="wp-block-image"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="298" data-attachment-id="2778" data-permalink="https://nothans.com/next-level-powerpoint-control-for-online-meetings-norwii-presenter-remote-autohotkey/norwii-setup" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?fit=1336%2C531&amp;ssl=1" data-orig-size="1336,531" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1648894367&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="norwii-setup" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?fit=750%2C298&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?resize=750%2C298&#038;ssl=1" alt="" class="wp-image-2778" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?resize=1024%2C407&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?resize=300%2C119&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?resize=768%2C305&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2022/04/norwii-setup.jpg?w=1336&amp;ssl=1 1336w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Norwill Utility Setup</figcaption></figure>



<p><strong>Install and configure AutoHotkey.&nbsp;</strong>We are going to use an awesome utility for Windows PCs called&nbsp;<a rel="noreferrer noopener" href="https://www.autohotkey.com/" target="_blank">AutoHotkey</a>. This utility listen for your custom key presses redirects the controls to PowerPoint. Let me warn you now ff this is your first time using AutoHotkey. You are going to get addicted to automation. YOU HAVE BEEN WARNED.</p>



<p>Install&nbsp;<a rel="noreferrer noopener" href="https://www.autohotkey.com/" target="_blank">AutoHotkey v2</a>&nbsp;on your Windows PC. AHK will run in the background waiting for keyboard commands that match the rules that you have created. For help, check out the&nbsp;<a href="https://www.autohotkey.com/docs/v2/" target="_blank" rel="noreferrer noopener">documentation</a>&nbsp;and the&nbsp;<a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=HcgQlGeaPHw" target="_blank">Hello World</a>&nbsp;video on YouTube. I know, it will be daunting at first, but a community of people for the last decade have been creating videos, examples, and tutorials. You just might be inspired to automate other computing tasks. My goal is to map Shift+F12 and Shift+F11 to Page Up and Page Down. Page Up and Page Down are keyboard shortcuts for PowerPoint.</p>



<ol class="wp-block-list">
<li>Right-click on your desktop</li>



<li>Find “New” in the menu</li>



<li>Click “AutoHotkey Script” inside the “New” menu</li>



<li>Name it&nbsp;<em>PowerPoint.ahk</em></li>



<li>Right-click on&nbsp;<em>PowerPoint.ahk</em>&nbsp;and click “Edit Script”</li>



<li>Enter the&nbsp;this <a rel="noreferrer noopener" href="https://github.com/nothans/autohotkey-config-for-powerpoint/blob/main/PowerPoint_AHKv2.ahk" target="_blank">AutoHotkey 2 code</a>&nbsp;and save the file:</li>
</ol>



<pre class="wp-block-preformatted">#Requires AutoHotkey v2.0

;; Key Bindings for AutoHotkey v2 and PowerPoint
;; nothans.com/powerpoint

; Bind to Shift+F12 - Advance slide or start presenting from the last slide
+F12::
{    
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate
        Send "{PgDn}"
        return
    }
    else
    {
        if WinExist("ahk_exe POWERPNT.EXE") {
             WinActivate
	     Send "+{F5}"	
        }        
        return
    }
}

; Bind to Shift+F11 - Go back one slide
+F11::
{
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate
        Send "{PgUp}"
        return
    }

    return
}

; Bind to Shift+F8 - Exit slideshow
+F8::
{       
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate
        Send "{Esc}"
	return
    }

    return
}

; Bind to Shift+F7 - Advance slide or start presenting from the first slide
+F7::
{    
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate
        Send "{PgDn}"
        return
    }
    else
    {
        if WinExist("ahk_exe POWERPNT.EXE") {
             WinActivate
	     Send "{F5}"	
        }        
        return
    }
}</pre>



<p>For more AutoHotkey button mappings, check out my&nbsp;<a href="https://github.com/nothans/autohotkey-config-for-powerpoint/blob/main/PowerPoint_AHKv2.ahk" target="_blank" rel="noreferrer noopener">GitHub</a>&nbsp;repository.</p>



<p><strong>Use your new power to deliver the ultimate PowerPoint presentation.</strong>&nbsp;Now that you are all powerful, open PowerPoint and click the big yellow button on the Norwii N28 remote. This will put your presentation into presentation mode. Click the big yellow button again. Your slides or animations advance. Click it again. Your slides advance. It is a beautiful thing.</p>



<figure class="wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/itgnUx7fnPU?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption">PowerPoint Control with AutoHotkey v2</figcaption></figure>


<h2 class="wp-block-heading" id="elgato-stream-deck-control">Elgato Stream Deck Control</h2>


<p>You can use the same AutoHotkey v2 configuration to control PowerPoint from the <a rel="noreferrer noopener" href="https://amzn.to/3pJB7OW" target="_blank">Elgato Stream Deck</a> or <a rel="noreferrer noopener" href="https://amzn.to/3pJmDP5" target="_blank">Elgato Stream Deck Pedal</a> as well.</p>



<ol class="wp-block-list">
<li>Open up the Stream Deck Software and search for &#8220;Hotkey&#8221;</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="688" data-attachment-id="3928" data-permalink="https://nothans.com/control-powerpoint-with-autohotkey-v2/image-16-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?fit=842%2C772&amp;ssl=1" data-orig-size="842,772" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-16" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?fit=750%2C688&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?resize=750%2C688&#038;ssl=1" alt="" class="wp-image-3928" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?w=842&amp;ssl=1 842w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?resize=300%2C275&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?resize=768%2C704&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-16.png?resize=750%2C688&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>
</div>


<p>2. Drag the Hotkey option to an open button</p>



<p>3. Click into the Hotkey field and wait for it say, &#8220;Observing keystrokes&#8230;&#8221;, and press Shift+F12</p>



<p>4. Rename the title to, &#8220;Advance&#8221;, and set the icon to the forward icon</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="688" data-attachment-id="3929" data-permalink="https://nothans.com/control-powerpoint-with-autohotkey-v2/image-17-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?fit=842%2C772&amp;ssl=1" data-orig-size="842,772" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-17" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?fit=750%2C688&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?resize=750%2C688&#038;ssl=1" alt="" class="wp-image-3929" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?w=842&amp;ssl=1 842w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?resize=300%2C275&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?resize=768%2C704&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-17.png?resize=750%2C688&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Completed Elgato Stream Deck Button for PowerPoint</figcaption></figure>
</div>


<p>5. Create Stream Deck hotkeys for the rest of the key bindings in your AutoHotkey v2 configuration and enjoy the power!</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/YVB3c3ujBVI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption">Controlling PowerPoint with Stream Deck and AutoHotkey (demo)</figcaption></figure>



<p><strong>Let me know in the comments if you try this out. Also, let me know if you have some tricks for PowerPoint or other Windows apps. I am always looking to optimize.</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/control-powerpoint-with-autohotkey-v2/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3925</post-id>	</item>
		<item>
		<title>No Code: On Air Light Controller For Live Streaming and Online Meetings</title>
		<link>https://nothans.com/on-air-light-for-live-streaming</link>
					<comments>https://nothans.com/on-air-light-for-live-streaming#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 30 Aug 2021 22:00:37 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[IFTTT]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Live Streaming Lights]]></category>
		<category><![CDATA[no code]]></category>
		<category><![CDATA[On Air Light]]></category>
		<category><![CDATA[Stream Deck]]></category>
		<category><![CDATA[Teams]]></category>
		<category><![CDATA[Wi-Fi]]></category>
		<category><![CDATA[Zoom]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=2370</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>Back in March 2020, I created an <a rel="noreferrer noopener" href="https://nothans.com/on-air-light-for-microsoft-teams-and-zoom-meetings" target="_blank">On Air Light for Microsoft Teams and Zoom Meetings</a>. I got a great response from this project. Some people built their own version and others even made a product (or trying to make a product) based on the idea. And, I also got a lot of messages looking for help. I realize that coding is not for everyone, so I came up with a different way of controlling your On Air light or even background lights while your <a rel="noreferrer noopener" href="http://livestreaminglights.com" target="_blank">live streaming</a> without writing any code &#8211; just a bunch of configuration steps.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="732" data-attachment-id="2372" data-permalink="https://nothans.com/on-air-light-for-live-streaming/on-air-light-led-strip" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?fit=1016%2C992&amp;ssl=1" data-orig-size="1016,992" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="On Air Light with LED Strip" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?fit=750%2C732&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=750%2C732&#038;ssl=1" alt="" class="wp-image-2372" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?w=1016&amp;ssl=1 1016w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=300%2C293&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/on-air-light-led-strip.jpg?resize=768%2C750&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>On Air Light with Wi-Fi LED Strip</figcaption></figure></div>


<h2 class="wp-block-heading" id="parts">Parts</h2>


<ul class="wp-block-list"><li><a href="https://amzn.to/2ZERX4l" target="_blank" rel="noreferrer noopener">Wi-Fi LED Strip</a></li><li><a rel="noreferrer noopener" href="https://amzn.to/3sWuR3G" target="_blank">Stream Deck</a> &#8211; Any size</li></ul>


<h2 class="wp-block-heading" id="concept">Concept</h2>


<p>Here&#8217;s the idea. We are going to illuminate a box using a Wi-Fi controlled LED Strip. The LED strip that we are selecting uses Wi-Fi to connect to your home router and this allows you to control the LED strip (colors and state) using an IoT home automation site called Tuya Smart Life. In order to control the lights, you can either use your smartphone or buy a Stream Deck. The Stream Deck gives you push-button control of the light. So, when you start up your meeting or online meetings, you just touch a button on the Stream Deck and your live streaming lights turn on, including your new on-air light.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="593" height="685" data-attachment-id="2373" data-permalink="https://nothans.com/on-air-light-for-live-streaming/stream_lights_overview" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Lights_Overview.jpg?fit=593%2C685&amp;ssl=1" data-orig-size="593,685" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630335753&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Stream_Lights_Overview" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Lights_Overview.jpg?fit=593%2C685&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Lights_Overview.jpg?resize=593%2C685&#038;ssl=1" alt="" class="wp-image-2373" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Lights_Overview.jpg?w=593&amp;ssl=1 593w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Lights_Overview.jpg?resize=260%2C300&amp;ssl=1 260w" sizes="auto, (max-width: 593px) 100vw, 593px" /><figcaption>Live Streaming Lights overview</figcaption></figure></div>


<h2 class="wp-block-heading" id="configure-wifi-led-strip">Configure Wi-Fi LED Strip</h2>


<p>The first major hurdle is getting your new Wi-Fi LED Strip connected to your Wi-Fi network at your house. You need to know the network name and password. To configure the LED lights, you have to start with the Tuya Smart Life mobile app on your phone. Download the appropriate app for <a rel="noreferrer noopener" href="https://play.google.com/store/apps/details?id=com.tuya.smart&amp;hl=en_US&amp;gl=US" target="_blank">Android</a> or <a rel="noreferrer noopener" href="https://apps.apple.com/us/app/tuya-smart/id1034649547" target="_blank">Apple</a>. A side bonus is that the Tuya Smart Life app supports lots of home automation things you might have around the house. When you are searching around Amazon, make sure in the Q&amp;A or the reviews area to see if the product supports Tuya. If so, you can have everything controlled by one app. Sign up for a new account and then add your LED Strip to your account. Give the LED strip an easy-to-remember name. Admittedly, this might now go very smoothly. I have found that I need to try the process a few times to get the app to detect my lights. If you run into any trouble, make sure that your lights are in pairing mode and that your Wi-Fi access point supports 2.4GHz.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="746" height="599" data-attachment-id="2374" data-permalink="https://nothans.com/on-air-light-for-live-streaming/tuya_configuration" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Tuya_Configuration.jpg?fit=746%2C599&amp;ssl=1" data-orig-size="746,599" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630345106&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Tuya_Configuration" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Tuya_Configuration.jpg?fit=746%2C599&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Tuya_Configuration.jpg?resize=746%2C599&#038;ssl=1" alt="" class="wp-image-2374" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Tuya_Configuration.jpg?w=746&amp;ssl=1 746w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Tuya_Configuration.jpg?resize=300%2C240&amp;ssl=1 300w" sizes="auto, (max-width: 746px) 100vw, 746px" /><figcaption>Tuya Smart Life Configuration</figcaption></figure></div>


<h2 class="wp-block-heading" id="configure-ifttt">Configure IFTTT</h2>


<p>Visit <a href="https://IFTTT.com" target="_blank" rel="noreferrer noopener">IFTTT.com</a> and sign up for a free account. With a free account, you can create three applets. IFTTT allows you to connect things to other things. In our case, we are eventually going to connect a Stream Deck to the LED strip. A Stream Deck doesn&#8217;t normally connect to the LED strip, so we are going to use IFTTT to bridge this gap. Create a new Applet. Under <em>This</em>, add a webhook. Under <em>That</em>, connect the Smart Life service. A webhook is a trigger that the Stream Deck will use to cause a command on the Smart Life platform. In our case, we are going to toggle the state of the LED strip (turn it on if it was off or turn it off if it was on). Note the key and name of the webhook when you create it at IFTTT. You will use this info for your Stream Deck.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="590" height="520" data-attachment-id="2375" data-permalink="https://nothans.com/on-air-light-for-live-streaming/ifttt_applet" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/IFTTT_Applet.jpg?fit=590%2C520&amp;ssl=1" data-orig-size="590,520" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Hans Scharler&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630335319&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="IFTTT_Applet" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/IFTTT_Applet.jpg?fit=590%2C520&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/IFTTT_Applet.jpg?resize=590%2C520&#038;ssl=1" alt="" class="wp-image-2375" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/IFTTT_Applet.jpg?w=590&amp;ssl=1 590w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/IFTTT_Applet.jpg?resize=300%2C264&amp;ssl=1 300w" sizes="auto, (max-width: 590px) 100vw, 590px" /><figcaption>IFTTT Applet for Tuya Smart Life</figcaption></figure></div>


<h2 class="wp-block-heading" id="configure-stream-deck">Configure Stream Deck</h2>


<p>The Stream Deck has a bunch of buttons that you can press to automate your live stream studio, control things while you are streaming, or quickly open apps at a touch. I use my Stream Deck to control <a href="https://nothans.com/stream-deck-autohotkey-powerpoint" data-type="post" data-id="1710">PowerPoint</a> while I give presentations and webinars.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="843" data-attachment-id="2376" data-permalink="https://nothans.com/on-air-light-for-live-streaming/stream-deck-on-air-light" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?fit=2277%2C2560&amp;ssl=1" data-orig-size="2277,2560" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 2&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1630329400&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.442&quot;,&quot;iso&quot;:&quot;53&quot;,&quot;shutter_speed&quot;:&quot;0.016671&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Stream Deck On Air Light" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?fit=750%2C843&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light.jpg?resize=750%2C843&#038;ssl=1" alt="" class="wp-image-2376" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?resize=911%2C1024&amp;ssl=1 911w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?resize=267%2C300&amp;ssl=1 267w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?resize=768%2C863&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?resize=1366%2C1536&amp;ssl=1 1366w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?resize=1822%2C2048&amp;ssl=1 1822w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?w=1500&amp;ssl=1 1500w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream-Deck-On-Air-Light-scaled.jpg?w=2250&amp;ssl=1 2250w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption>Stream Deck Controller for On Air Light</figcaption></figure>



<p>Within the Stream Deck software, open Store. This will list all of the integrations that are possible. Search for IFTTT. Install the plugin. Drag the custom button to a new button your Stream Deck and configure it with the name of the applet and key from the IFTTT website. I grabbed an image of an On Air light from Google Images and added it as a custom icon.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="497" height="203" data-attachment-id="2377" data-permalink="https://nothans.com/on-air-light-for-live-streaming/stream_deck_button" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Deck_Button.png?fit=497%2C203&amp;ssl=1" data-orig-size="497,203" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Stream_Deck_Button" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Deck_Button.png?fit=497%2C203&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Deck_Button.png?resize=497%2C203&#038;ssl=1" alt="" class="wp-image-2377" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Deck_Button.png?w=497&amp;ssl=1 497w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/08/Stream_Deck_Button.png?resize=300%2C123&amp;ssl=1 300w" sizes="auto, (max-width: 497px) 100vw, 497px" /><figcaption>Stream Deck Button Using IFTTT</figcaption></figure></div>


<h2 class="wp-block-heading" id="experience">Experience</h2>


<p>I have been using this configuration for about a year and it has worked every time. Right before, I start a live stream event, I tough the Stream Deck and my On Air light comes on a few seconds later. Stream Deck also supports events that cause many things to happen with one button press. You could add this IFTTT event to a list of other events that happen all at once. We didn&#8217;t have to code anything to make this LED controller but it is a little complicated to configure. And, every part of the system is not well documented out there. This is truly for the maker, but you can get it going if you persist. Now that you know about this general workflow, you can control anything during your live streams. Maybe, you have a light turn on in the background when you get a new sub. Let me know what you build with this!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/on-air-light-for-live-streaming/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2370</post-id>	</item>
		<item>
		<title>Stream Deck + AutoHotkey + PowerPoint = You&#8217;re Welcome</title>
		<link>https://nothans.com/stream-deck-autohotkey-powerpoint</link>
					<comments>https://nothans.com/stream-deck-autohotkey-powerpoint#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 25 Feb 2021 20:06:54 +0000</pubDate>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AutoHotkey]]></category>
		<category><![CDATA[PowerPoint]]></category>
		<category><![CDATA[Stream Deck]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=1710</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I am not a streamer&#8230; <a href="https://www.youtube.com/channel/UCqhziBin1AZsIT7TauD3oLg" target="_blank" rel="noreferrer noopener">yet</a>. I work on business plans and PowerPoint presentations all day. Maybe someone would watch me drag clipart around on Twitch?</p>



<p>But, I do own an <a rel="noreferrer noopener" href="https://amzn.to/3knsKBy" target="_blank">Elgato Stream Deck</a>. I am always discovering more ways to use it: home automation, muting the right audio source, and loading programs with a touch of a button. A Stream Deck is a grid of physical buttons that have a little display behind them. The buttons can do whatever you want whenever you press them. The displays can show you icons, animations, and statuses.</p>



<figure class="wp-block-image size-large"><a href="https://amzn.to/3knsKBy"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="515" data-attachment-id="1711" data-permalink="https://nothans.com/stream-deck-autohotkey-powerpoint/stream_deck" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?fit=1378%2C946&amp;ssl=1" data-orig-size="1378,946" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Stream_Deck" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?fit=750%2C515&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?resize=750%2C515&#038;ssl=1" alt="" class="wp-image-1711" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?resize=1024%2C703&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?resize=300%2C206&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?resize=768%2C527&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck.jpg?w=1378&amp;ssl=1 1378w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Elgato Stream Deck Mini</figcaption></figure>



<p>I have spent a fair amount of time learning how to customize my Stream Deck and incorporate it into my daily work.</p>


<h2 class="wp-block-heading" id="vicious-cycle">Vicious Cycle</h2>


<p>The one thing that I do every day is give PowerPoint presentations on Microsoft Teams. Frequently during a presentation, I am getting messages in the chat. When I click over into Teams to check on what the chatter is, I lose focus on PowerPoint. Then, I try to advance the slides. PowerPoint doesn&#8217;t move. I look stupid. I question my worth. I am spiraling. And then I realize! I click back on PowerPoint and save the day. Slides are now moving forward. Then, someone sends a message, I click on Teams to check out what I am saying wrong and try to advance the slides and nothing.</p>


<h2 class="wp-block-heading" id="a-solution">A Solution</h2>


<p>I have found a solution. Admittedly, it&#8217;s complicated. If you use Windows, this solution might work for you too. I dedicate two buttons on the Stream Deck to move the slides forward and backward (for those times I have to go back a slide). This works because the Stream Deck can be customized to send a keyboard command to your PC, then AutoHotkey can map the command to a little script. The script brings PowerPoint into focus and sends a keyboard command to PowerPoint. So, no matter where you have clicked during a presentation, your slides move forward and backward and you don&#8217;t have to question your self-worth!</p>


<h2 class="wp-block-heading" id="autohotkey">AutoHotkey</h2>


<p>Install <a rel="noreferrer noopener" href="https://www.autohotkey.com/" target="_blank">AutoHotkey</a> on your Windows PC. AHK will run in the background waiting for keyboard commands that match the rules that you have created. For help, check out the <a rel="noreferrer noopener" href="https://www.autohotkey.com/docs/AutoHotkey.htm" target="_blank">documentation</a> and the <a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=HcgQlGeaPHw" target="_blank">Hello World</a> video on YouTube. I know, it will be daunting, but a community of people for the last decade have been creating videos, examples, and tutorials. You just have to stick with it for a while. You just might be inspired to automate other computing tasks. My goal is to map F13 and F14 (yes there are function keys beyond F12) to Page Up and Page Down. Page Up and Page Down are keyboard shortcuts for PowerPoint. I am using the nowhere to be found F13 and F14 keys so I don&#8217;t accidentally press those keys on my keyboard. I want the Stream Deck to have control over the PowerPoint slides.</p>



<ol class="wp-block-list">
<li>Right-click on your desktop</li>



<li>Find &#8220;New&#8221; in the menu</li>



<li>Click &#8220;AutoHotkey Script&#8221; inside the &#8220;New&#8221; menu</li>



<li>Name it PowerPoint.ahk</li>



<li>Right-click on PowerPoint.ahk and click &#8220;Edit Script&#8221;</li>



<li>Enter and save the code below:</li>
</ol>



<pre class="wp-block-code"><code>F13::
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate ;
        Send {PgDn}
        return
    }

    return 

F14::
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate ;
        Send {PgUp}
        return
    }

    return</code></pre>


<h2 class="wp-block-heading" id="stream-deck">Stream Deck</h2>


<p>On the Stream Deck app, drag over a &#8220;Hotkey&#8221; to one of your buttons. In the Hotkey field, click the down arrow, select F-Keys, and F13. Do this for F14 as well. For the icons, I just used icons found on Wikipedia pages.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="616" data-attachment-id="1712" data-permalink="https://nothans.com/stream-deck-autohotkey-powerpoint/stream_deck_powerpoint_config" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?fit=1125%2C924&amp;ssl=1" data-orig-size="1125,924" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Stream_Deck_PowerPoint_Config" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?fit=750%2C616&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?resize=750%2C616&#038;ssl=1" alt="" class="wp-image-1712" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?resize=1024%2C841&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?resize=300%2C246&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?resize=768%2C631&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint_Config.jpg?w=1125&amp;ssl=1 1125w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Selecting the F13 F-Key in Stream Deck</figcaption></figure>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="563" data-attachment-id="1713" data-permalink="https://nothans.com/stream-deck-autohotkey-powerpoint/stream_deck_powerpoint" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?fit=2560%2C1920&amp;ssl=1" data-orig-size="2560,1920" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;1.8&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 2&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1614263118&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.442&quot;,&quot;iso&quot;:&quot;204&quot;,&quot;shutter_speed&quot;:&quot;0.008335&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Stream_Deck_PowerPoint" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?fit=750%2C563&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint.jpg?resize=750%2C563&#038;ssl=1" alt="" class="wp-image-1713" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=2048%2C1536&amp;ssl=1 2048w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?resize=100%2C75&amp;ssl=1 100w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/02/Stream_Deck_PowerPoint-scaled.jpg?w=2250&amp;ssl=1 2250w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">My PowerPoint Config for Stream Deck</figcaption></figure>


<h2 class="wp-block-heading" id="demo-time">Demo Time</h2>


<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" width="750" height="422" src="https://www.youtube.com/embed/YVB3c3ujBVI?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div></figure>



<p>I have to say that this really makes giving a PowerPoint easier. I hope you find it useful. Let me know if you try it our modify this project to solve something else.</p>


<h2 class="wp-block-heading" id="update-march-2021">Update &#8211; March 2021</h2>


<p>I received a bunch of email after I posted my Stream Deck&nbsp;<a rel="noreferrer noopener" href="https://nothans.com/stream-deck-autohotkey-powerpoint" target="_blank">project</a>&nbsp;to control PowerPoint. Some were happy to see the clues to make their AutoHotkey scripts work properly and others were wondering how to do this without a Stream Deck. Stream Deck controllers are really awesome and have been in high demand over the past year. I have a solution for you. I discovered a $10 PowerPoint&nbsp;<a rel="noreferrer noopener" href="https://amzn.to/30T2Zju" target="_blank">presenter device</a>&nbsp;by KNORVAY/NORWII where the buttons are programmable to control PowerPoint with AutoHotkey. Check out the full tutorial <a href="https://nothans.com/control-powerpoint-with-a-wireless-presenter">here</a>.</p>



<figure class="wp-block-image"><a href="https://amzn.to/30T2Zju"><img loading="lazy" decoding="async" width="1246" height="934" data-attachment-id="1768" data-permalink="https://nothans.com/control-powerpoint-with-a-wireless-presenter/powerpoint-presenter" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?fit=1246%2C934&amp;ssl=1" data-orig-size="1246,934" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PowerPoint-Presenter" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?fit=750%2C563&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?resize=750%2C563&amp;ssl=1" alt="" class="wp-image-1768" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?w=1246&amp;ssl=1 1246w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2021/03/PowerPoint-Presenter.jpg?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Controlling PowerPoint with the KNORVAY N27 Presenter</figcaption></figure>


<h2 class="wp-block-heading" id="update-november-2021">Update &#8211; November 2021</h2>


<p>A person on YouTube asked me about using this solution for jumping to a particular slide of a PowerPoint presentation that is running in the background. The keyboard shortcut for jumping to a specific slide number is to type the slide number and then <em>enter</em>. If you have a slide that you want a Stream Deck button to jump to, all you have to do is add another function key in your PowerPoint AutoHotkey script.</p>



<pre class="wp-block-code"><code>F15::
    if WinExist("PowerPoint Slide Show")
    {
        WinActivate ;
        Send {Text} 12 ; This represents slide number 12
        Send {Enter} ;
        return
    }

    return</code></pre>


<h2 class="wp-block-heading" id="update-july-11-2023-new-autohotkey-v2-config-file">Update &#8211; July 2023 – New AutoHotkey v2 Config File</h2>


<p>I got a new laptop and had to reinstall my PowerPoint control setup. I noticed that <a href="https://www.autohotkey.com/docs/v2/" target="_blank" rel="noreferrer noopener">AutoHotkey</a> has changed their configuration files a lot and have defaulted to AutoHotkey v2 and deprecated v1.</p>



<p>I re-wrote the config file for AutoHotkey v2 and updated the code on the GitHub repo:&nbsp;<a rel="noreferrer noopener" href="https://github.com/nothans/autohotkey-config-for-powerpoint" target="_blank">https://github.com/nothans/autohotkey-config-for-powerpoint</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/stream-deck-autohotkey-powerpoint/feed</wfw:commentRss>
			<slash:comments>35</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1710</post-id>	</item>
	</channel>
</rss>
