Michael,
Why is #Shim_Stack hard coded? Couldn't you pass a single variable to all the MCL's with the value needed at the time? That way the macro's don't need physical changes. Just a thought.
 
----- Original Message -----
Sent: Wednesday, April 10, 2002 11:45 AM
Subject: [mfg-smartcam] Changing a variable in a number of macro files at once

I have attached eight .mcl files that all have a string variable

STRING: #Shim_Stack
#Shim_Stack=4

at the beginning.

What I would like to know is there a way to make a program
that can open each file and do a mass change of

#Shim_Stack=4
to
#Shim_Stack=5

and then save the .mcl ?

What I do now is search for the files using Windows Search Results
with the Containing Text field equal to "shim_stack=" and manually change
all the files.

Can a macro .mcl file load a variable from another file?
What I'm thinking here is something like a DOS batch file
with a %1 parameter sort of like the sample below

W:
CLS
COPY %1*.GEO A:
COPY %1*.JOB A:
A:
CLS
DIR %1*.*
W:

Any ideas are greatly appreciated.


Regards,
Michael Senack
 <<SHIMEND.MCL>>  <<SHIMHOLE.MCL>>  <<SHIML49.mcl>>  <<SHIMNEXT.MCL>> 
<<SHIMCWPH.MCL>>  <<SHIMOFF.MCL>>  <<SHIMPNCH.MCL>>  <<SHIMX0Y0.mcl>>

Reply via email to