var fhAppPath = fw.findApp("FH11", "FreeHand MX.exe");

if (fhAppPath == "") {
	fhAppPath = fw.findApp("FH X", "FreeHand 10.exe");
}

if (fhAppPath != "") {
	fw.launchApp(fhAppPath, "");
} else {
	var goToSite = fw.yesNoDialog("您的系统未安装 FreeHand。是否要下载免费试用版？");
	
	if (goToSite) {
		fw.launchBrowserTo("http://www.macromedia.com/go/freehand_cn");
	}
}