Alert - Get text

Save the displayed text of an alert window into a variable.