Using Mac as a Motion sensor? (Working on computer mode)

You may be able to do something with Alfred also.