The last line of the ocascript return {frontAppName, windowTitle} can likely be changed to return the desired text we want. If we swap the two variables they'll be in the right order. It would be nice if the ocascript would also join the two variables into a string joined with a dash " - "
The last line of the ocascript
return {frontAppName, windowTitle}
can likely be changed to return the desired text we want. If we swap the two variables they'll be in the right order. It would be nice if the ocascript would also join the two variables into a string joined with a dash " - "lib/clock_window/oscommand.rb#L45
Once this is done we can change
to simply
at lines lib/clock_window/oscommand.rb#L49-L53
Once this is done the test's will need to be rewritten for the Mac. They'll basically be
format.call(x) == x
once formatting is no longer needed.