Stuck on trying to get system variable input for DIESEL

Joe

Usenet Archive
Joined
Sep 25, 2000
Messages
154
Reaction score
0
I am attempting to create a button to lock all layers, except the current one. I don't have experience using diesel, but suspect that this is the way to do it. This is the macro as I have it now, but I have something wrong...

^C^C-la lo *;un &(getvar, clayer)

The first part;

-la lo *;

will lock all the layers. Then for the second part

un &(getvar, clayer)

my intent is to continue with the Layer command for Unlocking, and get DIESEL to return the text of the current layer.

What am I doing wrong?
 
Joe said:
I am attempting to create a button to lock all layers, except the current one.

Here is one way.
(command "._layer" "_Lock" "*" "_Unlock" (getvar"clayer") "")
 
Joe,
I'm in the middle of a publish right now, so I can't check this, but try replacing the & with a $

^C^C-la lo *;un $(getvar, clayer)

Mike Weaver
 

Latest threads

Back
Top