added facebook photo saver - the dumb way
This commit is contained in:
parent
45330a58ea
commit
651854e7c5
27
facebook-save-photo.sh
Executable file
27
facebook-save-photo.sh
Executable 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user