Easy Launch

I wrote this small script to quickly open applications, without having to navigate to them. When launched, it will prompt you to enter the name of an app, and will then try to open that program. If it cannot find that program, it will present a dialog asking you to find that program.
I save it as a stay-open application, but that’s just my preference. Hope someone can use it. (:

OS version: OS X

on run
	-- When first launched, do this
	set theapp to text returned of (display dialog "Launch what program?" default answer "")
	tell application theapp to activate
end run

on reopen
	-- When re-launched, do this
	set theapp to text returned of (display dialog "Launch what program?" default answer "")
	tell application theapp to activate
end reopen