Where is the recreation macro saved? Could it be changed (unintentionally?)
Fri, 06/05/2020 - 06:51 pm
Since Igor 3, I believed that the recreation macro for a graph generated either by 1) closing the graph window (and choosing "Save" or "Replace"), 2) Windows > Control > Window Control > Update Window Macro, or 3) DoWindow /R was automatically saved in the Procedure Window.
I have experienced a never-encountered strange behaviour with Igor Pro 188.8.131.52/Windows 10: The recreation macro that I created through any of the methods above was unexpectedly made in a procedure, which was made before, saved as a separate ipf file and automatically loaded from the "Igor Procedures" folder.
A bad thing is when I "update" the graph recreation macro, say graph2, in a new experiment that I was working, it replaced (i.e., overwrote) the original graph2 macro in this separate ipf file with the one for the graph2 that I was handling.
The question is 1) is there any way to explicitly change the target procedure file where the recreation macro is saved? and 2) would there be a possibility that this destination procedure is unintentionally changed to a separate ipf file by chance or by unallowed manipulation?
I am sure that if 2) could happen under a specific situation, this would be a severe bug. Did I do anything wrong that might have allowed Igor to behave like this? I am sorry I cannot identify the situation where I can reproduce this phenomenon. I wish you check if there's such possibility.