blob: 2386378335888c620a0fdd5cb2789a13e2dbbf60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# Launch commands to control a web page
# $@ contains the website that was opened
# The espn example moves the mouse and clicks to make the player active
# Then the f key is pressed to make the video fullscreen
if [[ $@ == *"espn.com"* ]];
then
sleep 7
xdotool mousemove 722 531 click 1 click 1
xdotool key f
fi
|