vernonlee 发表于 2022-7-6 23:36:39

HELP: How to draft the macro s

I am using the particular macro to isolate a particular layer but i think ''_" & "-" is giving it problems.
 
This is the layer i need to isolate
 
"XXXXX$0$A-_ANOTREVN_E-"
 
There are other layers similar where XXXXX is the variable, which i want to isolate hence it use * as a wildcard
 
But there is also another layer "A-_ANOTREVN_E-" where i want it to be excluded from the script.
 
 
How then should I draft it?
 
this is the script i use:-
 

^C^C-LA;off;*;y;on;*$0$A-_ANOTREVN_E-,*DIS*;^C^C_zoom;e;

vernonlee 发表于 2022-7-7 00:22:34

Any suggestion? Or it cannot be done?

steven-g 发表于 2022-7-7 00:38:43

Commands used in macro's can give unexpected results when you try and enter text values, it works from within a script file (for other commands scripts can be a problem) sometimes it's worth trying both ways. If you place the script in the file search path you can run it from a macro, or you need to include the full path (but again that can cause problems).
Try this as a script

layeroff*yon*$0$A-_ANOTREVN_E-,*DIS*_zoome
页: [1]
查看完整版本: HELP: How to draft the macro s