Last active
May 3, 2019 19:15
-
-
Save malaya-zemlya/79c24048dd401ba9eed2c83d82067345 to your computer and use it in GitHub Desktop.
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
DEFAULT_DELAY 300 | |
REM Allow time for device to be recognized and cancel whatever was going on | |
DELAY 500 | |
ESC | |
REM open spotlight | |
GUI SPACE | |
STRING terminal | |
ENTER | |
REM Allow time for terminal to open | |
DELAY 200 | |
REM Open new Terminal Tab | |
GUI t | |
REM open the browser and lock the computer after 15 seconds | |
STRING open https://lockyourcomputer.squarespace.com/ & (sleep 15; pmset displaysleepnow) | |
ENTER | |
DELAY 1500 | |
REM go to the nav bar | |
GUI l | |
REM full screen with javascript api | |
STRING data:text/html,<style>*{position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;border:0;width:100%;height:100%}</style><body onkeydown=this.requestFullScreen?this.requestFullScreen():this.mozRequestFullScreen?this.mozRequestFullScreen():this.webkitRequestFullScreen()><iframe width=100% height=100% src=http://lockyourcomputer.squarespace.com></iframe></body> | |
ENTER | |
DELAY 200 | |
REM popup blocker bypass | |
ENTER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment