Skip to content

Commit

Permalink
Add more AppleScript examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopherjohnson committed Nov 10, 2019
1 parent c68e08f commit 587c4c1
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions Scripts/AppleScript/Pause Timer.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tell application "Menubar Countdown" to pause timer
1 change: 1 addition & 0 deletions Scripts/AppleScript/Resume Timer.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tell application "Menubar Countdown" to resume timer
11 changes: 11 additions & 0 deletions Scripts/AppleScript/Start 15 Minute Timer.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- Start a 15-minute timer

tell application "Menubar Countdown"

set hours to 0
set minutes to 15
set seconds to 0

start timer

end tell
11 changes: 11 additions & 0 deletions Scripts/AppleScript/Start One Hour Timer.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- Start a one hour timer

tell application "Menubar Countdown"

set hours to 1
set minutes to 0
set seconds to 0

start timer

end tell
4 changes: 1 addition & 3 deletions Scripts/AppleScript/Start Pomodoro Timer.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

tell application "Menubar Countdown"

activate

set hours to 0
set minutes to 25
set seconds to 0
Expand All @@ -21,4 +19,4 @@ tell application "Menubar Countdown"

start timer

end tell
end tell
1 change: 1 addition & 0 deletions Scripts/AppleScript/Stop Timer.applescript
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tell application "Menubar Countdown" to stop timer

0 comments on commit 587c4c1

Please sign in to comment.