skip main content

Posts Tagged ‘trainmode’

TrainMode now supports AppleScripts and therefore Alfred

posted by Duncan at 10:04 am on January 5th, 2012

I’ve just pushed an update to my Mac Utility TrainMode. It allows you to be able to control the application via AppleScript. There are two reason for this feature. One is that I recently update the application, and when re-publishing through the App Store, it got refused due to functionality that had deemed fine the first time round! What it essentially meant was that you could no longer just click the icon in the status bar to activate TrainMode anymore.

Now I use the productivity application Alfred a lot. In fact I struggle to think how I would cope without it now. This application lets you do almost anything on your machine via a series of short keystrokes. It’s free, but the real cool stuff comes when you buy the PowerPack. With the PowerPack you can write your own scripts that can be activated by simple keystrokes.

So I’ve written a simple Alfred extension that can now talk to TrainMode via AppleScript. It means you can now activate and de-activate TrainMode with a simple key combination:

tmo a - activate
tmo d - de-activate

TrainMode Alfred Extension

Any application that supports running AppleScripts could also work. Oh and in Alfred you can change the command completely. In fact I wanted it to be tm, but my mac by default seems to auto convert that into ™.

Introducing TrainMode 1.0, now in the Mac App Store

posted by Duncan at 8:47 am on March 31st, 2011

After the relative success in the iPhone App Store of Hydrate and Keycell, I fancied getting something into the Mac App Store too. I had tried to submit RadioAunty, but had it rejected because it contained Flash! (yeah thanks). I needed other ideas.

Whist getting onto the train to work one morning, getting out my MacBook, and going through the same procedure of, turning off the Wifi, muting the volume, and turning down the screen brightness, it occurred to me that I could streamline this into a simple application that lives in your status bar. One click to turn everything off, one click to turn it back on again. TrainMode was born.

TrainMode #2

The application actually allows you to adjust a few things. Like which things you would like switched off, and how quiet you want the volume muted or how dim you want the screen to go. You can even set it to automatically de-activate after a period of time.

I have been using it every day for about a month now, and whilst it’s hardly life changing, it is proving convenient. I’d love to hear what you think? Get it from the App Store using the link below. I have also provided a few promo codes below. First come first serve.

Download TrainMode from the App Store

# TrainMode promo codes
T7XXEW4A3JPL
HPAHFM9XH9MA
3N6XP9J9FM37
EM4PRKAFR64L
3LKYM3NH6HF9
AMLLARNMY94N
4J4P3HA39XJ7
EHTK36FFN3FH
7AP3RXETWLWA
4NPEPHLYN4NK
4T3LF9R9AT3X
KE9PN7HMK6N4
AXX49PMYP3KX
L6XPLN3HY47L
P7PXAKXTRLAY
3M6EWTAXFAJ7
W3LH66P33J9N
HA37PW9L3WYP
74NJK69XYNTM
HEAJR6TNL99L
7X93HRF9LFYJ
WRPTNMF7MYP4
FJ3HH4K9E7LJ

If you could let me know in the comments if you used one, so I can strike it out.


back to the top