content: tell application "System Events"
  	tell process "RubyMine"
  				set foo to window 1
  		set bar to the name of foo
  		return find text "^[\\w\\/?\\w\\.\\w]*" in bar with regexp and string result
  	end tell
  end tell
  