Jump to content

Recent files


Jowie Tadz

Recommended Posts

Good day, i have this VLX file which adds another tab in menu bar in autocad, that show the 26 recent opened files, but now my problem is, our company implement some policy on domain that restrict reading vlx files, and i cant use it anymore, is there any way to convert this file to a CUI file or some other files type

 

Thanks

RECENT.VLX

Link to comment
Share on other sites

Try this 

 

; Autocad
(setq index 0 lst '()) 
(while (setq fname (vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Recent File List\\") 
                   (setq valuename (strcat "File" (itoa (setq index (1+ index)))))
				   )
	   )
(setq lst (cons fname  lst))
)
(setq lst (reverse lst))

; Note Bricscad uses recent paths
(setq index 0 lst '()) 
(while (setq fname (vl-registry-read (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Recent Paths\\")
                   (setq valuename (strcat "File" (itoa (setq index (1+ index)))))
				   )
	   )
(setq lst (cons fname  lst))
)
(setq lst (reverse lst))

 

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...