(BTW, Stream Deck has a nifty online icon generator to make this process easy too, although in this case I’ll admit to creating the images in Snagit first, then importing them into the icon generator for the final sizing steps.) Here’s the setup screen showing the key layout, that each button is configured as a “Hotkey”, and the icons I’ve created for it. (I wrote some more about them in my last post.) The physical models in the Stream Deck family are USB-powered mini-keyboards, and behind each each context-sensitive button is a customisable LCD screen. That’s where the Stream Deck ( Amazon US / JBHifi – AU) comes in. Add to Stream Deckįinger twisting shortcut key combinations are no fun though. If you have a Stream Deck then it doesn’t matter how complicated you make them, because they’re only a quick tap away regardless. They always work, even if Teams or PowerPoint already has the focus. Of course the choice of shortcuts is yours, and they can become your new de-facto replacements. If WinExist("PowerPoint Slide Show") This works if you're using Presenter View too WinActivate ahk_id %winid% Restore previous window focus WinActivate Without any parameters this activates the previously retrieved window - in this case your meeting If WinExist("(Meeting)") Yes, every Teams meeting has that in the title bar - even if it's not visible to you WinGet, winid, ID, A Save the current window ID SetTitleMatchMode, 2 2 = a partial match on the title See the References further down for more info. There’s lots more in the online forum, and the local helpfile. Execution of the sequence ends when it hits a ‘return’. In the sample below, “+^!M::” triggers the action that follows it if you type shift (“+”), control (“^”), alt (“!”) and an M. Note that anything after a semi-colon is ignored as it’s a comment, code steps inside braces are grouped together, and the keyboard triggers precede two colons. – Control-Shift-Alt-P switches to your active PowerPoint presentation, goes back a slide & returns. – Control-Shift-Alt-N switches to your active PowerPoint presentation, advances the slide & returns to wherever previously had focus. – Control-Shift-Alt-M switches to your active Teams *meeting*, toggles the Mute, then returns focus to the original app. All this power in a simple script fileĪll your customisations live in a text file with a “.ahk” extension, the contents written in a relatively straightforward scripting language. So if Microsoft Teams doesn’t have the focus, AHK is able to change focus BACK to it, inject its (local) shortcut, then change back to whatever was “on top” (focussed) beforehand. Of particular interest to us in this powerful utility is its ability to query all the running programs – AND CHANGE FOCUS!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |