简介: 最近写的 maxscript 工具比较多,功能比较杂,写了一个面板,为了便于美术使用,想做一个文档按钮,让其点击后可以自动跳转到说明文档
软件:3dsMax2022
在官方的文档里搜索了一下 URL ,找到了一个看着有可能像的方法,之所以这么说,是因为其它方法更不想
internet.checkConnection 结果这个兄弟只是检查一下地址能不能连通,并不会使用浏览器打开链接
找到了两种方法
-
是使用python
python.Execute "import webbrowser" python.Execute "url = 'https://www.google.com'" python.Execute "webbrowser.open(url)"
-
是向同事习得 shellLaunch
strUrl = @"https://www.google.com" shellLaunch strUrl ""
网友评论