added facebook photo saver - the dumb way

This commit is contained in:
giomba 2020-04-04 16:19:43 +02:00
parent 45330a58ea
commit 651854e7c5
1 changed files with 27 additions and 0 deletions

27
facebook-save-photo.sh Executable file
View File

@ -0,0 +1,27 @@
#!/bin/bash
# Save photos from facebook, the stupid way
while [ true ]; do
xdotool mousemove 500 500
xdotool click 3
sleep 0.5
for i in {1..4}; do
xdotool key Down
sleep 0.2
done
for i in {1..2}; do
xdotool key Return
sleep 0.2
done
xdotool mousemove 550 550
sleep 0.5
xdotool key Right
sleep 2
done