QA Graphic

Simple Date Calculation

Using Keyboard Maestro to display upcoming release information.

At my company we do weekly software releases. It's important for everyone to know the date of the next release and Code Freeze.

Here's my simple Keyboard Maestro macro on when the next release will be - we do releases on Thursdays.

Next Release

This is the Unix command that I used: date -v +Thur "+%B %d, %Y"

Two Weeks From Now

I have another macro that shows the release in two week: date -v+2w -vThur "+%B %d, %Y"

Code Freeze Info

Code Freeze is important to know in any release planning. Even though our code freeze hasn't changed much in four years - I still get asked when is code freeze.

That's why I have this macro set up. With it, I can instantly tell anyone how many hours until the next code freeze - without interrupting my current train of thought.

This macro is perfect for slack or as a response to an email inquiry.

I type in... release.info
Keyboard Maestro Response is : The next Code Freeze is at xxx that's xxx hours from now.

Here's the action part of the Macro:

Release Info

I used PHP in this example because it's a lot easier to do the calculation than to have multiple actions. One improvement that I could do would be to use the data from the "Next Release" macro to populate the release date.

Engineering and Product are impressed by how quickly I answer their question. It's as if I am sitting at my computer waiting to give them the answer.

You can see how nice it is to use Keyboard Maestro for repetitive tasks - it's even better when calculations are involved.

 

Comments

Add Comments

Name:
Comment:

 

About

These posts highlights some cool examples of why Keyboard Maestro should be part of every Mac OS user's computer. Keyboard Maestro is a powerful automation tool that can help improve productivity, save time, and streamline tedious tasks. It has a wide range of features and functions that can be customized to suit any user's needs, making it an ideal choice for Mac OS users.

Schedule

ThursdayPython
FridayMacintosh
SaturdayInternet Tools
SundayOpen Topic
Monday Media Monday
TuesdayQA
WednesdaySnagIt for QA