Created
January 5, 2015 19:12
-
-
Save jacobsalmela/b7676df7a9e96cb16500 to your computer and use it in GitHub Desktop.
Make full screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keystrokes | |
import win32api | |
import win32com.client | |
shell = win32com.client.Dispatch("WScript.Shell") | |
# Alt+Space+X or F11 makes it full screen | |
win32api.Sleep(2500) | |
# One or the other below should work depending on what browser is being used | |
#shell.SendKeys("% X") | |
shell.SendKeys("{F11}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment