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! Correcting your frequently mis-typed words.Inserting signatures or other frequently used blocks of text.Automating repetitive tasks like filling out web forms.type ‘bbs’ and it will delete ‘bbs’ and replace it with ‘be back soon’). “AutoHotkey is a free, open-source custom scripting language for Microsoft Windows, initially aimed at providing easy keyboard shortcuts or hotkeys, fast macro-creation and software automation that allows users of most levels of computer skill to automate repetitive tasks in any Windows application.” – Wikipedia. The fix is relatively simple, disguised as the open-source utility AutoHotkey, or AHK. Why’s that? They’re not ‘global’ – they’ll only work when the Teams client has the focus. Microsoft Teams has plenty of useful keyboard shortcuts, but if you’re running a complex meeting and maybe using OBS Studio like I did recently, they’re probably not going to work.
0 Comments
Leave a Reply. |