CUIX: Swapping my LISP routine’s mapped drive URL link in my Macro with the Google Share Drive web based link of the same file

CUIX: Swapping my LISP routine’s mapped drive URL link in my Macro with the Google Share Drive web based link of the same file

rebPTFNF
Contributor Contributor
435 Views
1 Reply
Message 1 of 2

CUIX: Swapping my LISP routine’s mapped drive URL link in my Macro with the Google Share Drive web based link of the same file

rebPTFNF
Contributor
Contributor

 

My LISP routines are on the Google Share Drive at my work. I have buttons in my custom ribbon that calls my routines using a mapped drive letter URL link. 

 

URL Link example in my custom Macro:

rebPTFNF_0-1646253886919.png

 

 

Goal:

Trying to share this with the other CAD users in the office.

 

Problem:

Various CAD Users have different mapped drive letters (Ex: H:\ or S:\ instead of G:\).

Trying to avoid going around and manually changing the drive letter to match their mapping every time I updated the CUIX file (since path would be overwritten).

Would like to use the universal Google Share Drive web based link (by selecting the file and choose "get link" in Google Drive and copy the link).

 

The Swap:

Current URL Mapping in my Macro example (if image above not showing):

^C^C(load "G:\shardrive\CAD_Department\CAD_menu\LISP\My_routine.lsp");My_routine;

 

Example of swapping with the Google Share Drive link (not working):

^C^C(load "https://drive.google.com/file/d/0BlU92IihdhhcnRlcl9mWxl/view?usp=sharing&resourcekey=0-0VxGZXU_D8Yjt...");My_routine;

 

 

 

Another method I tried

^C^C(command-s "_browser" "https://drive.google.com/file/d/0BlU92IihdhhcnRlcl9mWxl/view?usp=sharing&resourcekey=0-0VxGZXU_D8Yjt.../")

 

 

Anyone know the proper syntax for the macro?

Thanks in advance!

0 Likes
436 Views
1 Reply
Reply (1)