Launching MS Edge from a custom ribbon button

Launching MS Edge from a custom ribbon button

robw
Advocate Advocate
1,136 Views
2 Replies
Message 1 of 3

Launching MS Edge from a custom ribbon button

robw
Advocate
Advocate

Hi, I'm try to launch a website from a new button I've made in my ribbon.

I can get it to launch it in the old Windows internet Explorer, but want it to use Microsoft Edge.

 

What I have so far is a button with a macro linked to a small lisp routine.

Button macro:

^C^Copsd00

Lisp:

(defun c:opsd00 (/)
(setvar 'CMDECHO 0)
(command "browser" "http://www.raqsb.mto.gov.on.ca/techpubs/OPS.nsf/OPSHomepage")
(setvar 'CMDECHO 1)
  (terpri)(princ)(princ)(princ)
  (prompt "\nSmile. You don't know who's watching....")(princ)
 )

 

It's been a long time since I looked at Lisp and customizing AutoCAD, so I've run out of steam.

 

Any ideas?

 

Thanks

 

Civil 2018. Windows 10 Pro.

 

0 Likes
Accepted solutions (1)
1,137 Views
2 Replies
Replies (2)
Message 2 of 3

CodeDing
Advisor
Advisor
Accepted solution

@robw,

 

Use SHELL instead..

(command "_.SHELL" "start Microsoft-edge:http://www.raqsb.mto.gov.on.ca/techpubs/OPS.nsf/OPSHomepage")

Best,

~DD

0 Likes
Message 3 of 3

robw
Advocate
Advocate

Fantastic

Thanks

 

0 Likes