Skip to content

Instantly share code, notes, and snippets.

@willhoney7
Last active March 7, 2019 22:28
Show Gist options
  • Select an option

  • Save willhoney7/7c041a09bfbe4cd2faddb37f944cce60 to your computer and use it in GitHub Desktop.

Select an option

Save willhoney7/7c041a09bfbe4cd2faddb37f944cce60 to your computer and use it in GitHub Desktop.

Revisions

  1. willhoney7 revised this gist Mar 7, 2019. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions ReopenTeams.scpt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    # OpenTeams.scpt
    # To run automatically, see: https://apple.stackexchange.com/a/192654

    repeat
    if application "Microsoft Teams" is not running then
    tell application "Microsoft Teams" to activate
  2. willhoney7 created this gist Mar 7, 2019.
    6 changes: 6 additions & 0 deletions ReopenTeams.scpt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    repeat
    if application "Microsoft Teams" is not running then
    tell application "Microsoft Teams" to activate
    end if
    delay 60 * 15 # every 15 minutes
    end repeat