Source code for aircontrol.hotkeys.windows_hotkeys

import pyautogui
import time


[docs] def file_explorer(): """ Open file explorer """ pyautogui.hotkey("win", "e")
[docs] def multi_task(): """ Open Windows multi-tasking """ with pyautogui.hold("win"): pyautogui.press("tab")
[docs] def notifications_center(): """ Open notifications center """ pyautogui.hotkey("win", "a")
[docs] def screen_capture(): """ Open screenshot tool """ pyautogui.hotkey("win", "shift", "s")
[docs] def settings(): """ Open settings """ pyautogui.hotkey("win", "i")
[docs] def split_left(): """ Split current window to the left-side of the screen """ with pyautogui.hold("win"): pyautogui.press("left")
[docs] def split_right(): """ Split current window to the right-side of the screen """ with pyautogui.hold("win"): pyautogui.press("right")
[docs] def voice_type(): """ Start voice typing """ with pyautogui.hold("win"): pyautogui.press("h")