TextEdit: Show

TextEdit If you hide TextEdit, some of Automator’s TextEdit look for the active TextEdit document but can’t find it. If you’ve hidden it, you’ll need to show it to work with it. (Requires UI scripting enabled.)

--Show TextEdit
tell application "System Events"
tell application "TextEdit" to activate
end tell