zaggino/brackets-git — pull request #783 by jannae (2014-11-04 22:57:32+00:00)
Title: Corrects the OS X “Terminal got an error: Can’t get window 1"

Code was calling the Terminal process rather than the application; also `set frontmost to true` just doesn’t seem to do what it’s supposed to do. Touching the terminal with a dummy `do script`seems to get the job done.

This has only been tested in Yosemite, and functions properly. Should likely be tested in older versions as well.

Cheers, and thanks!