しばらくして、私はそれをすべて理解しました。HTML/Javascript の組み合わせを使用してデフォルトの Web ブラウザー (HTML5 をサポートすることを願っています) をトリガーし、そこで Youtube クリップを表示する必要がありました。
舌足らずの発音:
(setfunhelp "C:MyFunction" "C:\\path\\to\\html\\file\\MyFunc_Help.html")
(defun C:MyFunction ()
(alert "this is my function")
)
HTML:
<html>
<body>
<script>
function OpenInNewTab(url, callback) {
var acWindow = window.open("", "_self");
acWindow.document.write("");
setTimeout (function() {acWindow.close();},500);
var newWindow = window.open(url, '_blank');
newWindow.focus();
}
OpenInNewTab("https://youtu.be/FERNTAh5s0I");
</script>
</body>
</html>
この HTML コードは、既定のブラウザで新しいブラウザ ウィンドウを開き、500 ミリ秒後に AutoCAD の既定のブラウザを閉じます。
これが誰かの助けになることを願っています。