-
-
Save ichaida/6d6f3c3d64c22526283d 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
#!/bin/bash | |
#this script looks for a window named Mozilla Firefox and then starts procedure to select all mails in the current folder and archive them | |
for i in {1..30} | |
do | |
xdotool search --name "Mozilla Firefox" key s+a | |
xdotool search --name "Mozilla Firefox" key e | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment