Just curious, what is the most current status of the way that Igor 6 updates? If I update Igor, will all of my user procedures in the "Igor Pro Folder" still be deleted? I ask because the research group I work in has some not-very-smartly-written code that fails if I try to transfer it to the "My Documents" folder.
What happens when I move the procedures into equivalent places in the Igor User Files folder is that the following lines (buried deep in the set of procedures I am using) fail:
I have found a workaround for the Igor User Files folder by replacing the second line of code above with this:
<br /> NewPath/q/o ColorTablePath "Macintosh HD:Users:Chris2:Documents:WaveMetrics:Igor Pro 6 User Files:User Procedures:ColorTables:Names & Tables"<br />
However, every time I want to transfer the set of procedures to a new computer I have to hunt down the appropriate lines of code and make changes (not all computers are named "Chris2"). This is a pain. If the Igor Pro folder is not a great place to put procedures anymore, maybe there is an equivalent command to "pathinfo Igor" that directs the program to the Igor Pro 6 User Files folder?
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
June 6, 2014 at 02:34 pm - Permalink
DisplayHelpTopic "Special Folders"
June 6, 2014 at 03:15 pm - Permalink
What happens when I move the procedures into equivalent places in the Igor User Files folder is that the following lines (buried deep in the set of procedures I am using) fail:
pathinfo Igor<br />
NewPath/q/o ColorTablePath s_path+"User Procedures:ColorTables:Names & Tables"<br />
I have found a workaround for the Igor User Files folder by replacing the second line of code above with this:
NewPath/q/o ColorTablePath "Macintosh HD:Users:Chris2:Documents:WaveMetrics:Igor Pro 6 User Files:User Procedures:ColorTables:Names & Tables"<br />
However, every time I want to transfer the set of procedures to a new computer I have to hunt down the appropriate lines of code and make changes (not all computers are named "Chris2"). This is a pain. If the Igor Pro folder is not a great place to put procedures anymore, maybe there is an equivalent command to "pathinfo Igor" that directs the program to the Igor Pro 6 User Files folder?
Thanks,
Chris
June 10, 2014 at 09:29 am - Permalink
I also recommend using symbolic paths. Execute this for details:
DisplayHelpTopic "Symbolic Paths"
June 10, 2014 at 10:55 am - Permalink
Problem solved:
NewPath/q/o ColorTablePath SpecialDirPath("Igor Pro User Files", 0, 0, 0 )+"User Procedures:ColorTables:Names & Tables"<br />
Thank you!
June 18, 2014 at 10:00 am - Permalink