baniol
5/8/2013 - 6:36 AM

runs dev environment for the responsive-tester app, applescript

runs dev environment for the responsive-tester app, applescript

tell application "iTerm"
  activate
	
	-- Create a new terminal window...
	set myterm to (make new terminal)
	
	-- ... and go on within this one.
	tell myterm
		-- Set the terminal size constraints.
		-- set number of columns to 30
		-- set number of rows to 30
		
		launch session "Guake"
		tell the last session
			set name to "mui server"
			write text "cd ~/coffee_script/tester"
			write text "hotnode server.js"
		end tell
		
		launch session "Guake"
		tell the last session
			set name to "mui sass"
			write text "cd ~/coffee_script/tester/sass"
			write text "compass watch"
		end tell
		
		launch session "Guake"
		tell the last session
			set name to "mui sass"
			write text "cd ~/coffee_script/tester"
			write text "cake watch"
		end tell
		
		launch session "Guake"
		tell the last session
			set name to "mui chrome"
			write text "cd ~/coffee_script/tester"
			write text "subl ."
			write text "chrome http://localhost:8080"
		end tell
		
	end tell
	
end tell