I have lsip that opens Microsoft Edge and then launches my default PDF reader using a function called. Here's the code
(If someone knows who should get credit for this I am more than willing to remark it
(defun launchpdf (pdfname / shell)
(vl-load-com)
(setq pdfname (vl-string-translate "|" "\\" pdfname))
(setq shell
(vla-getinterfaceobject
(vlax-get-acad-object)
"Shell.Application"
)
)
(vlax-invoke-method shell 'Open pdfname)
(vlax-release-object shell)
(princ)
)
(defun c:cheats ()
(launchpdf "https://teams.company/revit//revitblog/PublishingImages/New%20user%20Packet/cheatsheet.pdf")
)
However, I'm encountering an issue with hosting a PDF cheatsheet on our company server. Currently, I'm only able to access it via an HTTPS link. Is there a workaround to enable me to keep the cheatsheet on our company server? If I launch the pdf off my computer it works the way I want.
(defun c:cheats ()
(launchpdf "\\\\dt-lshaw2\\dcapps\\help.pdf")
)
Unfortunately, IT has been unable to provide a non-HTTPS link. Any suggestions on how to resolve this would be appreciated."