Howdy folks,
There are several countdown macros on the forum already, but I didn’t see any that make use of Keyboard Maestro’s progress bar action (though I might have just missed them if there are). This one uses that action to display the countdown, updating both the text and colored bar in real-time.
More details, screenshots and screen recordings are below. As usual, feel free to share any comments or suggestions, or to let me know if it doesn’t work for you.
NOTE: Version 2.0.0 is a greatly improved method, consisting of several macros that are part of a group. Version 1 is still available however in the Downloads section below.
-Chris
Downloads (click to expand/collapse)
Version 2.0.0: Countdown Macros.kmmacros (62.3 KB)
Version 1.0.0: 47)[MG-SUBRT] Show countdown using progress bar.kmmacros (20 KB)
CURRENT VERSION: 2.0.0 (Tuesday, July 23, 2024)
Version History
v2.0.0 Tuesday, July 23, 2024
Completely new macro, designed as a subroutine that enables an independent macro that is executed every second until the subroutine cancels it, or the countdown runs out.
Various other improvements as well, such as displaying a message in the countdown window and sending Pushover notifications.
See notes in macros for more information.
v1.0.0 Friday, July 28, 2023
Initial macro
Screen recordings (click to expand/collapse)
RELEASE NOTES, INSTRUCTIONS AND DISCLAIMER
Purpose of this macro (click to expand/collapse)
Display a countdown timer using Keyboard Maestro’s progress bar action
How this macro works (click to expand/collapse)
A calling macro (for instance, the Toggle or Stop macros) send all relevant information to the subroutine, which calculates the countdown and starts or stops a progress bar.
How to configure this macro (click to expand/collapse)
Update (or delete) the Pushover actions in the Subroutine, supplying your own user and token strings.
You may also want to change the position of the progress bar in the Subroutine.
By default it is the top right corner of either the main or secondary screen.
How to use this macro (click to expand/collapse)
You can use the Toggle macro to manually set the countdown each time, or embed the Caller macro into your existing macros to have the countdown start or stop automatically if needed.
For the Caller macro, just input the pertinent details in each field.
Disclaimer (click to expand/collapse)
TL;DR: I built it and it works for me. You can share/modify it how you want. But don't blame me if it doesn’t work for you
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.