此处用autoit脚本语言获取本机默认浏览器Progid,打开http或https的URL,打开一个.htm或.html文件
;Open a default http or https url
Local $Open_http_URL = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice", "Progid")Local $Open_https_URL = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice", "Progid");Open a .htm or .html file
Local $Open_htm_File = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\UserChoice", "Progid")Local $Open_html_File = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice", "Progid")