Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with the windows optimization to bring up teams #5

Open
FAROKHDUBASH opened this issue Apr 2, 2023 · 0 comments
Open

Help with the windows optimization to bring up teams #5

FAROKHDUBASH opened this issue Apr 2, 2023 · 0 comments

Comments

@FAROKHDUBASH
Copy link

Hi, Thanks for your wonderful tutorial on this project, I was able to build one & it works great.
I do not have much coding experience, however I did try to insert some lines of code before the mute function to bring up teams in the foreground like you had mentioned by Windows + Numeric position key, however it doesn't seem to work, like I have attached in the screenshot it just pulls up a blank window tab but does not switch to teams UI. Could you please help me out with the same?

Below is the snippet of the code.
if switch.value:
# MacOs
print("Button 1, Switch position 1")
led.value = not led.value
keyboard.send(Keycode.GUI, Keycode.THREE, Keycode.THREE)
keyboard.send(Keycode.CONTROL, Keycode.SHIFT, Keycode.M)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant