Skip to content

Instantly share code, notes, and snippets.

@msis
Last active February 4, 2018 23:05
Show Gist options
  • Save msis/8503c8977f9702299b93 to your computer and use it in GitHub Desktop.
Save msis/8503c8977f9702299b93 to your computer and use it in GitHub Desktop.
[0-inbox for Outlook.com with Firefox] #outlook.com #bash #script #shell #firefox
#!/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