Reply To: Importing macros to a new install

Product Compare Forums Multi-Edit Support Importing macros to a new install Reply To: Importing macros to a new install

#5245
Clay Martin
Keymaster

I don’t have a startup2.cfg so I don’t think it is being recreated.

You could try enclosing all your startup2.cfg commands in a if statement that checks for a global variable

If <~yourvar> != 1
….
Endif

and within the if block create that variable with
GInt yourvar 1

Thus your block of code would be skiped after it runs once. Yea its a bit cludgy :roll: but might get around the delete file problems.

If that does not work ’cause the var does not exist then maybe:
GInt yourvar
If <~yourvar> != 1
GInt yourvar 1
….
Endif

HTH,
Clay