re organizing macro changing the folder paths into the macro files. is it possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello
when I made my macros I has been used to put them intofolders nested a lot , (nesting them with long folder paths).
This was because I had to made groups of macros for eacn milling machine.
Now, Is there a software that can canges , into each of my macro text files, the path folders?
here a simple example I underlined what I have to change, the path folder:
I need to change this:
STRING ARRAY Choices[] = { "sbalzo 50", "applica HAIMER 100"}
INT C = INPUT CHOICE $Choices "6R1"
IF $C==0 {
MACRO "C:\pmill4\micromacro\MACRO_SGROSSATURA\VTR\6R1\6R1_sbalzo_50.mac"
} ELSEIF $C==1 {
MACRO "C:\pmill4\micromacro\MACRO_SGROSSATURA\VTR\6R1\APPLICA_PINZA_HAIMER.mac"
}
into this:
STRING ARRAY Choices[] = { "sbalzo 50", "applica HAIMER 100"}
INT C = INPUT CHOICE $Choices "6R1"
IF $C==0 {
MACRO "C:\main\6R1_sbalzo_50.mac"
} ELSEIF $C==1 {
MACRO "C:\main\APPLICA_PINZA_HAIMER.mac"
}
I have tons of macros, and all of them are inside long path folders.
I mean, to put all the macros into one mail folder "pmill6" I know there is a software that can move all the files nested from different folders into one main folder at once.
But I need also to re write the path folders into each text contained into each macro. (impossible to change the path one by one by hand of each macro)!
all my macros are one word called, using _ as a separator, so it is a united word named_all_like_this_for_example.mac , maybe there is a way to thange the toolpaths folder into the text macro files?
some pyton editor?
or a powerfull text editor?
who knows?
If some had same problem and solved, please inform me.
No Idea on a reasonable solution
thanks a lot
greetings
Danny