toursprung/iOS-Screenshot-Automator — pull request #4 by flogehring (2013-09-27 12:11:45+00:00)
Title: Added support for Xcode 5 with the new menu in Simulator

changeDevice() now supports the Simulators new menu.
Unfortunately it now runs ONLY iOS 7.

Executing that function directly in AppleScript does work but I couldn't figure out why it still runs 7.0 even if 6.1 is set.

The code is pretty much just copied form @jonathanpenn's [ui-screen-shooter](https://github.com/jonathanpenn/ui-screen-shooter/blob/master/bin/choose_sim_device)