Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programmatically turn Plot Stamp On - Non-administrator

2 REPLIES 2
Reply
Message 1 of 3
scot-65
513 Views, 2 Replies

Programmatically turn Plot Stamp On - Non-administrator

My employer requests the following setting to always be checked:

 

PlotStamp-11-06.png

 

The following code will do this:

 

(vl-registry-write (strcat "HKEY_CURRENT_USER\\" (vlax-product-key) "\\Profiles\\" (getvar "CPROFILE") "\\Dialogs\\Plot Stamp") "PlotStamp" 1)

 

However, when a user does not have the power of an administrator, this will not work.

 

How do I make this work for non-administrators?

 

R2007+ / XP & 7

 

Scot-65

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


2 REPLIES 2
Message 2 of 3
M_Hensley
in reply to: scot-65

You could try the old fashioned way:

 

(command "plotstamp" "on" "")

 

Message 3 of 3
scot-65
in reply to: M_Hensley

Well, yes and no.

The other line of code I am using is to check for and load a specific PSS file located in the support path.

 

Thanks anyways M. Hensley.

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost