content: global frontApp, frontAppName, windowTitle
  
  set windowTitle to ""
  tell application "System Events"
  	set frontApp to first application process whose frontmost is true
  	set frontAppName to short name of frontApp
  	try
  		tell process frontAppName
  			tell (1st window whose value of attribute "AXMain" is true)
  				set windowTitle to value of attribute "AXTitle"
  			end tell
  		end tell
  	end try
  end tell
  
  return {frontAppName, windowTitle}
  