the tm1s.cfg file can be created/updated when asked to browse to a folder, browse to the folder containing the tm1s.cfg file TOOL | Alt-F12 | ! | (Windows Explorer) create a shortcut to run a TM1 model as an application Tm1s-original.txt (21.46 KiB) Downloaded 38 times tm1s-produced.txt (1.91 KiB) Downloaded 36 timesĬode: Select all The idea is to get rid of the empty lines too. The result it the new file, which will contain new lines near the bottom. The full script basically manipulates the 'original' file, adds / changes / removes information. I add the 2 files, original and new, but I had to change the extension of cfg into txt to have it uploaded. StringTrimLeft, all, all, 2 Removes first `r`n line If ((tmp!="#" ) and (tmp!="")) if line doesn't start with # and isn't null If( tmp != "#" ) If this line isn't starting with character Msgbox, 4, Confirm, Do you want to delete all lines in the tm1s.cfg file that start with an # or are blank/empty?
0 Comments
Leave a Reply. |