Return to Snippet

Revision: 33619
at October 11, 2010 03:33 by nbehier

Initial Code
property applicationName : "Terminal"
tell application applicationName
	tell application "System Events"
		tell front window of process applicationName
				key code 8 using control down
				keystroke "python runserver" & return
			on error theError
				display dialog ("Sorry, an error occured:" & theError) buttons "OK" default button "OK" with icon stop
			end try
		end tell
	end tell
	tell application "TextMate"
	end tell
end tell

Initial URL

Initial Description

Initial Title
Restart Django development server using AppleScript

Initial Tags
server, Development, django

Initial Language