Forum Discussion
Persistent or auto-start teams meeting for unattended monitor
If you have a persistent link for the meetings, perhaps try having the URL load at start-up. You would need to ensure that credentials are saved/loaded into the browser.
- PaulF707Jan 28, 2020Brass Contributor
@
Even with a URL, there are a couple of mouse clicks to get it to open in the teams app, and the another click in the app to join the meeting.
I'm going to try AutoIt, but I may have to stick with Zoom for this particular usage....
- PaulF707Jan 28, 2020Brass Contributor
Found 1 small improvement
The meeting URL starts teams.microsoft.com/l/meetup-join/…….
If you add in:
teams.microsoft.com/_#/l/meetup-join/…….
then this bypasses the option to open app or open in web. (and opens it in the browser)
I just need to find a way to emulate the 'Join Now' button.......
- PaulF707Jan 28, 2020Brass Contributor
It's not immediately obvious, but the 'Join' button (in Edge) has 'focus' and can be activated by the Enter key.
This crude solution using VBS and SendKeys appears to be working at the moment (subject to further testing).
' Open Teams in Edge
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "microsoft-edge:[ENTERURLHERE]", 9
' Give Teams time to load
WScript.Sleep 15000' Join Meeting
WshShell.SendKeys "{ENTER}"' Give Teams time to join
WScript.Sleep 10000' Go Full Screen
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{TAB}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"
WScript.Sleep 500
WshShell.SendKeys "{DOWN}"
WScript.Sleep 500
WshShell.SendKeys "{DOWN}"
WScript.Sleep 500
WshShell.SendKeys "{ENTER}"