此处用autoit脚本语言获取本机默认浏览器Progid,打开http或https的URL,打开一个.htm或.html文件
;Open a default http or https url
Local $Open_http_URL = RegRead("HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice", "Progid")
Local $Open_https_URL = RegRead("HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpsUserChoice", "Progid")
;Open a .htm or .html file
Local $Open_htm_File = RegRead("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.htmUserChoice", "Progid")
Local $Open_html_File = RegRead("HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.htmlUserChoice", "Progid")