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

Menu marking labels

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
133 Views, 2 Replies

Menu marking labels

Hi again,

I try to set a menu with a marking label, but i have a problem, i would like
that when it is set i hav an env value to T else nil ... not so easy to
explain, so for now i've made this :

RS_DelTxt [$(if,$(getenv,rs_deltxt),"!.")Delete text](if (= (getenv
"rs_deltxt") "1") (setenv "rs_deltxt" "0") (setenv "rs_deltxt" "1"))

I know i have "0" or "1" to rs_deltxt but no pb for this.
When i select the item in my menu, it prompt the command ... grrr ... so
does someone have a solution to hide the command or to do it to a better way
(this one suck i guess !!)
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Toggle the menu echo?

RS_DelTxt [$(if,$(getenv,rs_deltxt),"!.")Delete text]^P(if (= (getenv
"rs_deltxt") "1") (setenv "rs_deltxt" "0") (setenv "rs_deltxt" "1"));^P

--
R. Robert Bell, MCSE
http://www.acadx.com


"Frédéric Chartier" wrote in message
news:2E55E96E14EE4482BD0306D43A635F0E@in.WebX.maYIadrTaRb...
| Hi again,
|
| I try to set a menu with a marking label, but i have a problem, i would
like
| that when it is set i hav an env value to T else nil ... not so easy to
| explain, so for now i've made this :
|
| RS_DelTxt [$(if,$(getenv,rs_deltxt),"!.")Delete text](if (= (getenv
| "rs_deltxt") "1") (setenv "rs_deltxt" "0") (setenv "rs_deltxt" "1"))
|
| I know i have "0" or "1" to rs_deltxt but no pb for this.
| When i select the item in my menu, it prompt the command ... grrr ... so
| does someone have a solution to hide the command or to do it to a better
way
| (this one suck i guess !!)
|
|
Message 3 of 3
Anonymous
in reply to: Anonymous

I'm not sure I understand your question, so I'll ask one of my own instead.
Is "rs_deltxt" a custom environment variable you created? If so, how did
you do it?

--
Ben Maki
NDC Inc.


"Frédéric Chartier" wrote in message
news:2E55E96E14EE4482BD0306D43A635F0E@in.WebX.maYIadrTaRb...
> Hi again,
>
> I try to set a menu with a marking label, but i have a problem, i would
like
> that when it is set i hav an env value to T else nil ... not so easy to
> explain, so for now i've made this :
>
> RS_DelTxt [$(if,$(getenv,rs_deltxt),"!.")Delete text](if (= (getenv
> "rs_deltxt") "1") (setenv "rs_deltxt" "0") (setenv "rs_deltxt" "1"))
>
> I know i have "0" or "1" to rs_deltxt but no pb for this.
> When i select the item in my menu, it prompt the command ... grrr ... so
> does someone have a solution to hide the command or to do it to a better
way
> (this one suck i guess !!)
>
>

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

Post to forums  

Autodesk Design & Make Report

”Boost