Hmm, it seems to work without the "select top" com...
# magic
p
Hmm, it seems to work without the "select top" command at the top. I just hope that it always works and that it doesn't randomly fail someday
t
I always use
select top cell
, not
select top
. Does that make any difference?
Yes, just doing a quick experiment,
select top
is actually attempting to select a layer called
top
and failing.
select top cell
is the command you want.
p
I still get "Crosshair not in a valid window for this command" with
select top cell
t
Are you running with
magic -dnull -noconsole
?
p
magic -dnull -noconsole -nowindow -T $tech $mag
t
How about if you start off with the command
box 0 0 0 0
?
p
Still an error
But it works without the select top cell command. I just hope the expand command always works and doesn't fail someday without the select top cell first
t
Okay, the correct fix is not to use the
-nowindow
option.
p
Yes, that works! Thanks a lot! 🙂